
Mcp Server
Gives your AI agent access to Gatefare's catalog of paid HTTP APIs with USDC micropayments settling on Base via the x402 standard. Discovery tools let you search and filter APIs by price or category without a wallet. Add a private key and you get buyer tools that handle the full payment flow: estimate costs, check your balance, and make paid calls where the server signs EIP-3009 transfers locally and retries after 402 challenges. Publisher tools require a personal access token and let you register new APIs, update pricing, check revenue, and trigger on-chain payouts. The wallet budget cap is a runtime safety net, and all signing happens client-side so your key never leaves the machine. If you're building a backend integration instead of an agent workflow, you want Coinbase's x402 SDKs directly.
- tools
- 13
- auth
- Secret needed
- transport
- STDIO
- env vars
- 5
- last updated
- May 25, 2026
Tools
13 toolsPublic tool metadata for what this MCP can expose to an agent.
gatefare.search_apisFull-text search the catalog with filters (price, category, sort)
Full-text search the catalog with filters (price, category, sort)
No parameter schema in public metadata yet.
gatefare.get_apiFull details for one API by slug or `handle/urlName`
Full details for one API by slug or `handle/urlName`
No parameter schema in public metadata yet.
gatefare.list_categoriesAll categories with API counts
All categories with API counts
No parameter schema in public metadata yet.
gatefare.suggestAutocomplete suggestions for a query string
Autocomplete suggestions for a query string
No parameter schema in public metadata yet.
gatefare.call_apiMake a paid call. Handles 402 → sign → retry automatically
Make a paid call. Handles 402 → sign → retry automatically
No parameter schema in public metadata yet.
gatefare.get_wallet_balanceUSDC + ETH on Base, plus remaining runtime budget
USDC + ETH on Base, plus remaining runtime budget
No parameter schema in public metadata yet.
gatefare.estimate_costProject total cost for N planned calls
Project total cost for N planned calls
No parameter schema in public metadata yet.
gatefare.register_apiPublish a new paid API
Publish a new paid API
No parameter schema in public metadata yet.
gatefare.list_my_apisYour published APIs with stats
Your published APIs with stats
No parameter schema in public metadata yet.
gatefare.update_apiEdit metadata, price, target URL
Edit metadata, price, target URL
No parameter schema in public metadata yet.
gatefare.get_revenueRevenue time series + totals
Revenue time series + totals
No parameter schema in public metadata yet.
gatefare.distributeTrigger on-chain `distribute()` payout (destructive)
Trigger on-chain `distribute()` payout (destructive)
No parameter schema in public metadata yet.
gatefare.report_abuseReport a malicious / stolen API (DMCA, fraud, malware…)
Report a malicious / stolen API (DMCA, fraud, malware…)
No parameter schema in public metadata yet.
Sponsors
Configuration
WALLET_PRIVATE_KEYsecretEVM private key (32 bytes hex). Required for buyer tools (call_api, get_wallet_balance, estimate_cost). Stays on the user's machine.
WALLET_BUDGET_USDOptional runtime spend cap in USD; call_api throws BUDGET_EXHAUSTED when reached.
WALLET_NETWORKdefault: eip155:8453Network identifier. Defaults to eip155:8453 (Base mainnet). Use eip155:84532 for Sepolia testnet.
GATEFARE_PATsecretPersonal access token (gfpat_...) from gatefare.io/dashboard/tokens. Required for publisher tools (register_api, list_my_apis, update_api, get_revenue, distribute).
GATEFARE_BASE_URLdefault: https://gatefare.ioOverride the Gatefare base URL (defaults to https://gatefare.io). Useful for self-hosted deployments.
Readme
Details
- Repository
- github.com/gatefareio/mcp-server
- Package
@gatefare/mcp- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active