xenarch-mcp — Claude Code MCP server: what it does and how to install
xenarch-mcp enables AI agents to handle HTTP 402 micropayments with USDC on Base L2. Lets tools pay sellers directly without custodial middlemen.
no license 974 installs updated 2026-04-11
claude mcp add --transport http xenarch-mcp https://xenarch-mcp--xenarch.run.toolsWhat xenarch-mcp does
This server implements the x402 protocol so agents can pay for gated resources on the fly. When a server returns HTTP 402 Payment Required, the agent inspects payment requirements through xenarch_check_gate. It signs an EIP-3009 transfer authorization, settles on Base L2, and fetches the payload immediately via xenarch_pay. Settlements go straight to seller wallets.
Operators manage spending through strict caps and domain scopes. You can define per-transaction, daily, and monthly limits. Without USDC in the local agent wallet, gated calls will fail. Loosening any restriction or raising budget ceilings requires setting confirm: true.
The server also supports merchant tools. Through SIWE dashboard authentication, agents can mint pay-links, track incoming subscriber revenue, and verify domains via DNS records.
What it helps with
- pay for HTTP 402 paywalled endpoints using USDC on Base L2
- inspect gate pricing and recipient wallets before settling
- restrict agent spending caps per transaction, day, or month
- generate and revoke merchant payment links or subscription plans
Example prompts for the agent
- Check the local agent wallet address and USDC balance using
xenarch_wallet_status. - Inspect gate conditions and pricing for the target endpoint via
xenarch_check_gate. - Set a daily spend cap of 15 dollars using
xenarch_agent_set_caps.
How to install xenarch-mcp
Platform CLI: remote server
claude mcp add --transport http xenarch-mcp https://xenarch-mcp--xenarch.run.toolsPlatform CLI: remote server
codex mcp add xenarch-mcp --url https://xenarch-mcp--xenarch.run.toolsConfig file
{
"mcpServers": {
"xenarch-mcp": {
"url": "https://xenarch-mcp--xenarch.run.tools"
}
}
}Config file
{
"servers": {
"xenarch-mcp": {
"type": "http",
"url": "https://xenarch-mcp--xenarch.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http xenarch-mcp https://xenarch-mcp--xenarch.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about xenarch-mcp
How to install xenarch-mcp in Claude Code?
Run claude mcp add --transport http xenarch-mcp https://xenarch-mcp--xenarch.run.tools in your terminal.
What does xenarch-mcp do?
It allows coding agents to pay for HTTP 402 gated web services using direct USDC micropayments on the Base L2 network.
Why do some cap adjustments require confirm true?
Any change that raises a limit, removes a restriction, or lifts an agent pause requires confirm: true to prevent unintended budget leaks.