Skip to main content
Configuration only. No code to write.

Before you start

Create a wallet, fund it with USDC on Base, and get an agent key:
The wallet needs USDC only. No ETH is needed because a third-party x402 facilitator pays the gas. Copy the xa_live_ key the last command prints.

Claude Code

The 103 Xenarch tools are now available, including xenarch_check_gate, xenarch_pay, xenarch_pay_link and xenarch_get_history.

Claude Desktop

Edit your config file:
Add the Xenarch server:
The server signs with the wallet the CLI stored in ~/.xenarch/config.json. To use a different wallet, add "XENARCH_PRIVATE_KEY": "0x..." to env. Restart Claude Desktop.

Test it

Try these prompts: Replace the example URL with a page gated by Xenarch.

Troubleshooting

See Installation for every variable and message.