Skip to main content
The Xenarch MCP server exposes three tools over the Model Context Protocol. Each is callable by Claude Desktop, Claude Code, or any MCP-compatible agent. Below: full input/output schemas and usage examples.

xenarch_check_gate

Check if a URL or domain has an x402 payment gate. Input: Output (gated):
Output (not gated):

xenarch_pay

Execute a USDC micropayment on Base L2 to access gated content. Input: Output:
Flow:
  1. Checks for active gate (calls xenarch_check_gate internally)
  2. Verifies USDC balance
  3. Approves USDC on the splitter contract
  4. Calls split(collector, amount) on-chain
  5. Submits tx hash to the verify endpoint
  6. Returns access token

xenarch_get_history

List past USDC micropayments made by this wallet. Input: Output: