TheDocumentation Index
Fetch the complete documentation index at: https://docs.getmcp.com/llms.txt
Use this file to discover all available pages before exploring further.
prompts/get method returns the fully rendered content of a prompt template. The server substitutes the provided argument values into the template and returns the result as a messages array ready to inject into a conversation.
MCP Endpoint
Request
Must be
"2.0".Arbitrary request identifier echoed back unchanged in the response.
Must be
"prompts/get".The prompt template name to retrieve (e.g.
"write_product_description"). Must match a name from prompts/list.Key-value pairs for the prompt’s defined arguments. Required arguments must be included or the call returns a validation error.
Response
The prompt’s description as configured.
Array of message objects ready to inject into an AI conversation. Each message has:
role— Either"user"or"assistant"content.type— Always"text"in the current implementationcontent.text— The fully rendered prompt with all{{argument_name}}placeholders substituted
Request Parameters
The name of the prompt to retrieve. Must match a prompt name from
prompts/list.Key-value pairs to substitute into the prompt template. Required arguments (as defined in
prompts/list) must be provided.
