Gatefareio MCP logo

Gatefareio MCP

Browse Gatefare’s paid API catalog, make x402 USDC payments on Base, and manage published APIs over MCP.

Install Gatefareio MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-118": {
      "command": "npx",
      "args": [
        "-y",
        "@gatefare/mcp"
      ],
      "env": {
        "GATEFARE_BASE_URL": "YOUR_VALUE_HERE",
        "WALLET_PRIVATE_KEY": "YOUR_VALUE_HERE",
        "WALLET_BUDGET_USD": "YOUR_VALUE_HERE",
        "WALLET_NETWORK": "YOUR_VALUE_HERE",
        "GATEFARE_PAT": "YOUR_VALUE_HERE",
        "LOG_LEVEL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env GATEFARE_BASE_URL=YOUR_VALUE_HERE --env WALLET_PRIVATE_KEY=YOUR_VALUE_HERE --env WALLET_BUDGET_USD=YOUR_VALUE_HERE --env WALLET_NETWORK=YOUR_VALUE_HERE --env GATEFARE_PAT=YOUR_VALUE_HERE --env LOG_LEVEL=YOUR_VALUE_HERE --transport stdio mcp-server-118 -- npx -y @gatefare/mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @gatefare/mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The gatefareio/mcp-server MCP server connects MCP-compatible agents to Gatefare’s catalog of paid HTTP APIs. It supports catalog discovery, automatic x402 payment signing with USDC on Base, wallet and budget checks, and API publishing workflows. Run it over stdio with npx; discovery and abuse-reporting tools are available without credentials, while buyer and publisher tools appear when their environment variables are configured. Reach for it when an agent needs to find and call metered APIs or manage APIs listed on Gatefare.

Use cases

  • Search Gatefare for APIs below a specified price
  • Call a metered HTTP API with automatic x402 payment handling
  • Estimate spending before making multiple paid API calls
  • Publish and update paid APIs on Gatefare
  • Review revenue and trigger publisher payouts

Key features

  • Full-text paid API catalog search with filters
  • Automatic x402 signing and retry for paid calls
  • USDC and ETH wallet balance checks on Base
  • Runtime budget and multi-call cost estimation
  • API publishing, metadata updates, and revenue reporting
  • Structured tool errors with stable error codes

Tools13

What Gatefareio MCP lets your agent do. Expand a tool for its parameters.

Self-reported~204 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @gatefare/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads239Package downloads in the last 30 days.
Last commit6mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed13Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Gatefareio MCP works

What gatefareio/mcp-server does

The gatefareio/mcp-server MCP server gives an MCP client access to Gatefare, a marketplace for paid HTTP APIs. It separates the workflow into discovery, buying, publishing, and safety functions. Agents can search the catalog, inspect an API, browse categories, request query suggestions, and report suspected abuse without configuring a wallet or publisher token.

For paid requests, the server uses a locally configured wallet to handle the x402 payment flow. The agent calls an API through Gatefare, and the server responds to a payment challenge by signing and retrying the request. Payments settle in USDC on Base. The private key remains on the machine running the server, making the wallet non-custodial from the server’s perspective.

How it works

The server communicates with clients through MCP over standard input and output. A typical client launches the npm package with npx -y @gatefare/mcp. The client then discovers the tools exposed by the process and can invoke them through MCP.

Tool availability is conditional. Discovery and safety tools are always registered. Buyer tools require WALLET_PRIVATE_KEY, while publisher tools require GATEFARE_PAT. This lets a read-only catalog setup run without exposing payment or publishing operations to an agent that does not need them.

A paid call first reaches the Gatefare proxy, which can return an HTTP 402 response. The server signs the required payment locally and retries the request. WALLET_BUDGET_USD can limit runtime spending, while the wallet’s funded balance remains the hard practical limit.

Setup and configuration

Add the server to an MCP client configuration using the npx command and restart the client. The README provides configurations for Claude Desktop and Cursor, as well as examples for Python and TypeScript clients.

Supported settings include:

  • GATEFARE_BASE_URL: Changes the default Gatefare endpoint, including for a self-hosted deployment.
  • WALLET_PRIVATE_KEY: Enables buyer operations.
  • WALLET_BUDGET_USD: Sets an optional runtime spending cap.
  • WALLET_NETWORK: Selects Base mainnet by default or Base Sepolia using eip155:84532.
  • GATEFARE_PAT: Enables publisher operations.
  • LOG_LEVEL: Uses debug for more verbose stderr logging.

Tools and capabilities

The gatefareio/mcp-server MCP server exposes catalog search with price, category, and sort filters; API lookup by slug or handle; category counts; and autocomplete suggestions. Buyer operations include making a paid API call, checking USDC and ETH balances on Base, viewing remaining runtime budget, and estimating the cost of a planned number of calls.

With a Gatefare personal access token, an agent can register an API, list owned APIs and their statistics, update metadata, pricing, or target URLs, inspect revenue totals and time series, and trigger an on-chain distribute() payout. The payout operation is destructive and should be treated differently from read-only management calls.

Tool failures return a structured error with an error code, human-readable message, and optional details. Codes cover invalid input, missing credentials, exhausted budgets, insufficient balance, unavailable APIs, upstream failures, rate limits, and Gatefare API errors.

Limitations and notes

This server is designed for MCP-based agent workflows rather than direct backend payment integration. The README recommends Coinbase x402 SDKs when an application needs to pay x402 APIs without an agent, and the Gatefare REST API when only catalog browsing is required.

A private key is needed for buyer tools, and a funded wallet must contain enough USDC for calls and ETH for network activity. The runtime budget is a safety control, not a substitute for funding the wallet with only the amount that can be spent. Publisher features also depend on a Gatefare PAT. The default network is Base mainnet, with Sepolia available through configuration.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Gatefareio MCP

gatefareio/mcp-server is an MCP server that connects Claude Desktop, Cursor, and other MCP-compatible agents to Gatefare’s marketplace of paid HTTP APIs. Its main tools search the catalog, inspect APIs, make x402-paid calls with USDC on Base, check wallet balances, estimate costs, and manage published APIs.

Install it by adding an MCP server entry that runs `npx -y @gatefare/mcp`, then restart the client. The README includes configuration examples for Claude Desktop and Cursor, and the process communicates over stdio.

Set `WALLET_PRIVATE_KEY` in the MCP server environment to enable buyer tools. You can also set `WALLET_BUDGET_USD` for a runtime spending cap and configure `WALLET_NETWORK` when using Base Sepolia instead of the default Base mainnet.

Yes. Cursor is a documented client for gatefareio/mcp-server. Add the server to `~/.cursor/mcp.json` or a project-level `.cursor/mcp.json`, launch it with `npx -y @gatefare/mcp`, and restart Cursor.

Set `GATEFARE_PAT` to a Gatefare personal access token. Publisher tools then become available for registering an API, listing owned APIs, updating metadata or pricing, viewing revenue, and triggering distribution.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGatefareio MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-server-118?style=directory)](https://allmcps.com/mcp/mcp-server-118)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-server-118"><img src="https://allmcps.com/api/badge/mcp-server-118?style=directory" alt="Gatefareio MCP on AllMCPs" /></a>