Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
Rumblingb avatar

AgentPay MCP

  • 1 repo stars
  • Updated August 10, 2026
  • Rumblingb/Agentpay

AgentPay is a MCP server that enables governed agent payments, API key vaulting, and mandate-enforced spending limits.

About

AgentPay MCP is a Model Context Protocol server for developers who ship agent products and need safe, bounded spending. It exposes agent payments, API key vaulting, and governed mandates so autonomous tools can call paid APIs without you handing over unlimited credentials. You register the server in Claude Code, Cursor, Codex, or Windsurf using either the hosted streamable-http endpoint or the @agentpayxyz/mcp-server npm package with AGENTPAY_API_KEY set. Optional AGENTPAY_MERCHANT_ID and AGENTPAY_API_URL tune attribution and environments. Use it during the build phase when integrations turn prototypes into products that must buy tokens, data, or third-party services. It complements one-off API keys in.env files by centralizing policy, limits, and vault semantics at the protocol layer.

  • Governed spend mandates so agents cannot exceed user-defined limits
  • API key vaulting so secrets stay out of prompts and local configs
  • Streamable HTTP remote at api.agentpay.so plus optional npm stdio transport
  • Merchant API key authentication with optional merchant ID attribution
  • Supports payment intent flows for agent-initiated purchases

AgentPay MCP by the numbers

  • Data as of Aug 10, 2026 (Skillselion catalog sync)
terminal
claude mcp add --env AGENTPAY_API_KEY=YOUR_AGENTPAY_API_KEY --env AGENTPAY_MERCHANT_ID=YOUR_AGENTPAY_MERCHANT_ID --env AGENTPAY_API_URL=YOUR_AGENTPAY_API_URL agentpay -- npx -y @agentpayxyz/mcp-server

Add your badge

Show developers this MCP server is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars1
Package@agentpayxyz/mcp-server
TransportSTDIO, HTTP
AuthRequired
Last updatedAugust 10, 2026
RepositoryRumblingb/Agentpay

What it does

Let coding agents pay for APIs and services under vault-backed keys and spending mandates you define.

Who is it for?

Best when you're shipping agents that must purchase API usage, SaaS seats, or metered services under explicit caps.

Skip if: Skip if you only need static API keys in.env with no agent autonomy or spend governance.

What you get

After install, your agent calls AgentPay tools to spend within vault-backed keys and limits you control.

  • MCP tools for agent payment and key-vault operations within defined limits
  • Authenticated connection to AgentPay via remote HTTP or local stdio transport
  • Configurable merchant attribution and API base URL overrides

By the numbers

  • Server version 0.2.0
  • 1 npm package (@agentpayxyz/mcp-server) with stdio transport
  • 1 streamable-http remote endpoint
README.md

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.

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

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):

{
  "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": "you@example.com" }'

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:

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

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

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 adapters
docs/               Architecture and product notes
migrations/         PostgreSQL migrations
ops/                Founder and growth operating artifacts

License

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

Recommended MCP Servers

How it compares

Payments-focused MCP integration, not a general coding skill or marketplace catalog.

FAQ

Who is AgentPay MCP for?

Developers running Claude Code, Cursor, or similar agents who need governed payments and vaulted API keys.

When should I use AgentPay MCP?

Use it while building agent integrations that must call paid third-party APIs without exposing unlimited credentials.

How do I add AgentPay MCP to my agent?

Add the remote MCP URL https://api.agentpay.so/api/mcp or install @agentpayxyz/mcp-server and set AGENTPAY_API_KEY in your client’s MCP config.

Financepaymentsfinance

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.