What are MCP prompts? Reusable server templates
By Flavio
MCP prompts are reusable message templates supplied by a server. See how clients discover them, how Claude Code runs them, and when to use a prompt or tool.
MCP prompts are reusable message templates exposed by an MCP server. A client retrieves a template, supplies its arguments, and adds the resulting messages to a conversation.
For the protocol and a real server walkthrough, read What is MCP?.
How MCP prompts work
The client discovers templates through prompts/list. It requests a particular template with prompts/get, passing any required arguments. The MCP prompt specification describes prompts as user-controlled. The client chooses how to present them.
A template can package a code review request. Running the review can then involve separate tool calls to read source files.
In coding tools
Cursor lists both resources and prompts among its supported MCP capabilities.
The Codex MCP guide documents connecting external tools and information. A dedicated interface for this capability is not documented on that page.
Grok Build’s MCP guide documents external tools. Resource selection and MCP prompt commands are not documented there.
Details checked against each vendor’s documentation in November 2026.
Claude Code lists server prompts as /servername:promptname (MCP). The /mcp__servername__promptname form also runs them.
A concrete example
Anthropic documents this command for a GitHub review prompt:
/mcp__github__pr_review 456
It requires a connected github server exposing pr_review. Discover the commands your server provides by typing /; the example name is not a built-in command available with every GitHub connection.
When to use MCP prompts
Use a server template when several users need the same review or analysis request, with different arguments each time.
For instructions stored alongside a project, see agent skills and rules. For the broader command interface, see slash commands.
Pitfalls
Read a template before relying on it. Server-provided messages can ask the agent to take actions, and a familiar command name tells you little about its contents.
In Claude Code, MCP prompt arguments are split on whitespace. Check the expected parameters before passing a sentence as an argument.
Keep permissions appropriate for any tools the resulting workflow uses. For the distinction between tools, resources, and prompts, return to the MCP guide. Skill Cabinet covers organizing reusable agent skills, a separate source of instructions.
Related glossary entries
- MCP resources: MCP resources expose files, schemas, and other context through a server. Learn how clients read them, how Claude Code references them, and common pitfalls.
- Slash commands: Slash commands are the /name controls inside a coding agent session. How they work in Claude Code, Codex, Cursor and Grok Build, and how to add your own.
- Agent skills: An agent skill is a SKILL.md folder that teaches a coding agent one task. Where Claude Code, Codex, Cursor and Grok Build load it, and when to skip one.
Want me to talk about your product? You can sponsor this site.