Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 273 Bytes

File metadata and controls

7 lines (5 loc) · 273 Bytes

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