ADR-0040: MCP Server Transport¶
This ADR is maintained in the repository at docs/adr/ADR-0040-mcp-server-transport.md.
Status¶
Accepted. Supersedes ADR-0017.
Summary¶
Canviq's MCP server ships a plain HTTP transport with JSON request and response bodies. It exposes two routes: POST /api/mcp/tools for tool calls and GET /api/mcp/health for liveness. A request body carries { tool, arguments } and nothing else, a success returns { result, request_id }, and errors follow RFC 7807 Problem Details (application/problem+json). This record replaces the earlier ADR-0017 transport design.