AgentPay

io.github.Rumblingb由 GitHub 帳號 Rumblingb 發布v0.2.0更新於 Oct 24, 2026

Agent payments, API key vaulting, and governed mandates. Agents spend within user-defined limits.

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

已驗證Streamable HTTP可網頁執行金融安全與監控商業與電商

概覽

AI 產生的概覽

AgentPay 是一個遠端或本機 MCP 伺服器,讓助理申請第三方 API 存取權、代管憑證,並在使用者設定的消費與審批規則下執行付費呼叫。

可以做什麼
為 Databento、Firecrawl、Browserbase、Exa 及通用 REST API 等供應商申請並解析受控管的 API 存取權,既有權限可直接重用。在伺服器端代管供應商憑證,助理只取得受控管的能力存取,而非原始金鑰。依使用者一次設定好的護欄執行付費呼叫:資金通道、自動核准額度、OTP 策略與消費上限。在策略要求時暫停等待 OTP 或人工核准,然後恢復原先被阻擋的那次呼叫。簽發、列出與撤銷不透明的工作台租約,讓同一工作台日後可重用存取權。透過商務工具依需求探索商品、編譯商品決策並稽核商品目錄真實性。
適用情境
適用於助理需要第三方 API 或付費步驟,而原本需要把供應商原始金鑰貼進對話、付款後重建被阻擋的呼叫,或反覆開啟供應商後台的場景。也適合需要消費上限、人工核准與跨工作階段重用受控管存取權的工作流程。
執行需求
可作為遠端端點執行,也可作為本機 npm 套件透過 npx 啟動,本機執行需要 Node.js。需要 AgentPay 商家 API 金鑰(AGENTPAY_API_KEY)與 OAuth 驗證;AGENTPAY_MERCHANT_ID 與 AGENTPAY_API_URL 為選用項目。需要能連線 AgentPay API 的網路,商家帳號透過註冊取得。
安裝前請注意
此伺服器涉及真實資金:它執行付費呼叫、落實資金通道與消費上限,並可暫存付款載荷,因此應審慎設定自動核准額度與 OTP 策略。它會代管第三方供應商憑證並接收 AgentPay API 金鑰,金鑰應透過環境變數提供而非貼在對話中。它可以建立、執行與撤銷能力租約及存取授權,並會把供應商與商務資料傳送給 AgentPay 服務。README 說明真實資金結算需由創辦人觸發,且不會自主發布、上傳或變更帳戶設定。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 AgentPay,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.Rumblingb%2Fagentpay/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "agentpay": {
      "type": "http",
      "url": "https://api.agentpay.so/api/mcp"
    }
  }
}

README

AgentPay

Trust + capability vault + governed paid execution for agents.

[npm] [CI] [Live Beta] [License] [Stars]


AgentPay is the authority layer between an AI agent and the real world. It handles provider access, funding authority, human approval, exact-call resume, and proof so agents can finish work end to end without raw secrets in chat or repeated dashboard setup.

It is not a generic "agent platform." It is the trust seam that makes autonomous execution usable.

bash
npx -y @agentpayxyz/mcp-server

That one command gives any MCP-compatible host the ability to:

  • request API access
  • vault credentials without exposing the raw key to the agent
  • run governed paid execution
  • pause for OTP or approval only when needed
  • resume the exact blocked call automatically
  • reuse governed access later from the same workbench

AgentPay Commerce Network

AgentPay now has a focused ecommerce surface: shoppers discover products by a concrete need, then set a visual Buyer Constitution for category scope, budget, delivery, returns, merchant policy, and human approval. AgentPay enforces that constitution before optional model ranking, and approved matches continue to merchant checkout. Merchants get the other side of the demand graph through catalog truth, source-grounded product imagery, and signed attribution drafts.

  • Shopper experience: /commerce
  • Seller growth workspace: /commerce/studio
  • Need-led API: POST /api/commerce/discover
  • Closed-world GPT-5.6 compiler: POST /api/commerce/compile
  • Catalog audit API: POST /api/commerce/catalog/audit
  • MCP tools: agentpay_discover_products, agentpay_compile_product_decision, and agentpay_audit_catalog_truth
  • Founder and SEO specification: docs/COMMERCE_CONTROL_PLANE.md
  • OpenAI Build Week evidence and judge runbook: docs/OPENAI_BUILD_WEEK_2026.md
  • Dated hackathon reuse decisions and event-specific build boundaries: docs/HACKATHON_REUSE_2026-07-18.md

The included inventory and demand indexes are sandbox fixtures. They do not represent live merchants, customers, orders, or revenue. Merchant connections, public inventory, conversion webhooks, fee collection, and deployment remain separate approval and validation gates.


Casper Buildathon Entry

Bee + Clickey: Founder-in-a-Box with Casper-Verifiable Agent Payments

Bee is the operator brain. Clickey is the desktop companion. Together they route work across a real local AI fleet, discover tools through the AgentPay Feed MCP, and stage payment receipts through founder-approved rails. For the Casper Agentic Buildathon, the project adds a Casper-native receipt path: Bee can stage x402-casper payment payloads and bind a Bee mandate/receipt id to a Casper Testnet transfer.

Start here:

Judges can verify the local proof path:

bash
node --test ops/mac-mini/bee/bee.test.mjsops/mac-mini/bin/bee doctorops/mac-mini/bin/bee capsops/mac-mini/bin/bee feednpm --prefix ops/mac-mini/bee/casper run proofnpm --prefix ops/mac-mini/bee/casper run video

Broadcasting a real testnet proof requires a dedicated funded Casper testnet key:

bash
CASPER_PRIVATE_KEY_HEX=<testnet-private-key-hex> \CASPER_RECIPIENT_PUBLIC_KEY_HEX=<recipient-public-key-hex> \BEE_CASPER_RECEIPT_ID=<bee-mandate-id-or-demo-receipt-id> \npm --prefix ops/mac-mini/bee/casper run receipt

Bee can prepare and stage high-impact actions, but it does not autonomously publish, upload, change OAuth/account settings, move money, or bypass founder approval. Live settlement remains founder-triggered.


Why it exists

Agents fail at the same place every time:

  1. they need an API the developer has not wired yet
  2. they need a credential the human should not paste into chat
  3. they hit a paid step and lose continuity

AgentPay fixes that seam.

Capability Vault Users connect a provider once through AgentPay. The raw credential is vaulted server-side. The agent receives only governed capability access.

Governed paid execution Humans set guardrails once: funding rail, auto-approve limit, OTP policy, and spend limits. AgentPay enforces those rules when the agent acts.

Exact-call resume When a paid step needs a human, AgentPay pauses, collects the minimum approval, and resumes the exact blocked call without asking the agent to reconstruct it.

Same-workbench reuse Local projects never need raw provider keys. AgentPay can issue opaque, revocable workbench leases so the same workbench can reuse governed access later.

The inevitable path

This is the path AgentPay is built around:

  1. Agent asks for an API.
  2. AgentPay checks whether governed access already exists.
  3. If not, AgentPay runs one hosted setup flow for authority and provider connection.
  4. The agent uses the capability for free until paid usage is required.
  5. AgentPay pauses for OTP or confirmation only if policy requires it.
  6. AgentPay resumes the exact blocked call.
  7. The same workbench can reuse governed access later without re-entering the secret.

Get started in 30 seconds

Add AgentPay to Claude Desktop (claude_desktop_config.json):

json
{  "mcpServers": {    "agentpay": {      "command": "npx",      "args": ["-y", "@agentpayxyz/mcp-server"],      "env": {        "AGENTPAY_API_KEY": "apk_your_key_here",        "AGENTPAY_MERCHANT_ID": "your_merchant_id"      }    }  }}

Get your API key:

bash
curl -s -X POST https://api.agentpay.so/api/merchants/register \  -H "Content-Type: application/json" \  -d '{ "name": "My Agent", "email": "[email protected]" }'

Now ask your host:

"My agent needs Firecrawl. Set a $5 auto-approve limit, ask for OTP above that, and keep the key out of chat."

Or:

"My agent needs Databento for this workbench. If access already exists, reuse it. If not, start the minimal AgentPay setup flow."

Full quickstart


Terminal-native control plane

AgentPay should be operated through hosts and terminals, not a merchant dashboard.

Key surfaces:

  • GET /api/capabilities/authority-bootstrap
  • POST /api/capabilities/authority-bootstrap
  • POST /api/capabilities/access-resolve
  • POST /api/capabilities/onboarding-sessions
  • POST /api/capabilities/lease-execute
  • GET /api/capabilities/leases
  • POST /api/capabilities/leases/:leaseId/revoke
  • POST /api/capabilities/:capabilityId/execute

These let a host or agent:

  • read authority state
  • set guardrails
  • connect providers
  • request human approval only when needed
  • reuse governed access safely later

Flagship provider paths

The current wedge is strongest when AgentPay owns setup and continuity for high-value agent APIs.

Current priority paths:

  • Databento
  • Firecrawl
  • Browserbase
  • Exa
  • Generic REST API fallback

The product goal is simple: visiting provider dashboards should become the exception, not the default.

Remote MCP

For hosts that support remote MCP:

https://api.agentpay.so/api/mcp

Authenticate with your API key as a Bearer token, or mint a short-lived token for Claude, OpenAI, or another remote MCP host:

bash
curl -X POST https://api.agentpay.so/api/mcp/tokens \  -H "Authorization: Bearer apk_your_key_here" \  -d '{ "audience": "openai", "ttlSeconds": 3600 }'

Ace - built on AgentPay

Ace is a proof front door built on AgentPay. It demonstrates the core seam under real-world conditions. It is not the core story.

Product truth

If a human still has to:

  • paste a raw provider key into chat
  • rebuild a blocked call after payment
  • keep reopening provider dashboards
  • or lose continuity between approval and execution

then the product is still unfinished.

Developer resources

ResourceLink
QuickstartQUICKSTART.md
MCP server referencepackages/mcp-server/README.md
Full API referenceopenapi.yaml
Terminal-native control planedocs/TERMINAL_NATIVE_CONTROL_PLANE_20260419.md
Examplesexamples/README.md
Security modeldocs/SECURITY_MODEL.md
Secure payment providersdocs/PAYMENT_PROVIDERS.md
Commerce networkdocs/COMMERCE_CONTROL_PLANE.md

Repository layout

apps/  api-edge/         Cloudflare Workers public API  meridian/         Ace front door
packages/  mcp-server/       Published MCP package  sdk/              TypeScript SDK  sdk-node/         Node.js SDK
examples/           Example agents and adaptersdocs/               Architecture and product notesmigrations/         PostgreSQL migrationsops/                Founder and growth operating artifacts

License

Business Source License 1.1. Converts to AGPL-3.0 on 2029-01-01.

來源:README.md,提交 c37b0c9

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v0.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

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

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

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Agentpay 整合