# MCP Prompt

> The MCP Prompt is a reusable prompt template exposed by an MCP server for users to invoke.

## What is a prompt in MCP?

The prompt template provided by an MCP server, often shown to users as a slash command. Lets a service ship ready workflows, such as 'summarize this ticket', together with its tools.

- Topic: Model Context Protocol
- Type: concept

## Example

Wrong:

```json
{
  "name": "summarize",
  "description": "Summarize"
}
```

Right:

```json
{
  "name": "summarize_ticket",
  "description": "Summarize a support ticket and suggest next steps",
  "arguments": [
    { "name": "ticket_id", "description": "ID of the ticket", "required": true }
  ]
}
```

Declared arguments with descriptions let the client ask the user for values before running the prompt.

## Key points

- Prompt arguments are declared with names and descriptions, so clients can ask the user for them.
- The prompt text inserts arguments as placeholders and does not hide extra instructions.

## Interview questions

### What is the difference between an MCP prompt and a tool?

A prompt is chosen by the user, often as a slash command, and fills a template. A tool is chosen by the model to perform an action.

### How do users run MCP prompts?

Clients usually show them as slash commands or menu items. The client asks for the declared arguments and sends the filled messages to the model.

### Can an MCP prompt include resources?

Yes, the messages a prompt returns can embed resources, so the template arrives with the data it needs.

## Related cards

- [MCP Server](https://wonderium.dev/ai/mcp-server.md)
- [Prompt Template](https://wonderium.dev/ai/prompt-template.md)
- [Slash Commands](https://wonderium.dev/ai/slash-commands.md)

---

- Level: [Artificial Intelligence](https://wonderium.dev/ai.md)
- HTML version: https://wonderium.dev/ai/mcp-prompt
- Last updated: 2026-11-25
