{"name":"x402-micropayments","version":"0.1.0","description":"Production MCP server for x402 HTTP micropayments — discover paid services, probe 402 requirements, pay-and-fetch resources, and build/verify seller payment configs.","protocol":"mcp","transport":["stdio","streamable-http","sse"],"capabilities":{"tools":true,"resources":true,"prompts":true},"tools":[{"name":"x402.discover","description":"Discover paid HTTP APIs in the x402 Bazaar via the facilitator catalog. Call this first to find a resource URL, then x402.probe and x402.pay_and_fetch.","tier":"free"},{"name":"x402.probe","description":"Probe a URL for HTTP 402 PAYMENT-REQUIRED terms using the x402 client SDK. Use before x402.pay_and_fetch to inspect price, network, and payTo without spending.","tier":"free"},{"name":"x402.pay_and_fetch","description":"Pay USDC via x402 and fetch a protected HTTP resource in one call. Requires EVM_PRIVATE_KEY on this host; otherwise use x402.probe for a no-spend 402.","tier":"free","requires_env":["EVM_PRIVATE_KEY"]},{"name":"x402.build_seller","description":"Build seller-side x402 payment requirements for your own HTTP resource. Pass resource_url plus discovery_* fields to catalog the endpoint in Bazaar.","tier":"free","requires_env":["X402_PAY_TO_ADDRESS"]},{"name":"x402.verify","description":"Verify an x402 PAYMENT-SIGNATURE against PAYMENT-REQUIRED terms via the facilitator. Call after a buyer presents a signature and before releasing paid content.","tier":"free"},{"name":"x402.networks","description":"List supported settlement networks, facilitators, and x402 v2 header names. Call when choosing a preferred_network for x402.pay_and_fetch or x402.build_seller.","tier":"free"},{"name":"commerce.pro_requirements","description":"Build x402 payment requirements to purchase the Pro quota tier. Next: pay those terms, then commerce.activate_pro with the signature.","tier":"free","requires_env":["X402_PAY_TO_ADDRESS"]},{"name":"commerce.activate_pro","description":"Verify a Pro-tier x402 payment and unlock Pro quota limits for the agent. Call after commerce.pro_requirements and a completed USDC payment.","tier":"free"},{"name":"commerce.credits_requirements","description":"Build x402 payment requirements to buy a pack of per-use MCP tool credits. Next: pay those terms, then commerce.purchase_credits with the signature.","tier":"free","requires_env":["X402_PAY_TO_ADDRESS"]},{"name":"commerce.purchase_credits","description":"Verify an x402 payment and add per-use tool credits to the agent. Call after commerce.credits_requirements and a completed USDC payment.","tier":"free"},{"name":"commerce.stripe_checkout","description":"Create a Stripe Checkout Session for Pro tier or tool credits (fiat rail). Use when the buyer pays by card instead of USDC; webhook fulfills the grant.","tier":"free","requires_env":["STRIPE_SECRET_KEY"]},{"name":"swarm.research","description":"Run the swarm agency: compose a research product from free inputs and list it for resale. Pass allow_paid_inputs=true only when buying upstream x402 services is intended.","tier":"free","requires_env":["EVM_PRIVATE_KEY","X402_PAY_TO_ADDRESS"]},{"name":"swarm.settle","description":"Verify and settle a buyer's x402 payment for a listed composite product and record revenue. Call with product_id plus PAYMENT-SIGNATURE after the buyer pays.","tier":"free"},{"name":"swarm.revenue","description":"Get swarm portfolio revenue intelligence: spend, revenue, LTV:CAC, margins, per-source scores. Call after swarm.research or swarm.settle to inspect realized economics.","tier":"free"},{"name":"pulse.base","description":"Get live Base Network Pulse: base fee, EIP-1559 projection, utilization, USD settlement cost, verdict. Call before settling on Base when you need a settle-now vs hold recommendation.","tier":"free"},{"name":"ops.metrics","description":"Get host OS telemetry: CPU, memory, swap, disk, network, and an ok/warn/critical health verdict. Call to diagnose this MCP host; set include_processes=true for top memory processes.","tier":"free"},{"name":"city.list","description":"List US City Open-Data Compliance Network cities with paid_url, sample_url, and price. Call first, then city.sample, then city.check for the paid address lookup.","tier":"free"},{"name":"city.sample","description":"Get a free fixed-address property compliance sample for one US city code. Use before city.check to validate city_code and response shape without paying.","tier":"free"},{"name":"city.check","description":"Run a paid US city property compliance check via x402 on the same HTTP resource buyers use. Prefer city.sample first. Settles USDC when EVM_PRIVATE_KEY is set; otherwise returns a 402 probe.","tier":"free","requires_env":["EVM_PRIVATE_KEY"]}],"tiers":{"free":{"monthly_quota":500,"rate_limit_per_minute":10,"quota_warning_threshold":0.8,"price_usd":0},"pro":{"monthly_quota":50000,"rate_limit_per_minute":120,"price_usd":29,"price_x402":"$29.00","upgrade_url":"http://localhost:8402/upgrade","payment_tools":["commerce.pro_requirements","commerce.activate_pro"]}},"upgrade_url":"http://localhost:8402/upgrade","payment_rails":{"stripe":{"primary":true,"description":"Fiat card/bank payments via Stripe Checkout","initiation":{"http":"POST /stripe/checkout","mcp_tool":"commerce.stripe_checkout"},"webhook":"/stripe/webhook","requires_env":["STRIPE_SECRET_KEY","STRIPE_WEBHOOK_SECRET"],"configured":false},"x402_coinbase":{"primary":false,"description":"Crypto micropayments via x402 protocol and Coinbase CDP (future/alternate rail)","initiation":{"pro_upgrade":["commerce.pro_requirements","commerce.activate_pro"],"tool_credits":["commerce.credits_requirements","commerce.purchase_credits"]},"facilitator_url":"https://x402.org/facilitator","discovery_url":"https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources","requires_env":["X402_PAY_TO_ADDRESS"],"configured":true}},"x402":{"protocol_version":"v2","default_network":"eip155:8453,solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp,eip155:42161","facilitator_url":"https://x402.org/facilitator","headers":{"payment_required":"PAYMENT-REQUIRED","payment_signature":"PAYMENT-SIGNATURE","payment_response":"PAYMENT-RESPONSE"}},"endpoints":{"manifest":"/.well-known/mcp","health":"/health","upgrade":"/upgrade","stats":"/stats","doctor":"/doctor","probe":"/probe","wallet":"/wallet","events":"/events","ledger_spend":"/ledger/spend","ledger_revenue":"/ledger/revenue","seller_requirements":"/seller/requirements","stripe_checkout":"/stripe/checkout","stripe_webhook":"/stripe/webhook","mcp_sse":"/mcp-sse/sse","mcp_http":"/mcp/mcp"},"connector_url":"https://x402-mcp.onrender.com/mcp/mcp"}