Transport
Mode
Streamable HTTP in JSON-response mode:
- Client POSTs JSON-RPC 2.0 (
Content-Type: application/json) - Server responds with JSON-RPC result/error (or a batch array)
- No long-lived server→client SSE session
Shared protocol core: mcp-protocol.ts (web app + bot-service).
HTTP methods
| Method | Result |
|---|---|
| POST | JSON-RPC handling |
| GET | 405 — MCP endpoint — POST JSON-RPC only |
| Other | 405 |
Notifications → 202
Notification-only POSTs (no JSON-RPC id, typically notifications/*) return:
- HTTP 202
- Empty body
Methods
| Method | Response |
|---|---|
initialize | protocolVersion, capabilities.tools, serverInfo |
ping | {} |
tools/list | { tools: [...] } |
tools/call | MCP tool result content blocks |
notifications/* | No JSON-RPC body; HTTP 202 when alone |
Protocol version: `2025-06-18`.
