x402 Micro Tollgate
x402 HTTP 402 + MCP paywall: charge USDC per agent call. Self-host via npx or Docker.
Documentation & Preview
{ "mcpServers": { "mcp-x402-micro-tollgate-d6ddf7d510d67846c1e9": { "command": "npx", "args": [ "-y", "--package", "x402-micro-tollgate@0.3.3", "x402-micro-tollgate", "--stdio" ], "env": { "CDP_API_KEY_ID": "${ENV_CDP_API_KEY_ID}", "CDP_API_KEY_SECRET": "${ENV_CDP_API_KEY_SECRET}", "X402_PAY_TO": "${ENV_X402_PAY_TO}", "UPSTREAM_URL": "${ENV_UPSTREAM_URL}", "PRICE": "${ENV_PRICE}", "NETWORK": "${ENV_NETWORK}", "X402_ENVIRONMENT": "${ENV_X402_ENVIRONMENT}" } } }, "setup": { "fields": [ { "id": "ENV_CDP_API_KEY_ID", "label": "CDP_API_KEY_ID", "description": "Coinbase CDP API key ID for the x402 facilitator", "required": false, "secret": true, "default": "" }, { "id": "ENV_CDP_API_KEY_SECRET", "label": "CDP_API_KEY_SECRET", "description": "Coinbase CDP API key secret for the x402 facilitator", "required": false, "secret": true, "default": "" }, { "id": "ENV_X402_PAY_TO", "label": "X402_PAY_TO", "description": "EVM address that receives USDC settlements", "required": false, "secret": false, "default": "" }, { "id": "ENV_UPSTREAM_URL", "label": "UPSTREAM_URL", "description": "Upstream HTTP API to proxy after payment (omit for built-in mock)", "required": false, "secret": false, "default": "" }, { "id": "ENV_PRICE", "label": "PRICE", "description": "Dollar price per paid call, e.g. $0.001", "required": false, "secret": false, "default": "$0.001" }, { "id": "ENV_NETWORK", "label": "NETWORK", "description": "CAIP-2 network id (eip155:84532 Base Sepolia or eip155:8453 Base)", "required": false, "secret": false, "default": "eip155:84532" }, { "id": "ENV_X402_ENVIRONMENT", "label": "X402_ENVIRONMENT", "description": "development or production", "required": false, "secret": false, "default": "development" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.kevin2003050666-coder/x402-micro-tollgate", "registryVersion": "0.3.3", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.kevin2003050666-coder%2Fx402-micro-tollgate/versions/0.3.3", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "x402-micro-tollgate", "version": "0.3.3", "integrity": "sha512-XfZIEr67TqBXwEwC1qQeDG22mDM5vbGxInrj6ZOPmGBHVvQMgRN5Fn07S4QTc6A1TFJpT6sw0cRccaoP/OkTGQ==", "registryNameMatched": "io.github.kevin2003050666-coder/x402-micro-tollgate", "checkedAt": "2026-11-04T17:23:56.639Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }