Listing Prompts
Getting a Prompt
Fetch a prompt with arguments to produce formatted messages:MCPPromptProvider
For a higher-level interface:Using Prompts with Agents
Feed prompt content into an agent’s instruction:Prompt Structure
An MCP prompt has:
When resolved, a prompt produces a list of messages with
role and content, ready to be passed to a model.