curl --request GET \
--url https://yoursite.com/wp-json/getmcp/v1/servers/1/tools \
--header 'Authorization: Bearer gmcp_your_api_key'
[
{
"id": 1,
"uuid": "e7a3c1d2-4f5b-6a7c-8d9e-0f1a2b3c4d5e",
"server_id": 1,
"name": "get_weather",
"description": "Get current weather for a city",
"endpoint_url": "https://wttr.in/{{city}}?format=j1",
"http_method": "GET",
"input_schema": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "The city name"
}
},
"required": ["city"]
},
"parameter_mapping": {
"city": {"target": "path", "key": "city"}
},
"response_mapping": {
"selector": "",
"format": "json",
"template": ""
},
"headers": null,
"cache_ttl": 300,
"timeout": 30,
"rate_limit_per_min": 60,
"retry_count": 0,
"retry_backoff": "exponential",
"sort_order": 0,
"status": "active",
"tags": [],
"last_tested_at": null,
"last_test_response_ms": null,
"server_uuid": "836995ae-1cff-41ec-823e-a4f07ccca3a0",
"server_hex": "a1b2c3d4e5f6a1b2",
"created_at": "2025-03-01T10:00:00",
"updated_at": "2025-03-01T10:00:00"
}
]
Retrieve all tools configured for a specific server.
curl --request GET \
--url https://yoursite.com/wp-json/getmcp/v1/servers/1/tools \
--header 'Authorization: Bearer gmcp_your_api_key'
[
{
"id": 1,
"uuid": "e7a3c1d2-4f5b-6a7c-8d9e-0f1a2b3c4d5e",
"server_id": 1,
"name": "get_weather",
"description": "Get current weather for a city",
"endpoint_url": "https://wttr.in/{{city}}?format=j1",
"http_method": "GET",
"input_schema": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "The city name"
}
},
"required": ["city"]
},
"parameter_mapping": {
"city": {"target": "path", "key": "city"}
},
"response_mapping": {
"selector": "",
"format": "json",
"template": ""
},
"headers": null,
"cache_ttl": 300,
"timeout": 30,
"rate_limit_per_min": 60,
"retry_count": 0,
"retry_backoff": "exponential",
"sort_order": 0,
"status": "active",
"tags": [],
"last_tested_at": null,
"last_test_response_ms": null,
"server_uuid": "836995ae-1cff-41ec-823e-a4f07ccca3a0",
"server_hex": "a1b2c3d4e5f6a1b2",
"created_at": "2025-03-01T10:00:00",
"updated_at": "2025-03-01T10: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.
836995ae-1cff-41ec-823e-a4f07ccca3a0). Numeric IDs are also accepted for backwards compatibility.active, paused. Leave empty for all.| Header | Description |
|---|---|
X-WP-Total | Total number of tools |
curl --request GET \
--url https://yoursite.com/wp-json/getmcp/v1/servers/1/tools \
--header 'Authorization: Bearer gmcp_your_api_key'
[
{
"id": 1,
"uuid": "e7a3c1d2-4f5b-6a7c-8d9e-0f1a2b3c4d5e",
"server_id": 1,
"name": "get_weather",
"description": "Get current weather for a city",
"endpoint_url": "https://wttr.in/{{city}}?format=j1",
"http_method": "GET",
"input_schema": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "The city name"
}
},
"required": ["city"]
},
"parameter_mapping": {
"city": {"target": "path", "key": "city"}
},
"response_mapping": {
"selector": "",
"format": "json",
"template": ""
},
"headers": null,
"cache_ttl": 300,
"timeout": 30,
"rate_limit_per_min": 60,
"retry_count": 0,
"retry_backoff": "exponential",
"sort_order": 0,
"status": "active",
"tags": [],
"last_tested_at": null,
"last_test_response_ms": null,
"server_uuid": "836995ae-1cff-41ec-823e-a4f07ccca3a0",
"server_hex": "a1b2c3d4e5f6a1b2",
"created_at": "2025-03-01T10:00:00",
"updated_at": "2025-03-01T10:00:00"
}
]