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

Claude Code

claude mcp add xenarch -- npx @xenarch/agent-mcp
Done. The three Xenarch tools are now available.

Claude Desktop

Edit your config file:
~/Library/Application Support/Claude/claude_desktop_config.json
Add the Xenarch server:
{
  "mcpServers": {
    "xenarch": {
      "command": "npx",
      "args": ["@xenarch/agent-mcp"],
      "env": {
        "XENARCH_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY"
      }
    }
  }
}
Restart Claude Desktop.

Test it

Try these prompts:
  • “Check if example.com has a Xenarch payment gate”
  • “Pay for access to example.com and show me the content”
  • “Show my Xenarch payment history”

Testnet

For testing without real funds:
{
  "mcpServers": {
    "xenarch": {
      "command": "npx",
      "args": ["@xenarch/agent-mcp"],
      "env": {
        "XENARCH_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY",
        "XENARCH_NETWORK": "base-sepolia",
        "XENARCH_RPC_URL": "https://sepolia.base.org"
      }
    }
  }
}

Troubleshooting

IssueFix
Tools not appearingRestart Claude Desktop. Run npx @xenarch/agent-mcp in terminal to check for errors.
”No wallet configured”Set XENARCH_PRIVATE_KEY in the env block or create ~/.xenarch/wallet.json.
”Insufficient USDC”Fund your wallet with USDC on Base. Need ~$0.01 ETH for gas too.