MCP protocol message

Receives a JSON-RPC 2.0 message for the MCP protocol server. Returns a JSON-RPC 2.0 response, or null for notifications.

POST
/mcp
AuthorizationBearer <token>

Bearer token authentication. Use your MPilot virtual-key JWT or admin JWT. Virtual keys (prefixed with sk-bf-) can also be passed here.

In: header

jsonrpc?string
Value in"2.0"
method?string
params?object

Empty Object

id?string | integer

Response Body

curl -X POST "https://loading/{AI_GATEWAY_URL}/mcp" \  -H "Content-Type: application/json" \  -d '{}'
{
  "jsonrpc": "2.0",
  "result": {},
  "error": {
    "code": 0,
    "message": "string"
  },
  "id": "string"
}
On this page

On this page

No Headings