VS Code Integration

Connect VS Code to Clash of Coins checkout with MCP, OpenAPI, and agent-readable docs.

MCP Setup

Use command "pnpm --silent run mcp" with GATEWAY_MCP_BASE_URL=https://x402.clashofcoins.com. Configure your MCP client using the published /mcp.json manifest.

Remote Discovery

Read https://x402.clashofcoins.com/.well-known/mcp, https://x402.clashofcoins.com/.well-known/mcp/server-card.json, https://x402.clashofcoins.com/agents.md, and https://x402.clashofcoins.com/llms.txt before choosing a tool.

Execution Rule

List or quote before buy. If a paid route returns 402, preserve the request body and retry with the protocol payment header. Poll status before duplicate payment attempts.

References