mcp: true in your SellerConfig to expose Key0 as an MCP server. The Express router automatically mounts all MCP routes alongside the existing A2A and x402 HTTP endpoints.
| Route | Method | Purpose |
|---|---|---|
/.well-known/mcp.json | GET | MCP discovery document |
/mcp | POST | Streamable HTTP transport — handles all tool calls |
/mcp | GET | Returns 405 (SSE not supported in stateless mode) |
/mcp | DELETE | Returns 405 (session management not supported) |
For full documentation on the two exposed tools (
discover_plans and request_access), payment flow paths, error handling, curl examples, and architectural rationale, see Protocol → MCP.Connect from Claude Code
Add the seller’s MCP endpoint to.mcp.json in your project root:

