v4

latestOpenAPI 3.0.3PostgreSQL Licenseraw.githubusercontent.com2026-08-01192952.2 KB
MCP

Send an MCP JSON-RPC 2.0 request

Accepts a JSON-RPC 2.0 request implementing the Model Context Protocol. Supported methods include initialize, tools/list, tools/call, resources/list, resources/read, prompts/list, and prompts/get. Bearer token authentication is required when auth is enabled.

post/mcp/v1

Request body

{"stackTrail":"components:schemas:JSONRPCRequest:properties:id","oasType":"schema","type":"unknown","description":"A unique request identifier. Can be a string or integer."}
jsonrpc'2.0' required

The JSON-RPC protocol version. Must be "2.0".

method'initialize' | 'tools/list' | 'tools/call' | 'resources/list' | 'resources/read' | 'prompts/list' | 'prompts/get' required

The MCP method to invoke.

paramsobject

Optional parameters for the method.

Response

JSON-RPC 2.0 response.

{"stackTrail":"components:schemas:JSONRPCResponse:properties:id","oasType":"schema","type":"unknown","description":"The request identifier that this response corresponds to."}
jsonrpc'2.0' required

The JSON-RPC protocol version.

{"stackTrail":"components:schemas:JSONRPCResponse:properties:result","oasType":"schema","type":"unknown","description":"The result of the method invocation. Present on success."}