curl --request GET \
--url https://yoursite.com/wp-json/getmcp/v1/servers/1/prompts/2 \
--header 'Authorization: Bearer gmcp_your_api_key'
{
"id": 2,
"server_id": 1,
"name": "summarize_article",
"description": "Summarize an article in a specified style and length",
"arguments": [
{"name": "article_text", "description": "The full article text", "required": true},
{"name": "style", "description": "Summary style", "required": false},
{"name": "max_words", "description": "Maximum word count", "required": false}
],
"template_content": "Summarize the following article in {{style}} format, keeping it under {{max_words}} words:\n\n{{article_text}}",
"server_uuid": "836995ae-1cff-41ec-823e-a4f07ccca3a0",
"created_at": "2025-03-18T10:00:00",
"updated_at": "2025-03-18T10:00:00"
}
Retrieve a single prompt by ID.
curl --request GET \
--url https://yoursite.com/wp-json/getmcp/v1/servers/1/prompts/2 \
--header 'Authorization: Bearer gmcp_your_api_key'
{
"id": 2,
"server_id": 1,
"name": "summarize_article",
"description": "Summarize an article in a specified style and length",
"arguments": [
{"name": "article_text", "description": "The full article text", "required": true},
{"name": "style", "description": "Summary style", "required": false},
{"name": "max_words", "description": "Maximum word count", "required": false}
],
"template_content": "Summarize the following article in {{style}} format, keeping it under {{max_words}} words:\n\n{{article_text}}",
"server_uuid": "836995ae-1cff-41ec-823e-a4f07ccca3a0",
"created_at": "2025-03-18T10:00:00",
"updated_at": "2025-03-18T10:00:00"
}
Documentation Index
Fetch the complete documentation index at: https://docs.getmcp.com/llms.txt
Use this file to discover all available pages before exploring further.
curl --request GET \
--url https://yoursite.com/wp-json/getmcp/v1/servers/1/prompts/2 \
--header 'Authorization: Bearer gmcp_your_api_key'
{
"id": 2,
"server_id": 1,
"name": "summarize_article",
"description": "Summarize an article in a specified style and length",
"arguments": [
{"name": "article_text", "description": "The full article text", "required": true},
{"name": "style", "description": "Summary style", "required": false},
{"name": "max_words", "description": "Maximum word count", "required": false}
],
"template_content": "Summarize the following article in {{style}} format, keeping it under {{max_words}} words:\n\n{{article_text}}",
"server_uuid": "836995ae-1cff-41ec-823e-a4f07ccca3a0",
"created_at": "2025-03-18T10:00:00",
"updated_at": "2025-03-18T10:00:00"
}