{"version":1,"name":"clash-of-coins","displayName":"Clash of Coins Checkout","description":"Agentic checkout for Clash of Coins","icon":"https://x402.clashofcoins.com/favicon.png","homepage":"https://x402.clashofcoins.com/","documentationUrl":"https://x402.clashofcoins.com/skill.md","serverCardUrl":"https://x402.clashofcoins.com/.well-known/mcp/server-card.json","oauthAuthorizationServer":"https://x402.clashofcoins.com/.well-known/oauth-authorization-server","oauthProtectedResource":"https://x402.clashofcoins.com/.well-known/oauth-protected-resource","auth":{"publicDiscovery":true,"authentication":{"type":"oauth2","oauthAuthorizationServer":"https://x402.clashofcoins.com/.well-known/oauth-authorization-server","oauthProtectedResource":"https://x402.clashofcoins.com/.well-known/oauth-protected-resource","pkce":{"code_challenge_methods_supported":["S256"]},"scopes":["mcp:read","mcp:tools","x402:checkout","shop:read","shop:buy","sale:buy"]},"paymentAuthorization":{"protocols":["x402","mpp"],"x402RetryHeader":"PAYMENT-SIGNATURE","mppRetryHeader":"Authorization: Payment","mutatingTools":["buy_item","create_agent_order"],"guidance":"Discovery and read-only tools are public. Mutating tools require x402/MPP payment challenge handling and status checks before duplicate retries."}},"instructions":"Use discovery and catalog tools first. Use prepare_purchase or quote_purchase before buying. Purchase tools require x402 or MPP payment challenge handling and status checks before retries.","publisher":{"name":"Clash of Coins","url":"https://x402.clashofcoins.com"},"endpoint":"https://x402.clashofcoins.com/mcp","mcpServers":{"clash-of-coins":{"command":"npm","args":["--prefix","apps/gateway","run","mcp"],"env":{"GATEWAY_MCP_BASE_URL":"https://x402.clashofcoins.com"}}},"service":{"name":"Clash of Coins","description":"Agentic checkout for Clash of Coins","gatewayUrl":"https://x402.clashofcoins.com"},"streamableHttp":{"endpoint":"https://x402.clashofcoins.com/mcp","protocolVersion":"2025-11-25"},"transport":{"type":"stdio","command":"npm","args":["--prefix","apps/gateway","run","mcp"],"shellCommand":"npm run mcp:gateway","workingDirectory":"repository root","cursorConfigPath":".cursor/mcp.json","env":{"GATEWAY_MCP_BASE_URL":"https://x402.clashofcoins.com"}},"capabilities":{"tools":["discover_gateway","list_products","get_catalog","get_item_details","buy_item","prepare_purchase","quote_purchase","check_purchase_status","get_health","get_chain_info","check_wallet_item_status","get_agent_wallet_info","quote_agent_order","create_agent_order","get_agent_order"],"resources":["clash-of-coins://service/discovery","clash-of-coins://service/openapi","clash-of-coins://service/catalog","clash-of-coins://service/openapi-full","clash-of-coins://service/llms-text","clash-of-coins://service/skill","clash-of-coins://service/health"],"prompts":["browse_clash_catalog","prepare_clash_purchase","agent_wallet_purchase","explore_clash_protocols"]},"tools":["discover_gateway","list_products","get_catalog","get_item_details","buy_item","prepare_purchase","quote_purchase","check_purchase_status","get_health","get_chain_info","check_wallet_item_status","get_agent_wallet_info","quote_agent_order","create_agent_order","get_agent_order"],"toolDetails":[{"name":"discover_gateway","description":"Read root discovery metadata for enabled sale, shop, protocol, MCP, and skill surfaces.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"list_products","description":"List filtered sale and shop products from the aggregated anonymous catalog.","inputSchema":{"type":"object","properties":{"surface":{"type":"string","enum":["all","sale","shop"]},"search":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100},"nickname":{"type":"string"},"address":{"type":"string"}},"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"get_catalog","description":"Return a summarized in-game catalog with item identifiers and checkout-facing USD prices.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"get_item_details","description":"Return full catalog metadata for a single itemId, including routing and protocol hints.","inputSchema":{"type":"object","properties":{"itemId":{"type":"string"}},"required":["itemId"],"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"buy_item","description":"Purchase an in-game item for a player through the canonical x402 shop checkout.","inputSchema":{"type":"object","properties":{"nickname":{"type":"string"},"itemId":{"type":"string"}},"required":["nickname","itemId"],"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"paymentRequired":"x402","protectedResource":"/.well-known/oauth-protected-resource"}},{"name":"prepare_purchase","description":"Build the exact surface-specific quote and buy request for a selected catalog item.","inputSchema":{"type":"object","properties":{"catalogId":{"type":"string"},"protocol":{"type":"string","enum":["x402","mpp","xmtp"]},"quantity":{"type":"integer","minimum":1},"beneficiary":{"type":"string"},"nickname":{"type":"string"},"address":{"type":"string"}},"required":["catalogId"],"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"quote_purchase","description":"Quote a prepared sale or shop purchase without settling payment or delivering an item.","inputSchema":{"type":"object","properties":{"catalogId":{"type":"string"},"protocol":{"type":"string","enum":["x402","mpp","xmtp"]},"quantity":{"type":"integer","minimum":1},"beneficiary":{"type":"string"},"nickname":{"type":"string"},"address":{"type":"string"}},"required":["catalogId"],"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"check_purchase_status","description":"Check sale or shop purchase status by payment reference before retrying payment.","inputSchema":{"type":"object","properties":{"paymentReference":{"type":"string"},"protocol":{"type":"string","enum":["x402","mpp"]},"surface":{"type":"string","enum":["sale","shop"]}},"required":["paymentReference"],"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"get_health","description":"Read structured health status across the gateway, sale, shop, and agent wallet surfaces.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"get_chain_info","description":"Read x402 chain, currency, facilitator, and settlement metadata for the shop checkout.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"check_wallet_item_status","description":"Check whether a wallet already has or is receiving a specific shop item.","inputSchema":{"type":"object","properties":{"wallet":{"type":"string"},"itemId":{"type":"string"}},"required":["wallet","itemId"],"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"get_agent_wallet_info","description":"Read agent wallet bootstrap metadata, funding routes, and supported purchase protocols.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"quote_agent_order","description":"Quote an agent-wallet order before creating a payable funding request.","inputSchema":{"type":"object","properties":{"surface":{"type":"string","enum":["sale","shop"]},"protocol":{"type":"string","enum":["x402","mpp"]},"purchaseBody":{"type":"object","additionalProperties":true}},"required":["surface","protocol","purchaseBody"],"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"create_agent_order","description":"Create a new agent-wallet order that can be funded through x402 or MPP. Reuse an explicit idempotencyKey only for retries of the same order creation request.","inputSchema":{"type":"object","properties":{"body":{"type":"object","properties":{"surface":{"type":"string","enum":["sale","shop"]},"protocol":{"type":"string","enum":["x402","mpp"]},"purchaseBody":{"type":"object","additionalProperties":true}},"required":["surface","protocol","purchaseBody"],"additionalProperties":false},"idempotencyKey":{"type":"string"}},"required":["body"],"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"_meta":{"paymentRequired":"x402_or_mpp_funding","protectedResource":"/.well-known/oauth-protected-resource"}},{"name":"get_agent_order","description":"Read an existing agent-wallet order and its funding, settlement, and fulfillment state.","inputSchema":{"type":"object","properties":{"orderId":{"type":"string"}},"required":["orderId"],"additionalProperties":false},"outputSchema":{"type":"object","additionalProperties":true},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}}],"resources":["clash-of-coins://service/discovery","clash-of-coins://service/openapi","clash-of-coins://service/catalog","clash-of-coins://service/openapi-full","clash-of-coins://service/llms-text","clash-of-coins://service/skill","clash-of-coins://service/health"],"prompts":["browse_clash_catalog","prepare_clash_purchase","agent_wallet_purchase","explore_clash_protocols"],"discovery":{"root":"/","openapi":"/openapi.json","openapiFull":"/openapi.full.json","catalog":"/catalog","resources":"/discovery/resources","skill":"/skill.md","wellKnownSkillsIndex":"/.well-known/skills/index.json","publishedRouterSkill":"/skills/clashofcoins-universal/SKILL.md","publishedRouterSkillAliases":["/skills/SKILL.md","/skills/clashofcoins-universal/skill.md","/skills/clashofcoins-universal","/skills/clashofcoins/SKILL.md","/skills/clashofcoins/skill.md","/skills/clashofcoins"],"publishedRouterSkillBundle":{"entrypoint":"/skills/clashofcoins-universal/SKILL.md","aliases":["/skills/SKILL.md","/skills/clashofcoins-universal/skill.md","/skills/clashofcoins-universal","/skills/clashofcoins/SKILL.md","/skills/clashofcoins/skill.md","/skills/clashofcoins"],"openaiConfigPath":"/skills/clashofcoins-universal/agents/openai.yaml","referencesPath":"/skills/clashofcoins-universal/references/","scriptsPath":"/skills/clashofcoins-universal/scripts/","evalsPath":"/skills/clashofcoins-universal/evals/"},"agentcashValidatorSkill":"/agentcash-validator-skill.md","skillsIndex":"/skills/index.json","shopRoot":"/shop"}}