MCP directory
PM

Pay Mcp

by vauban.tech · v0.19.0 · updated Oct 23, 2026

x402 pay tools for MCP clients, plus a `buy` command: read the offer, consent, pay. Starknet, Base.

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @vauban-pay/[email protected]

Environment variables

  • STARKNET_RPC_URL

    Starknet RPC endpoint. Optional. The buy command contacts no node unless you name one (a Starknet mainnet node; the chain it serves must then be the offer's). The chain-reading tools default to a public node not operated by Vauban.

  • PAY_MCP_SEPOLIA_ACCOUNT_ADDRESS

    Starknet Sepolia account address for make_payment signer mode. Optional; without it make_payment uses the sponsored mode, which calls the sponsor over the network and settles a real Sepolia transfer it funds.

  • PAY_MCP_SEPOLIA_PRIVATE_KEYsecret

    Private key for that account. Optional; never required to try the tools.

  • PAY_MCP_STANDARD_X402_PAYEES

    Standard x402 path (Starknet): comma-separated payTo addresses pay_for_resource may pay. Empty pays nobody (fail closed). * pays any payee: avoid it.

  • PAY_MCP_STANDARD_X402_MAX_WEI

    Standard x402 path: cap on one payment in atomic units (default 0.1 STRK).

  • PAY_MCP_STANDARD_X402_ACCOUNT_ADDRESS

    Standard x402 path: a signer of its own (falls back to PAY_MCP_SEPOLIA_*).

  • PAY_MCP_STANDARD_X402_PRIVATE_KEYsecret

    Private key for that account. Optional.

  • PAY_MCP_EVM_KEYSTORE_PATH

    EVM path: path to your Web3 Secret Storage v3 keystore. Never a key in the environment.

  • PAY_MCP_EVM_PASSWORD_PATH

    EVM path: path to the file holding that keystore's password.

  • PAY_MCP_EVM_NETWORKS

    EVM path: comma-separated CAIP-2 networks pay_for_resource may pay on, e.g. eip155:84532. Empty pays nothing (fail closed).

  • PAY_MCP_EVM_PAYEES

    EVM path: comma-separated payTo addresses pay_for_resource may pay. Empty pays nobody (fail closed). * pays any payee, up to the session cap: avoid it.

  • PAY_MCP_EVM_MAX_PER_PAYMENT

    EVM path: cap on one payment, in atomic units of the asset (1000000 = 1 USDC). No default: unset refuses.

  • PAY_MCP_EVM_MAX_PER_SESSION

    EVM path: cap on the total value of the signed authorizations this process hands over, per network and asset, never credited back. No default: unset refuses.

  • PAY_MCP_EVM_I_ACCEPT_MAINNET_SPEND

    EVM path: comma-separated CAIP-2 value networks you consent to spend real money on, each named (e.g. eip155:8453). Required for any network other than Base Sepolia and Ethereum Sepolia.

  • PAY_MCP_EVM_ASSETS

    EVM path: comma-separated <CAIP-2>/<token address> entries payable. Default: the network's known USDC only.

More MCP servers