roundhouse-x402
Roundhouse — x402 discovery, identity, and settlement index
Roundhouse is a PLC-listed company based in Singapore (roundhouseai.io). It indexes x402 agent payments and ERC-8004 agent identity, and exposes that data over an open catalog, read-only SQL, and an MCP server. It also runs a first-party x402 facilitator on Base mainnet so payers need USDC only (no ETH for gas).
This skill is for discovery, identity checks, analytics access, and optional facilitator configuration. For general x402 payment wiring (budgets, non-custodial wallets, OKX / agentwallet / upstream packages), use agent-payment-x402 first and treat Roundhouse as one hosted facilitator / index among several.
Disclosure: contributors affiliated with Roundhouse authored this skill. Roundhouse is one option; prefer self-hosted or upstream defaults when they fit.
When to Use
- Find x402 services other agents already pay for (open directory / capability catalog).
- Vet a counterparty wallet or ERC-8004 agent before paying.
- Query the settlement index over REST or read-only SQL.
- Wire the Roundhouse MCP server into Claude Code / Cursor / other MCP clients.
- Use the
rh-x402helper CLI to probe, discover, or call 402-gated URLs. - Point a seller paywall at Roundhouse's facilitator on Base mainnet (optional).
Do not use this skill as a substitute for spending-policy design — keep budgets and allowlists from agent-payment-x402.
How It Works
Surfaces
| Surface | What it is | Auth |
|---------|------------|------|
| Open catalog | Searchable x402 service directory | No key for directory / capability reads |
| REST index | Flows, agents, merchants, graph, feedback | API key for most reads |
| Read-only SQL | POST /v0/sql over public tables | Paid per query (x402) or paid-plan org key |
| MCP server | Same /v0 reads as tools | Same API key gate as REST |
| Facilitator | Verify + settle x402 on Base | Standard x402 wire format; free facilitation |
| Helper CLI | @roundhouseai/x402 (rh-x402) | Local wallet / signer; never paste raw keys |
Key URLs (verified public)
| Purpose | URL |
|---------|-----|
| Site | https://roundhouseai.io |
| Docs | https://roundhouseai.io/docs |
| API docs | https://roundhouseai.io/docs/api |
| Status | https://roundhouseai.io/status |
| Agent quickstart | https://roundhouseai.io/get-started.md |
| Full agent skill (upstream) | https://roundhouseai.io/skill.md |
| Data API base | https://api.roundhouseai.io/v0 |
| Service directory (API) | GET https://api.roundhouseai.io/v0/endpoints?q=<search> |
| Catalog document | https://roundhouseai.io/services.json |
| Capability catalogue | GET https://api.roundhouseai.io/v0/unified |
| Agents (ERC-8004) | GET https://api.roundhouseai.io/v0/agents |
| SQL | POST https://api.roundhouseai.io/v0/sql |
| MCP | POST https://api.roundhouseai.io/v0/mcp |
| MCP docs | https://roundhouseai.io/docs/api/mcp |
| MCP server source | https://github.com/roundhouseai-io/roundhouse-mcp |
| MCP Registry name | io.roundhouseai/roundhouse |
| Facilitator | https://x402.roundhouseai.io |
| Facilitator /supported | https://x402.roundhouseai.io/supported |
| Facilitator guide | https://roundhouseai.io/docs/guides/use-the-roundhouse-facilitator |
| Helper CLI source | https://github.com/roundhouseai-io/x402 |
| Helper CLI package | https://www.npmjs.com/package/@roundhouseai/x402 (npm i -g @roundhouseai/x402@0.6.0, binary rh-x402) |
Anonymous without a key: /v0/unified*, /v0/endpoints (and related catalog docs). Most other /v0 reads need Authorization: Bearer rh_live_…. A $0.01 x402 call to GET /v0/test/x402 issues a short-lived trial key (identity / proof path, not a throughput tier).
MCP config
MCP server source: https://github.com/roundhouseai-io/roundhouse-mcp
Run this before either config. It exits non-zero unless ROUNDHOUSE_API_KEY is an rh_live_ key with at least one character after the prefix (rh_live_ alone is refused):
# Refuse to configure without a real key in the environment
case "${ROUNDHOUSE_API_KEY:-}" in
rh_live_?*) echo "ROUNDHOUSE_API_KEY set" ;;
*) echo "ROUNDHOUSE_API_KEY missing or not an rh_live_ key; refusing to configure" >&2; exit 1 ;;
esac{
"mcpServers": {
"roundhouse": {
"type": "http",
"url": "https://api.roundhouseai.io/v0/mcp",
"headers": { "Authorization": "Bearer ${ROUNDHOUSE_API_KEY}" }
}
}
}Keep the key in an env var — never commit a literal key. Claude Code expands ${VAR} in .mcp.json command, args, env, url, and headers, so the config above works in a project .mcp.json when ROUNDHOUSE_API_KEY is set. An unset ${ROUNDHOUSE_API_KEY} with no default does not stop the file from loading: Claude Code warns and leaves the ${ROUNDHOUSE_API_KEY} text in place (covered credential names in remote headers are read as empty instead). Do not add a ${VAR:-default}. The check above is what refuses a missing or malformed key, so a placeholder is never sent. Prefer this file over passing the header on the claude mcp add command line.
Clients that do not expand env vars in config (for example Claude Desktop) must not put Bearer ${ROUNDHOUSE_API_KEY} in an env block: that block overrides the inherited environment with the literal text, so the bridge never sees the key. Use the client's own secret or input mechanism, or export the full header value in the shell that launches t
