Pay for any x402-gated content or API with USDC micropayments on Base.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Xenarch is a non-custodial x402 MCP server. AI agents β Claude, Cursor, LangChain, CrewAI β pay for HTTP 402βgated APIs and content with USDC micropayments on Base L2. No API keys, no subscriptions, no credit card on file. The agent wallet never needs ETH; USDC is the only token it ever holds. Payments settle on-chain: agent wallet β publisher wallet, direct. 0% Xenarch fee β there's no Xenarch contract in the money flow.
| Cloudflare Pay-Per-Crawl | Stripe | TollBit | Vercel x402-mcp | Other x402 MCP servers | Xenarch | |
|---|---|---|---|---|---|---|
| Works on any host | Γ (Cloudflare only) | β | Γ (enterprise) | Vercel-first | β | β |
| Non-custodial | Γ | Γ | Γ | platform-routed | varies | β direct USDC transfer |
| Agent needs ETH | n/a | n/a | n/a | varies | varies | β never |
| Fee | platform rate | 2.9% + $0.30 | platform rate | platform rate | varies | 0%, structurally |
| Open standard | proprietary | proprietary | proprietary | x402 | x402 | x402 + pay.json (authored by Xenarch) |
| Publisher monetization | β (Cloudflare-gated) | β (any stack) | β (enterprise only) | Γ | Γ | β (any stack) |
No API keys. No signup. The agent wallet only ever needs USDC β no ETH, no gas coin of any kind. Xenarch never holds funds and there is no Xenarch contract between the agent and the publisher.
29 tools across three groups. Group 1 (discovery & payments) works with just a
wallet. Groups 2 and 3 (control plane + merchant) manage your Xenarch account and
need a SIWE session β run xenarch agent login once (see Account tools auth).
| Tool | Description |
|---|---|
xenarch_check_gate | Check if a URL/domain has an x402 payment gate. Returns the accepted payment requirements β price, asset, network, seller wallet. |
xenarch_pay | Pay for an x402-gated URL. Signs an EIP-3009 USDC transfer, settles on-chain, returns the tx hash and the gated content. |
xenarch_pay_link | Pay a Xenarch pay-link by id (pay.xenarch.com/l/<id>): fetches the envelope, settles USDC on Base, confirms with the link. |
xenarch_get_history | View past payments made by this wallet (totals, per-domain, pagination). |
Caps, scope, kill-switch, and API keys for the operator's agent. Privileged
(loosening) operations require confirm: true; tightening is free.
| Tool | Description |
|---|---|
xenarch_agent_login | Browser-wallet sign-in to the control plane. Returns a link; open it, approve, call again to finish. The 7-day session powers every other xenarch_agent_* tool. |
xenarch_agent_status | Agent profile (name, paused state) + spend summary for a period. Read-only. |
xenarch_agent_get_caps | Read spending caps (per-tx, daily, monthly) + remaining headroom. Read-only. |
xenarch_agent_set_caps | Set caps in USD (none disables an axis). Raising/removing a cap needs confirm: true; tightening is free. |
xenarch_agent_reset_day_cap | Reset today's daily-spend counter to the full daily cap. |
xenarch_agent_get_scope | Read scope: default posture (allow/deny) + the rule list. Read-only. |
xenarch_agent_add_scope_rule | Add an allow/deny rule. deny tightens (free); allow loosens (needs confirm). |
xenarch_agent_remove_scope_rule | Remove a rule by id/prefix. Removing a deny loosens scope (needs confirm). |
xenarch_agent_set_default_scope | Set the posture for unmatched URLs. deny tightens; allow loosens (needs confirm). |
xenarch_agent_pause | Kill switch β block all of the agent's payments immediately. No confirm. |
xenarch_agent_resume | Lift the pause (needs confirm). |
xenarch_agent_list_keys | List the agent's xa_live_ API keys (id, label, last-used, revoked). Never returns plaintext. Read-only. |
xenarch_agent_create_key | Issue a new xa_live_ key (plaintext returned once). Needs confirm. |
xenarch_agent_rotate_key | Rotate a key by id/prefix β invalidates the old secret, returns a new one once. Needs confirm. |
xenarch_agent_revoke_key | Permanently revoke a key by id/prefix. Needs confirm. |
xenarch_agent_get_receipts | List the agent's payment receipts with filters (period, status, source, domain). Read-only. |
Create and manage pay-links, see payments and subscribers, set the merchant profile. Same SIWE session as the control plane.
| Tool | Description |
|---|---|
xenarch_create_link | Create a pay-link. VALIDATE-FIRST: mode:'validate' reports missing fields; then mode:'create' + confirm:true signs + creates. Amount is USDC (max 1.00). |
xenarch_list_links | List the merchant's pay-links (newest first), cursor-paginated. Read-only. |
xenarch_get_link | Get one pay-link's detail (status, params, stats) by id. Read-only. |
xenarch_revoke_link | Revoke a pay-link by id so it can no longer be paid. Needs confirm. |
xenarch_list_payments | List payments received across the merchant's links (newest first), cursor-paginated. Read-only. |
xenarch_list_subscribers | List subscribers across subscription links, with filters (link_id, status, mode). Read-only. |
xenarch_get_merchant_profile | Get the merchant profile (issuer identity, domain-verification status). Read-only. |
xenarch_update_merchant_profile | Update the merchant profile (name, site, email, address, tax id, brand color, logo, payout rhythm). Whole-state upsert. |
xenarch_verify_domain | Verify the merchant's domain via its _xenarch.<site> DNS TXT record. Set the site first via xenarch_update_merchant_profile. |
XENARCH_PRIVATE_KEY) and a control-plane link (XENARCH_API_TOKEN) β the official MCP refuses to pay without the token (XEN-480: an unlinked agent has no caps). A local per-call cap (XENARCH_MAX_PAYMENT_USD, default $1) applies on top of the managed per-tx / daily / monthly caps.xenarch agent login once β it writes a 7-day session_token to ~/.xenarch/config.json, which the MCP server reads automatically. Re-run when it expires, or call xenarch_agent_login directly from your client.XENARCH_API_TOKEN (an xa_live_ agent key) so xenarch_pay is enforced against your managed caps/scope and every MCP payment shows up in the dashboard receipts feed. The dashboard is free β sign in with your wallet at dash.xenarch.dev (just a signature, nothing moves) for per-tx / daily / monthly caps, scope rules, a kill switch, and full history. Without the token, xenarch_pay refuses to pay (fail-closed) so an unlinked agent can't settle uncapped. Note: the dashboard sign-in wallet is your identity β separate from the agent's local spending wallet.xenarch_check_gatexenarch_payxenarch_get_historyHTTP 402 Payment Required is a status code reserved in the HTTP spec since 1997 for machine-to-machine payment. It went unused for decades because there was no open protocol for how a client should pay a 402 response.
x402 is that protocol: a server returns HTTP 402 with a signed price and payment details, the client signs a USDC micropayment on Base L2, and retries the request with proof of payment. Xenarch's MCP server automates both halves for AI agents β it reads the 402 challenge, signs the payment via x402-fetch, and replays the request, returning the on-chain tx hash plus the gated content.
Learn more: the x402 spec defines the payment handshake; pay.json (authored by Xenarch) is the companion open standard for machine-readable pricing served at /.well-known/pay.json β think robots.txt for payments.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/xenarch-mcp)<a href="https://allmcps.com/mcp/xenarch-mcp"><img src="https://allmcps.com/api/badge/xenarch-mcp?style=directory" alt="Xenarch MCP on AllMCPs" /></a>