Agentpay Gateway MCP logo

Agentpay Gateway MCP

Routes calls to 42 MCP backends through one HTTP endpoint with API-key authentication and credit-based billing.

Install Agentpay Gateway MCP

Run the project’s own setup commands, in order.

Setup steps from the project

agentpay-gateway-mcp installs with its own commands rather than a config we can generate, so these are copied as-is. Run them in order in a terminal. Source: github.com

  1. 1. Install
    pip install mcp httpx anyio
    
  2. 2. Start the server
    python server.py --port 8000
    
  3. 3. Install
    docker build -t agentpay-gateway .
    
  4. 4. Start the server
    docker run -p 8000:8000 \
      -e SUPABASE_URL=https://your-project.supabase.co \
      -e SUPABASE_SERVICE_KEY=your-service-key \
      -e STRIPE_API_KEY=sk_live_... \
      -e STRIPE_CHECKOUT_LINK=https://buy.stripe.com/... \
      agentpay-gateway
    

Overview

The agentpay-gateway-mcp MCP server provides one HTTP endpoint for routing requests to 42 backend MCP servers. It authenticates API keys, checks available credits, forwards tool calls, and records credit deductions through Supabase-backed services. Stripe checkout links support upgrades from the free daily allowance to a paid tier. Reach for it when agents need centralized access, usage accounting, and billing across multiple MCP backends.

Use cases

  • Centralize access to multiple MCP backends
  • Charge agents per tool call
  • Track API-key usage and credit deductions
  • Offer daily free and paid usage tiers

Key features

  • Routes requests to 42 backend MCP servers
  • API-key authentication
  • Per-call credit billing
  • Supabase credit ledger and audit logging
  • Daily credit resets
  • Stripe checkout upgrade links

Tools2

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

Self-reported~28 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.

14/18 checks healthy over the last 105d

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
Last commit3mo agoMost recent push to the default branch.
Tools exposed2Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Agentpay Gateway MCP works

What agentpay-gateway-mcp MCP server does

The agentpay-gateway-mcp MCP server places a gateway in front of 42 backend MCP servers. Instead of configuring each backend separately, an MCP client sends requests to one gateway endpoint. The gateway authenticates the supplied API key, checks the account’s credit balance, routes the request to the selected backend, and records the deduction.

The registry includes servers for functions such as web search, email verification, weather, domain data, PDF generation, screenshots, financial data, and text-to-speech. The gateway documentation identifies the backend names, exposed tool counts, and local ports, but the available capabilities depend on those backend services being present and reachable.

Two gateway-specific tools are documented. gateway_info returns account information such as the current balance, while gateway_upsell returns a Stripe checkout URL for upgrading. Other calls use the name of a backend tool and pass its arguments through the gateway.

How it works

Each call uses an API key. The gateway checks that key against its API-key data, verifies available credits, routes the request over HTTP to the matching backend MCP server, and logs the credit deduction. The documented pricing model charges one credit per call. The free tier provides 100 credits per day; the Pro tier provides 10,000 daily credits for $19 per month. Credits reset daily.

Supabase is used for API keys, the credit ledger, and related database state in the full deployment. Stripe supplies the optional payment flow for production upgrades. A local demo can run without a database, so the billing and persistence setup is not required for the basic quick start.

Setup and configuration

Install Python 3.10 or newer, install the dependencies from requirements.txt, and start the process with python3 server.py for demo mode. For a full deployment, create a Supabase project, copy .env.example to .env, configure the credentials, bootstrap the database with python3 server.py --db-only, and start the gateway on port 8000.

The agentpay-gateway-mcp MCP server is configured through an HTTP URL such as http://localhost:8000/mcp. The client configuration also supplies an API key. Docker is supported with port 8000 exposed and environment variables for Supabase and Stripe passed to the container.

Tools and capabilities

  • Route calls to the listed 42 backend MCP servers.
  • Authenticate requests with API keys.
  • Check balances and apply per-call credit deductions.
  • Reset daily credit allowances.
  • Record deductions in an audit trail.
  • Return Stripe checkout links through gateway_upsell.

Limitations and notes

Backend availability therefore depends on the corresponding services and their configured ports. Supabase is optional for the local demo but is part of the full database-backed setup; Stripe is optional for production billing. The documented MCP client examples use Claude Desktop or Cursor with the HTTP endpoint and an API key.

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 Agentpay Gateway MCP

agentpay-gateway-mcp is an MCP server that connects MCP clients to 42 backend MCP servers through one HTTP gateway. Its main tools include `gateway_info` for checking account details, `gateway_upsell` for obtaining a Stripe checkout link, and proxied backend tools. Calls use API-key authentication and consume credits.

Install Python 3.10 or newer, run `pip install -r requirements.txt`, and start it with `python3 server.py`. This launches the documented demo mode without a database. Full deployments additionally configure Supabase and optionally Stripe.

Configure the client with the gateway URL, such as `http://localhost:8000/mcp`, and provide an API key.

Yes, Stripe supports the documented production upgrade flow. Set the Stripe API key and checkout link, then call `gateway_upsell` to receive a checkout URL. Stripe is optional for the local demo.

It routes requests to 42 backend MCP servers listed in its registry. The registry includes each server’s tool count and local port, covering functions such as search, weather, email, finance, document generation, and web scraping.

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 PreviewAgentpay Gateway MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agentpay-gateway-mcp?style=directory)](https://allmcps.com/mcp/agentpay-gateway-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/agentpay-gateway-mcp"><img src="https://allmcps.com/api/badge/agentpay-gateway-mcp?style=directory" alt="Agentpay Gateway MCP on AllMCPs" /></a>