POST /api/glue/projects/{projectSlug}/mcp
A reader uses a customer bearer token when the project requires sign-in. A CI publisher uses its project publishing token. Send JSON-RPC 2.0 requests with Content-Type: application/json. Supported protocol versions are 2025-11-25, 2025-06-18 and 2025-03-26.
After initialize, discover the tools available to the caller and their argument schemas with tools/list.
{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}
result.tools lists the available tools. Invoke one by passing its name and arguments to tools/call.
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_pages","arguments":{}}}
Response. A successful tool call carries its output in result.structuredContent. Check for a protocol error or a tool result with isError: true before using the output.