MCP Server Transport Info

GET/api/mcp

The MCP endpoint only accepts POST. Server-Sent Events streaming is not offered, so a GET request answers with the JSON-RPC "method not found" error telling the client to POST its JSON-RPC 2.0 payloads instead.

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area
curl -X GET "https://yoursite.com/api/mcp" \
  -H "authtoken: YOUR_API_TOKEN"

Response:

HTTP/1.1 405 Method Not Allowed
{
  "jsonrpc": "2.0",
  "error": {
    "code": -32601,
    "message": "Use POST with JSON-RPC 2.0 payloads; SSE streaming is not offered."
  },
  "id": null
}
MethodGET
Path/api/mcp
GroupMCP
Sincev1.0.0
Defined inRestApi/Controllers/McpController.php