Claude Code + Agent Payments
One Command

MCP-native. 1,703 x402 APIs. 5 free trial calls. Auto-mode ready.

Aug 14 Auto Mode MCP Server x402 v2 No API Key

⚡ Add to Claude Code — one command

Your agent gets 6 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"]}}

1,703
x402 Endpoints
6
MCP Tools
5
Free Trials
$0.01
Starting Price

🛠 6 MCP Tools Your Agent Gets

minia2a_register
Self-custody wallet + 5 free trial calls. No KYC.
minia2a_list_services
Browse 1,703 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 in USDC.
minia2a_check_endpoint
Validate any x402 endpoint for auto-mode readiness.
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 → free trial]
       [calls minia2a_call_service for ETH gas → free trial]

BTC: $67,342 | ETH Gas: 12 Gwei
(2 trial calls used — then pay per call in USDC)
Alternative paths

🔧 Direct HTTP (no MCP needed)

1 Discover

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

2 Try free (5 calls — sign a wallet, no registration)

# sign "minia2a trial:<wallet>:x402-time:<unix_ts>" (EIP-191) -> $SIG
WALLET=0xYOUR_ADDRESS; TS=$(date +%s)
curl -s "https://minia2a.uk/x402/time?wallet=$WALLET" \
  -H "X-Wallet-Signature: $SIG" -H "X-Trial-Timestamp: $TS"

3 Optional — register a name

# sign "minia2a register: <wallet>" (EIP-191) -> $RSIG
curl -X POST https://minia2a.uk/api/v1/register-simple \
  -H "content-type: application/json" \
  -d '{"name":"my-agent","wallet":"0xYOUR_ADDRESS","signature":"0xRSIG"}'

4 Pay per call (USDC)

curl -s "https://minia2a.uk/x402/gas?wallet=0xYOUR_ADDRESS" \
  -H "X-Wallet-Signature: $SIG" -H "X-Trial-Timestamp: $TS"
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 1,703 APIs — no human in the loop.

🧪 Test your endpoint →    🔍 Browse all 1,703 endpoints →    📦 minia2a-mcp on npm →