What is a Model Context Protocol (MCP) prompt?
An MCP prompt is a reusable prompt template an MCP server offers clients, with a name, description and optional arguments; filled in, it produces ready messages for the model. The specification makes prompts user-controlled: users select them deliberately, for example as slash commands.
Unlike a prompt template kept locally in one application, an MCP prompt is published by a server, discovered by clients and usable the same way across applications. Unlike an MCP tool, which the model calls, a prompt is chosen by the user.
- Topic
- Agents and protocols
- Also known as
- MCP prompts
How a Model Context Protocol (MCP) prompt works
- The server declares the prompts capability; the client fetches names, descriptions and arguments with a prompts/list request.
- The host shows prompts to users, for example as slash commands or a menu.
- When a user picks a prompt and fills its arguments, the client sends prompts/get; the server returns messages that can contain text, images or embedded resources.
- These messages go to the model; the server can announce changes to the prompt list.
In more detail
Message roles, multimodal content and embedded resources
In the MCP protocol, 'prompts/get' returns an array of typed messages, each carrying a 'role' ('user' or 'assistant') and multimodal content (text, image, audio or embedded MCP resources). Supporting assistant-role prefill or embedded resource references lets a single slash command prime multi-turn few-shot context and pull authoritative documents into the prompt automatically.
Argument completion and pagination
MCP prompts support argument autocompletion via the 'completion/complete' method and cursor-based pagination ('nextCursor') on 'prompts/list'. Autocompletion lets the host fetch valid argument values dynamically (such as active claim IDs or repository branches) as the user types, reducing input errors before 'prompts/get' is invoked.
Previewing prompt content and the hidden instruction risk
Because an MCP prompt injects messages directly into the conversation without triggering a tool-execution boundary, a malicious or compromised server can embed hidden prompt-injection instructions inside the returned message text or embedded resources. Hosts should display the resolved prompt preview to the user before submission and ensure prompt-returned messages cannot masquerade as trusted system instructions.
Commonly confused terms
| Term | How it differs |
|---|---|
| System prompt | A system prompt is fixed by the host application developer to govern model persona and guardrails; an MCP prompt is discovered dynamically from an external or internal MCP server and injected on user selection as user/assistant messages. |
| MCP elicitation | An MCP prompt provides reusable, parameterised prompt messages chosen by the user to start or steer a task; MCP elicitation is a server-initiated request asking the user for missing structured input mid-execution. |
Why a Model Context Protocol (MCP) prompt matters for on-premises AI
MCP prompts let proven instructions, such as a contract review pattern, be defined centrally and used alike by every team, with changes made once and versioned. Since the server sets prompt content, prompts from untrusted servers may hide instructions steering the model, so prompts are reviewed and arguments validated. The list can vary by the user's authorisation.
An insurer publishes MCP prompts for summarising claim files and drafting customer replies; staff pick the command and enter the file number, so everyone uses the same approved instruction.
Common questions
How does an MCP prompt differ from an MCP tool?
The model calls an MCP tool on its own judgement. A user deliberately selects and fills an MCP prompt.
Why are MCP prompts used?
To define instructions that work well centrally and use them the same way across applications. Changes are made in one place and can be versioned.
Related terms
- Model Context Protocol (MCP) server
- Prompt template
- Model Context Protocol (MCP) client
- Model Context Protocol (MCP) tool
- Model Context Protocol (MCP) resource
- System prompt
Sources
In the glossary: Glossary, M to Q