VS Code Integration
Connect VS Code to Clash of Coins checkout with MCP, OpenAPI, and agent-readable docs.
MCP Setup
Use command "npm --prefix apps/gateway run mcp" with GATEWAY_MCP_BASE_URL=https://x402.clashofcoins.com. Repository config hint: Use the MCP server command shown below..
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.