Claude Code + Agent Payments
One Command

MCP-native. 306 x402 APIs. 500 free credits. Auto-mode ready.

Aug 14 Auto Mode MCP Server x402 v2 No API Key

⚡ Add to Claude Code — one command

Your agent gets 7 tools: register, discover, call, pay — all from within Claude Code.

claude mcp add minia2a -- npx -y minia2a-mcp

Or add to ~/.claude/.mcp.json: {"minia2a":{"command":"npx","args":["-y","minia2a-mcp"]}}

306
x402 Endpoints
7
MCP Tools
500
Free Credits
$0.01
Starting Price

🛠 7 MCP Tools Your Agent Gets

minia2a_register
Auto-wallet + 500 free credits (~$2.50). No KYC.
minia2a_list_services
Browse 306 services by category or search term.
minia2a_get_service
Price, endpoint, schema, docs for any service.
minia2a_call_service
Call any endpoint. Auto-payment via x402 + credits.
minia2a_credits
Check balance, USDC value, trial status.
minia2a_buy_credits
Top up — 1 USDC = 200 credits on Base.
minia2a_get_stats
Platform stats — services, agents, volume.

💬 What your Claude Code agent can do

Once the MCP server is added, your agent can autonomously discover and pay for APIs:

You: "What's the BTC price and ETH gas right now?"

Claude: [calls minia2a_list_services → finds crypto-price and gas]
       [calls minia2a_call_service for BTC price → 2 credits]
       [calls minia2a_call_service for ETH gas → 2 credits]

BTC: $67,342 | ETH Gas: 12 Gwei
(4 credits spent — you have 496 remaining)
Alternative paths

🔧 Direct HTTP (no MCP needed)

1 Discover

curl -s https://minia2a.uk/api/agent-ready | python3 -m json.tool

2 Try free (15 calls, no wallet)

curl -s https://minia2a.uk/x402/time

3 Register (500 free credits)

curl -X POST https://minia2a.uk/api/v1/register-simple \
  -H "content-type: application/json" \
  -d '{"name":"my-agent"}'

4 Spend credits

curl -s "https://minia2a.uk/x402/gas?wallet=0xYOUR_ADDRESS"
For AI SDK users

🤖 Vercel AI SDK / LangChain / CrewAI

npm install ai-sdk-x402
import { x402Tool } from 'ai-sdk-x402';
const tools = {
  getTime: x402Tool({
    endpoint: 'https://minia2a.uk/x402/time',
    description: 'Get current UTC time',
  }),
};

⏰ Auto Mode Goes Default Aug 14

Your Claude Code agent will make autonomous tool calls. With minia2a-mcp, it can find, try, and pay for 306 APIs — no human in the loop.

🧪 Test your endpoint →    🔍 Browse all 306 endpoints →    📦 minia2a-mcp on npm →