TTypeScript SDKSource ↗
Register prompts with McpServer.registerPrompt ; wrap argument schemas with completable(...) for autocompletion. The client lists prompts, completes the language argument, and renders one with getPrompt() .

prompts

Register prompts with McpServer.registerPrompt; wrap argument schemas with completable(...) for autocompletion. The client lists prompts, completes the language argument, and renders one with getPrompt().

pnpm tsx examples/prompts/client.ts

Source: examples/prompts/README.md

Generated by smolify with deterministic-repository-import-v1 · 1 source file
prompts — TypeScript SDK · Smolify