io.github.gatefareio
mcp-server
Marketplace of paid HTTP APIs. USDC micropayments via x402 on Base. Non-custodial.
stdioofficialservice
Package Details
@gatefare/mcp
Transportstdio
Environment Variables
WALLET_PRIVATE_KEY
Secret
EVM private key (32 bytes hex). Required for buyer tools (call_api, get_wallet_balance, estimate_cost). Stays on the user's machine.
WALLET_BUDGET_USD
Optional runtime spend cap in USD; call_api throws BUDGET_EXHAUSTED when reached.
WALLET_NETWORK
Default:
eip155:8453Network identifier. Defaults to eip155:8453 (Base mainnet). Use eip155:84532 for Sepolia testnet.
GATEFARE_PAT
Secret
Personal access token (gfpat_...) from gatefare.io/dashboard/tokens. Required for publisher tools (register_api, list_my_apis, update_api, get_revenue, distribute).
GATEFARE_BASE_URL
Default:
https://gatefare.ioOverride the Gatefare base URL (defaults to https://gatefare.io). Useful for self-hosted deployments.