The Xenarch MCP server (Documentation Index
Fetch the complete documentation index at: https://docs.xenarch.com/llms.txt
Use this file to discover all available pages before exploring further.
@xenarch/agent-mcp) gives AI agents three tools to discover, pay for, and track x402-gated content. It handles wallet management, on-chain USDC payments, and access token retrieval.
What is an MCP server?
The Model Context Protocol (MCP) is an open standard from Anthropic that lets AI agents access external tools. An MCP server exposes a set of tools over stdio or HTTP; agents (like Claude Desktop and Claude Code) call them as needed. The Xenarch MCP server exposes x402 payment tools — check a gate, pay in USDC on Base, retrieve payment history — so any MCP-compatible agent can autonomously pay for gated APIs and content.What it does
| Tool | Description |
|---|---|
xenarch_check_gate | Check if a URL or domain has a payment gate. Returns price, contract details, and payment instructions. |
xenarch_pay | Execute a USDC micropayment on Base L2 and return a Bearer access token. |
xenarch_get_history | List past payments with tx hashes, amounts, and timestamps. |
Supported MCP clients
- Claude Desktop
- Claude Code
- Any MCP-compatible client (Cursor, Cline, etc.)
Quick setup
How agents use it
An agent with the Xenarch MCP server can:- Discover: “Check if example.com has a paywall” → calls
xenarch_check_gate - Pay: “Pay for access” → calls
xenarch_pay, sends USDC on Base - Access: Uses the returned Bearer token to fetch gated content
- Review: “Show my payment history” → calls
xenarch_get_history