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 集成