What is a Prompt?
Prompts in GetMCP are reusable prompt templates that AI clients can retrieve and use via the MCPprompts/get method. They let you define structured instructions, system prompts, or workflow templates that AI clients can populate with runtime arguments.
Unlike tools (which call external APIs) or resources (which provide data), prompts provide instruction templates that guide how the AI should behave or structure its output.
Use Cases
- Standardized system prompts: Define how the AI should introduce itself or behave in a specific context
- Workflow templates: Multi-step instructions for complex tasks (e.g., “Write a product description given these fields”)
- Format instructions: Tell the AI how to format its output for a specific use case
- Domain-specific prompts: Context-rich instructions for specialized domains (legal, medical, technical)
Prompt Properties
| Property | Description |
|---|---|
| Name | Machine-readable identifier (e.g., write_product_description) |
| Description | What this prompt does; used by AI clients for discovery |
| Arguments | Typed parameters the AI must/can provide when requesting the prompt |
| Template Content | The prompt text with {{argument_name}} placeholders |
Prompt Arguments
Each prompt can define typed arguments with the following properties:| Property | Type | Description |
|---|---|---|
name | string | Argument identifier |
description | string | What this argument is for |
required | boolean | Whether the argument must be provided |
write_product_description prompt:
Template Content
The template is the prompt text with{{argument_name}} placeholders that get replaced with the actual values when the prompt is retrieved:
Creating a Prompt
MCP Protocol
Prompts integrate with the standard MCP protocol methods:prompts/list— Returns all prompts for the server (name, description, arguments schema)prompts/get— Returns the rendered prompt content with provided argument values substituted
prompts/get, it passes the argument values and receives back the fully rendered prompt text ready to use.