x402 Micro Tollgate
io.github.kevin2003050666-coder/x402-micro-tollgate
v0.3.3Updated Sep 3, 2026stdio · npm
x402 HTTP 402 + MCP paywall: charge USDC per agent call. Self-host via npx or Docker.
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add x402-micro-tollgate -e 'PRICE=$0.001' -e NETWORK=eip155:84532 -e X402_ENVIRONMENT=development -- npx -y [email protected]The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.
Configuration
7 settings.
CDP_API_KEY_IDEnv var· optional· secretCoinbase CDP API key ID for the x402 facilitatorCDP_API_KEY_SECRETEnv var· optional· secretCoinbase CDP API key secret for the x402 facilitatorX402_PAY_TOEnv var· optionalEVM address that receives USDC settlementsUPSTREAM_URLEnv var· optionalUpstream HTTP API to proxy after payment (omit for built-in mock)PRICEEnv var· optionalDollar price per paid call, e.g. $0.001Default:$0.001NETWORKEnv var· optionalCAIP-2 network id (eip155:84532 Base Sepolia or eip155:8453 Base)Default:eip155:84532
Show 1 moreShow fewer
X402_ENVIRONMENTEnv var· optionaldevelopment or productionDefault:development
Links
Listed in the official MCP Registry since Sep 3, 2026. Mirrored daily; last checked Nov 26, 2026.