How do users discover and trigger MCP prompts in a CLI?
Using MCP Prompts in a Client Application
Audio flashcard · 0:29Nortren·
How do users discover and trigger MCP prompts in a CLI?
0:29
Once prompts are implemented in the client, you test them through the command line interface. When the user types a slash, the available prompts appear as commands in a menu. Selecting a prompt like format will then prompt the user to choose from available documents. After they pick a document, the client sends the complete, interpolated prompt to Claude. The model receives both the formatting instructions and the document ID, then uses the available tools to fetch and process the content. From the user's point of view, it is just two quick selections, but underneath, the prompt and tool primitives are working together.
modelcontextprotocol.io