Agent payments, API key vaulting, and governed mandates. Agents spend within user-defined limits.
SaferSkills independently audited AgentPay (MCP Server) and scored it 92/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 2 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 2 flagged
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<p align="center"> <strong>Trust + capability vault + governed paid execution for agents.</strong> </p>
<p align="center"> <a href="https://www.npmjs.com/package/@agentpayxyz/mcp-server"><img src="https://img.shields.io/npm/v/%40agentpayxyz%2Fmcp-server?color=4ade80&label=mcp-server" alt="npm"></a> <a href="https://github.com/Rumblingb/Agentpay/actions/workflows/ci.yml"><img src="https://github.com/Rumblingb/Agentpay/actions/workflows/ci.yml/badge.svg" alt="CI"></a> <img src="https://img.shields.io/badge/status-live_beta-4ade80" alt="Live Beta"> <img src="https://img.shields.io/badge/license-BSL--1.1-blue" alt="License"> <a href="https://github.com/Rumblingb/Agentpay"><img src="https://img.shields.io/github/stars/Rumblingb/Agentpay?style=social" alt="Stars"></a> </p>
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.
npx -y @agentpayxyz/mcp-serverThat one command gives any MCP-compatible host the ability to:
Agents fail at the same place every time:
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.
This is the path AgentPay is built around:
Add AgentPay to Claude Desktop (claude_desktop_config.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:
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](./QUICKSTART.md)
AgentPay should be operated through hosts and terminals, not a merchant dashboard.
Key surfaces:
GET /api/capabilities/authority-bootstrapPOST /api/capabilities/authority-bootstrapPOST /api/capabilities/access-resolvePOST /api/capabilities/onboarding-sessionsPOST /api/capabilities/lease-executeGET /api/capabilities/leasesPOST /api/capabilities/leases/:leaseId/revokePOST /api/capabilities/:capabilityId/executeThese let a host or agent:
The current wedge is strongest when AgentPay owns setup and continuity for high-value agent APIs.
Current priority paths:
The product goal is simple: visiting provider dashboards should become the exception, not the default.
For hosts that support remote MCP:
https://api.agentpay.so/api/mcpAuthenticate with your API key as a Bearer token, or mint a short-lived token for Claude, OpenAI, or another remote MCP host:
curl -X POST https://api.agentpay.so/api/mcp/tokens \
-H "Authorization: Bearer apk_your_key_here" \
-d '{ "audience": "openai", "ttlSeconds": 3600 }'Ace is a proof front door built on AgentPay. It demonstrates the core seam under real-world conditions. It is not the core story.
If a human still has to:
then the product is still unfinished.
| Resource | Link |
|---|---|
| Quickstart | QUICKSTART.md |
| MCP server reference | packages/mcp-server/README.md |
| Full API reference | openapi.yaml |
| Terminal-native control plane | docs/TERMINAL_NATIVE_CONTROL_PLANE_20260419.md |
| Examples | examples/README.md |
| Security model | docs/SECURITY_MODEL.md |
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 adapters
docs/ Architecture and product notes
migrations/ PostgreSQL migrations
ops/ Founder and growth operating artifactsBusiness Source License 1.1. Converts to AGPL-3.0 on 2029-01-01.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.