curl --request GET \
--url https://yoursite.com/wp-json/getmcp/v1/servers/1/resources/3 \
--header 'Authorization: Bearer gmcp_your_api_key'
{
"id": 3,
"server_id": 1,
"uri": "docs://tool-guide",
"name": "Tool Usage Guide",
"description": "Instructions for using weather tools effectively",
"mime_type": "text/markdown",
"data_source_type": "static",
"data_source_config": {
"content": "# Weather Tools Guide\n\nUse `get_weather` for current conditions..."
},
"template_uri": null,
"server_uuid": "836995ae-1cff-41ec-823e-a4f07ccca3a0",
"created_at": "2025-03-18T10:00:00Z",
"updated_at": "2025-03-18T10:00:00Z"
}
Resources
Get Resource
Retrieve a single resource by ID.
GET
/
wp-json
/
getmcp
/
v1
/
servers
/
{server_id}
/
resources
/
{id}
curl --request GET \
--url https://yoursite.com/wp-json/getmcp/v1/servers/1/resources/3 \
--header 'Authorization: Bearer gmcp_your_api_key'
{
"id": 3,
"server_id": 1,
"uri": "docs://tool-guide",
"name": "Tool Usage Guide",
"description": "Instructions for using weather tools effectively",
"mime_type": "text/markdown",
"data_source_type": "static",
"data_source_config": {
"content": "# Weather Tools Guide\n\nUse `get_weather` for current conditions..."
},
"template_uri": null,
"server_uuid": "836995ae-1cff-41ec-823e-a4f07ccca3a0",
"created_at": "2025-03-18T10:00:00Z",
"updated_at": "2025-03-18T10:00:00Z"
}
Path Parameters
The numeric ID of the server.
The numeric ID of the resource.
curl --request GET \
--url https://yoursite.com/wp-json/getmcp/v1/servers/1/resources/3 \
--header 'Authorization: Bearer gmcp_your_api_key'
{
"id": 3,
"server_id": 1,
"uri": "docs://tool-guide",
"name": "Tool Usage Guide",
"description": "Instructions for using weather tools effectively",
"mime_type": "text/markdown",
"data_source_type": "static",
"data_source_config": {
"content": "# Weather Tools Guide\n\nUse `get_weather` for current conditions..."
},
"template_uri": null,
"server_uuid": "836995ae-1cff-41ec-823e-a4f07ccca3a0",
"created_at": "2025-03-18T10:00:00Z",
"updated_at": "2025-03-18T10:00:00Z"
}
⌘I

