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.
Base URL
All admin REST API endpoints are under the GetMCP namespace:yoursite.com with the domain of the WordPress site where GetMCP is installed.
Authentication
The GetMCP admin API uses API key authentication. Every request must include your API key in theAuthorization header.
Generating Your API Key
Key Format
GetMCP API keys use 32-character hex string:Example Request
Response Format
All responses are JSON. Successful list endpoints return an array. Single-item endpoints return an object. Pagination metadata is returned in response headers:X-WP-Total— Total number of itemsX-WP-TotalPages— Total number of pages
Error Responses
Errors follow this format:Common Error Codes
| Code | HTTP Status | Description |
|---|---|---|
rest_forbidden | 403 | Invalid or missing API key |
getmcp_not_found | 404 | Resource not found |
getmcp_create_failed | 500 | Failed to create resource |
getmcp_update_failed | 500 | Failed to update resource |
getmcp_delete_failed | 500 | Failed to delete resource |
getmcp_missing_curl | 400 | cURL import: missing command |
getmcp_invalid_params | 400 | Invalid parameters |
Two URL Spaces
GetMCP has two distinct URL spaces — do not confuse them:| Purpose | Base URL | Auth |
|---|---|---|
| MCP Protocol (AI clients connect here) | https://yoursite.com/mcp/{slug}/{id} | MCP API key or none |
| Admin REST API (manage configuration) | https://yoursite.com/wp-json/getmcp/v1/ | GetMCP API key |


