Home / Market / x402 Universal Payer

x402 Universal Payer

Pay any x402 endpoint on the open web: auto-paying bridge with Bazaar discovery and spend caps.

mcp★ 28958 dlnpmMIT configuration; upstream Apache-2.0Install in CosmosUpstream Source

Documentation & Preview

{ "mcpServers": { "mcp-x402-bridge": { "command": "npx", "args": [ "-y", "--package", "@three-ws/mcp-bridge@1.0.2", "x402-mcp-bridge" ], "env": { "MCP_BRIDGE_EVM_PRIVATE_KEY": "${ENV_MCP_BRIDGE_EVM_PRIVATE_KEY}", "MCP_BRIDGE_SVM_PRIVATE_KEY": "${ENV_MCP_BRIDGE_SVM_PRIVATE_KEY}", "MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMIC": "${ENV_MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMIC}", "MCP_BRIDGE_MAX_TOTAL_ATOMIC": "${ENV_MCP_BRIDGE_MAX_TOTAL_ATOMIC}", "MCP_BRIDGE_ALLOWED_PAYTO": "${ENV_MCP_BRIDGE_ALLOWED_PAYTO}", "MCP_BRIDGE_ALLOWED_HOSTS": "${ENV_MCP_BRIDGE_ALLOWED_HOSTS}", "MCP_BRIDGE_ALLOW_HTTP": "${ENV_MCP_BRIDGE_ALLOW_HTTP}", "MCP_BRIDGE_DISCOVER_LIMIT": "${ENV_MCP_BRIDGE_DISCOVER_LIMIT}", "MCP_BRIDGE_BAZAAR_URL": "${ENV_MCP_BRIDGE_BAZAAR_URL}", "MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIER": "${ENV_MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIER}", "MCP_BRIDGE_MAX_DEPOSIT_ATOMIC": "${ENV_MCP_BRIDGE_MAX_DEPOSIT_ATOMIC}", "X402_MCP_BRIDGE_CHANNELS_DIR": "${ENV_X402_MCP_BRIDGE_CHANNELS_DIR}", "RPC_URL_8453": "${ENV_RPC_URL_8453}" } } }, "setup": { "fields": [ { "id": "ENV_MCP_BRIDGE_EVM_PRIVATE_KEY", "label": "MCP_BRIDGE_EVM_PRIVATE_KEY", "description": "0x-prefixed 32-byte hex private key that funds USDC payments on EVM chains (Base, Arbitrum, …). At least one of the EVM/SVM keys is required. Treat like cash — use a dedicated low-balance wallet.", "required": false, "secret": true, "default": "" }, { "id": "ENV_MCP_BRIDGE_SVM_PRIVATE_KEY", "label": "MCP_BRIDGE_SVM_PRIVATE_KEY", "description": "Solana secret key that funds USDC payments: base58 64-byte secret key (Phantom / solana-keygen format) or a JSON array of 64 integers. At least one of the EVM/SVM keys is required. Treat like cash.", "required": false, "secret": true, "default": "" }, { "id": "ENV_MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMIC", "label": "MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMIC", "description": "Per-call spending cap in atomic units (USDC has 6 decimals). Payments above this abort with a clear reason.", "required": false, "secret": false, "default": "100000" }, { "id": "ENV_MCP_BRIDGE_MAX_TOTAL_ATOMIC", "label": "MCP_BRIDGE_MAX_TOTAL_ATOMIC", "description": "Cumulative session spending ceiling in atomic units. Once total spend would exceed it, further payments abort until restart.", "required": false, "secret": false, "default": "1000000" }, { "id": "ENV_MCP_BRIDGE_ALLOWED_PAYTO", "label": "MCP_BRIDGE_ALLOWED_PAYTO", "description": "Comma-separated payee allowlist. When set, any payment whose payTo address is not listed is refused.", "required": false, "secret": false, "default": "" }, { "id": "ENV_MCP_BRIDGE_ALLOWED_HOSTS", "label": "MCP_BRIDGE_ALLOWED_HOSTS", "description": "Comma-separated hostname allowlist for outbound paid requests. When set, any other host is refused before a request is signed.", "required": false, "secret": false, "default": "" }, { "id": "ENV_MCP_BRIDGE_ALLOW_HTTP", "label": "MCP_BRIDGE_ALLOW_HTTP", "description": "Set to 1 to allow http:// targets (local development only). https is enforced otherwise.", "required": false, "secret": false, "default": "0" }, { "id": "ENV_MCP_BRIDGE_DISCOVER_LIMIT", "label": "MCP_BRIDGE_DISCOVER_LIMIT", "description": "Max number of x402 Bazaar resources to register as dynamic tools at startup. Set 0 to disable discovery.", "required": false, "secret": false, "default": "20" }, { "id": "ENV_MCP_BRIDGE_BAZAAR_URL", "label": "MCP_BRIDGE_BAZAAR_URL", "description": "x402 Bazaar discovery endpoint. Override to point at a self-hosted or alternative bazaar.", "required": false, "secret": false, "default": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources" }, { "id": "ENV_MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIER", "label": "MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIER", "description": "How many request-amounts to deposit at once when opening an EVM batch-settlement channel.", "required": false, "secret": false, "default": "5" }, { "id": "ENV_MCP_BRIDGE_MAX_DEPOSIT_ATOMIC", "label": "MCP_BRIDGE_MAX_DEPOSIT_ATOMIC", "description": "Hard cap in atomic units on a single batch-settlement channel deposit or top-up.", "required": false, "secret": false, "default": "5000000" }, { "id": "ENV_X402_MCP_BRIDGE_CHANNELS_DIR", "label": "X402_MCP_BRIDGE_CHANNELS_DIR", "description": "Directory for persisted batch-settlement channel state (survives client restarts).", "required": false, "secret": false, "default": "~/.x402-mcp-bridge/channels" }, { "id": "ENV_RPC_URL_8453", "label": "RPC_URL_8453", "description": "Per-chain RPC override, one variable per chain id (RPC_URL_<chainId>, e.g. RPC_URL_8453 for Base). Defaults to viem's public RPC for that chain.", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.nirholas/x402-bridge", "registryVersion": "1.0.2", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.nirholas%2Fx402-bridge/versions/1.0.2", "repository": "nirholas/three.ws", "sourceCommit": "7d9dd459db561b6ad025c8e233591c97ff92ab4c", "namespaceRepositoryOwnerMatched": true, "package": { "registry": "npm", "identifier": "@three-ws/mcp-bridge", "version": "1.0.2", "integrity": "sha512-h+gxVhxHkyPsH3IzNFws/MbVdt9iLUhpdUTJeFyTTqNFSyHY9QwhSAqFTWXQEVmzQPD+hB/Jz6ZViXd9DjcHdA==", "packageRepositoryMatched": true, "checkedAt": "2026-10-21T00:57:41.975Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }