Agentpay Gateway Mcp

io.github.Rumblingb由 GitHub 帳號 Rumblingb 發布v1.0.0更新於 Oct 27, 2026

Centralized API gateway routing to MCP servers with per-call billing

發布方自己的服務:AgentPay — Pay-per-call AI Microservices

概覽

AI 產生的概覽

自架式 API 閘道,將助理的工具呼叫路由到多個後端 MCP 伺服器,並以單一 API 金鑰按呼叫次數計費。

可以做什麼
  • 透過單一閘道端點呼叫多個後端伺服器的工具,涵蓋搜尋、天氣、DNS、QR 碼、截圖、PDF、加密貨幣、法律與專利查詢
  • 查詢剩餘額度、方案等級與每日用量,額度用盡時可取得 Stripe 結帳連結
  • 依名稱代理任意後端工具,傳入該工具本身的參數與 API 金鑰
  • 可執行不需資料庫的本機示範模式,或使用 Supabase 額度帳本與 Stripe 計費的完整模式
適用情境
適合想用一個 MCP 連線與一把金鑰取代多個小服務各自帳號,並接受按呼叫消耗額度的情境。較適合自行部署閘道,而非接入託管服務。
執行需求
需要 Python 3.10+ 及 mcp、httpx、anyio 套件,或使用 Docker。閘道以獨立 HTTP 伺服器執行,須先啟動再連接用戶端,用戶端透過 X-API-Key 標頭連線。完整模式需要 SUPABASE_URL、SUPABASE_SERVICE_KEY、STRIPE_API_KEY 與 STRIPE_CHECKOUT_LINK。
安裝前請注意
每次呼叫會消耗付費額度(1–8 點),伺服器也會回傳 Stripe 結帳連結,可能產生實際支出。完整模式需要 Supabase 服務金鑰與 Stripe 正式 API 金鑰,皆屬高權限機密。工具呼叫會轉送到第三方後端伺服器,送出的資料可能離開本機。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Agentpay Gateway Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[AgentPay]

AgentPay Gateway MCP

One MCP installation gives your agent access to 42 backend servers — web search, legal analysis, domain intelligence, QR codes, email verification, SEC filings, patent lookup, and more — with per-call credit billing and one API key instead of 42.

What your agent can do

  • Call any of the 90+ tools across 42 specialized backend servers through a single MCP endpoint — no separate accounts or API keys per service
  • Pay per call using a credit system: most tools cost 1–3 credits, compute-heavy tools (contract analysis, SEO audit, legal contract generation) cost 5–8 credits
  • Check remaining daily credits and account status at any time via gateway_info
  • Get a Stripe checkout link to upgrade when credits are exhausted — the server returns the URL directly
  • Run in demo mode locally (no database) or full mode with Supabase-backed credit ledger and Stripe billing
  • Deploy via Docker with environment variables for a production-ready self-hosted gateway

Installation

Requires: Python 3.10+, mcp, httpx, anyio packages.

bash
pip install mcp httpx anyio

The gateway runs as an HTTP server (not stdio). It must be started separately before connecting your MCP client.

bash
# Demo mode — no database requiredpython server.py --port 8000
# Production mode — set env vars firstexport SUPABASE_URL=https://your-project.supabase.coexport SUPABASE_SERVICE_KEY=your-service-keyexport STRIPE_API_KEY=sk_live_...export STRIPE_CHECKOUT_LINK=https://buy.stripe.com/...python server.py --port 8000

Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "agentpay-gateway": {      "url": "http://localhost:8000/mcp",      "headers": {        "X-API-Key": "YOUR_API_KEY_HERE"      }    }  }}

Cursor — add to .cursor/mcp.json in your project root:

json
{  "mcpServers": {    "agentpay-gateway": {      "url": "http://localhost:8000/mcp",      "headers": {        "X-API-Key": "YOUR_API_KEY_HERE"      }    }  }}

Docker:

bash
docker build -t agentpay-gateway .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

Tool Reference

ToolDescriptionKey params
gateway_infoCheck credit balance, tier, and daily usageapi_key
gateway_upsellGet Stripe checkout URL to upgrade to Proapi_key
Any backend toolProxied to the appropriate backend serverapi_key, plus the tool's own params in args

Credit costs by category

CategoryToolsCredits per call
Search, weather, DNS, QR, Wikipediasearch_web, weather_current, dns_lookup, qr_generate, etc.1
Audit, memory, messaging, email verifyaudit_log, memory_store, message_send, etc.1–2
Domain intel, screenshots, crypto, PDFdomain_intel, screenshot_take, pdf_generate, etc.2–4
Court records, SEC filings, patent searchcourt_search, sec_filings, patent_search, etc.2–3
Contract analysis, legal, SEO auditcontract_analyze, legal_generate_contract, seo_audit, etc.3–8

Backend Server Registry (42 servers)

CategoryServers
Search & Websearch-proxy-mcp, web-scraper-mcp, hackernews-mcp, wikipedia-mcp
Compliance & Auditagent-audit-mcp, hallucination-guard, secret-scanner-mcp
Financeagent-wallet-mcp, crypto-market-mcp, currency-exchange-mcp, sec-financial-mcp
Legalagent-contract-mcp, agent-legal-counsel-mcp, contract-analyzer-mcp, court-records-mcp
Identity & Trustagent-passport-mcp, agent-proof-mcp
Agents & Teamsagent-hire-mcp, agent-team-mcp, agent-memory-mcp, agent-messaging-mcp
Domain & Networkdns-lookup-mcp, domain-data-mcp, domain-intel-mcp, ip-geolocation-mcp, ssl-check-mcp
Productivityemail-agent-mcp, email-verify-mcp, notification-mcp, pdf-generator-mcp, file-converter-mcp, qr-code-mcp, screenshot-mcp, text-to-speech-mcp
Intelligenceimage-analyzer-mcp, patent-search-mcp, seo-audit-mcp, rental-agent-mcp, weather-mcp
Infrastructuredatabase-mcp, mcp-health-monitor, agent-cost-tracker-mcp

Pricing

TierDaily creditsMonthly priceCost per call
Free100$01–8 credits
Pro10,000$19/month1–8 credits

Credits reset daily. When credits are exhausted, gateway_upsell returns a Stripe checkout URL.

License

MIT — AgentPay Labs. Source: github.com/Rumblingb/agentpay-gateway-mcp

來源:README.md,提交 efd697a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Agentpay 整合