mcp

MCP transport (JSON-RPC)

Stateless Model Context Protocol endpoint (JSON-RPC 2.0). Methods: initialize, ping, tools/list, tools/call. Gated by the same Bearer-key auth as /v1; tools read data as the caller's plan.

post/mcp

Request

  • Base URL: https://modelglass-api.vercel.app
  • URL: https://modelglass-api.vercel.app/mcp
  • Auth: HTTP bearer

Request body

jsonrpc'2.0' required
methodstring required
paramsobject

Example request

{
  "method": "tools/list"
}

Response

JSON-RPC result or error envelope.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.