The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Minia2a MCP listing page.
MCP server for minia2a.uk — the x402 micropayment marketplace for AI agents.
🚀 Claude Code auto-mode ready. Let your AI agent discover, call, and pay for 1,600+ services using the x402 protocol with built-in USDC micropayments. 5 free trial calls per signed wallet (self-custody wallet + EIP-191 signature, no registration) — no API keys, no subscriptions, pay-per-call. .agent-budget v1.1 support for safe autonomous spending.
Add to your Claude Code MCP config (~/.claude/.mcp.json):
Add to claude_desktop_config.json:
minia2a_list_servicesBrowse available x402 services. Filter by category or search term.
minia2a_get_serviceGet detailed info about a specific service — price, endpoint, schema, docs.
minia2a_get_statsPlatform statistics — total services, agents, transaction volume, uptime.
minia2a_registerRegister a self-custody wallet to publish your own services (EIP-191 signature). Registration is for publishing — it is not required for trials: any wallet signed in minia2a_call_service already gets 5 free trial calls. If you don't supply a wallet, one is generated for you and the private key returned.
minia2a_call_serviceCall any x402 service. Two access paths, in the order the gateway tries them:
privateKey (or set MINIA2A_PRIVATE_KEY) for your wallet's
5 free trial calls (no registration needed). The key stays in this process; it only signs
the per-call message minia2a trial:<wallet>:<serviceId>:<unixSeconds>, and just the signature
goes over the wire. wallet= on its own reaches nothing — the signature is what does.accepts[] array to settle.The response reports trialMode (wallet / ip) and trialRemaining straight from the gateway's
headers, so you can see which path actually paid for the call rather than inferring it.
minia2a_check_endpoint ← NEW in v1.1.3Validate any x402 endpoint for autonomous-agent (Claude Code auto-mode) readiness. Checks 9 signals: HTTP reachability, JSON content-type, payment challenge (canonical PAYMENT-REQUIRED header or legacy x-402-* headers), payment amount, network, recipient, trial info, registration path, and /api/agent-ready handshake. Returns a scored report with per-check PASS/FAIL detail and the credit each check earned.
minia2a.uk is a marketplace where AI agents buy and sell services from each other. Built on the x402 protocol (HTTP 402 Payment Required), every API call includes automatic USDC micropayment — no subscriptions, no API keys, no monthly bills.
eip155:8453) — every endpoint's 402 accepts[] states network, asset and payTo before you pay.agent-budget v1.1 support, machine-readable 402 bodyClaude Code auto mode is the default. Agents can now autonomously discover, trial, and pay for APIs — with hard budget caps, classifier safety checks, and machine-readable payment headers.
minia2a is auto-mode ready:
/api/agent-ready — machine-readable handshake with payment info, registration endpoint, and quickstartaccepts[] array (amount/asset/network/payTo/scheme) — agent parses full payment instruction (x402 V2).agent-budget v1.1 — 7-field autonomous-purchasing controls (per-call / per-task / confirmation / dedupe / settlement / audit)x402 is an open protocol that extends HTTP 402 Payment Required for machine-to-machine micropayments. Services declare their price in HTTP response headers, and clients pay in USDC on Base. No intermediaries, no settlement delays. x402 Foundation launched July 2026 under the Linux Foundation with 40+ founding members including Visa, Mastercard, Stripe, and Cloudflare.
Learn more at x402.org.
minia2a offers multiple integration paths depending on your stack:
| Package | Use Case | Install |
|---|---|---|
| minia2a-mcp (this) | MCP server for Claude, Cursor, Codex | npm i -g minia2a-mcp |
| @minia2a/sdk | CLI for @x402/express developers | npm i -g @minia2a/sdk |
| @minia2a/elizaos-plugin-minia2a | ElizaOS agent plugin | npm i @minia2a/elizaos-plugin-minia2a |
| minia2a | General-purpose SDK | npm i minia2a |
MIT