Protocol & Developer Docs
M2MCent x402 V2 Technical Documentation
Machine-to-machine deterministic execution gateway over HTTP 402 and Streamable HTTP MCP on Base Mainnet (Chain ID 8453). Zero credit cards, zero custodial lock-in.
01
Discover & Inspect
Query /.well-known/mcp or POST /mcp (tools/list) to inspect JSON Schemas and live per-call USDC pricing.
02
FreeTrial & Dry-Run
Test any node with ?dryRun=true ($0.00) or ?freeTrial=true (live response, 2 calls per IP/24h) before spending USDC.
03
Pay & Execute
Send a Base64 EIP-3009 Payment-Signature header per call or authenticate with a prepaid m2m-pass-... Bearer token.
Canonical API & MCP Endpoints
EXECUTE: https://api.m2mcent.com/<node-id>/api/process
MCP STREAMABLE HTTP: https://api.m2mcent.com/mcp
SCHEMA: https://api.m2mcent.com/<node-id>/schema
OPENAPI 3.1: https://m2mcent.com/openapi.json | https://api.m2mcent.com/api/v1/tools
x402 Challenge & Payment Examples
# 1. Free dry-run validation ($0.00)
curl -X POST https://api.m2mcent.com/adsb-flight-tracker-mcp/api/process?dryRun=true \
-H "Content-Type: application/json" \
-d '{"callsign":"AAL100"}'
# 2. Execute with EIP-3009 Base64 Payment-Signature header
curl -X POST https://api.m2mcent.com/adsb-flight-tracker-mcp/api/process \
-H "Content-Type: application/json" \
-H "Payment-Signature: <BASE64_X402_V2_EIP3009_PAYLOAD>" \
-d '{"callsign":"AAL100"}'
# 3. Execute with Prepaid m2m-pass Bearer Token (funded from $0.50 USDC)
curl -X POST https://api.m2mcent.com/gas-pulse-mcp/api/process \
-H "Authorization: Bearer m2m-pass-..." \
-H "Content-Type: application/json" \
-d '{}'