@Arispay/Payagent
FreeNot checkedEnables AI agents to call paid APIs and settle HTTP 402 payment challenges with USDC on Base, without private keys ever being involved.
About
Enables AI agents to call paid APIs and settle HTTP 402 payment challenges with USDC on Base, without private keys ever being involved.
README
MCP server for ArisPay-delegated x402 USDC payments. Lets AI agents call paid APIs and settle HTTP 402 challenges with USDC on Base — no private keys ever live in this process.
Works with Claude Desktop, Cursor, Windsurf, or any MCP client. A thin wrapper around the payagent SDK.
Setup
- Provision an agent at payagent.arispay.app. You'll get:
- A CDP-managed wallet address to fund with USDC on Base
- An
ARISPAY_AGENT_KEY(returned exactly once — store it securely)
- Fund the wallet with USDC on Base.
- Add the MCP server to your client config:
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"arispay": {
"command": "npx",
"args": ["-y", "@arispay/payagent-mcp"],
"env": {
"ARISPAY_AGENT_KEY": "ap_live_...",
"PAYAGENT_WALLET": "0x..."
}
}
}
}
Cursor
Edit .cursor/mcp.json in your project:
{
"mcpServers": {
"arispay": {
"command": "npx",
"args": ["-y", "@arispay/payagent-mcp"],
"env": {
"ARISPAY_AGENT_KEY": "ap_live_...",
"PAYAGENT_WALLET": "0x..."
}
}
}
}
Windsurf
Edit ~/.codeium/windsurf/mcp_config.json with the same pattern.
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
ARISPAY_AGENT_KEY |
Yes | — | Agent-scoped API key from payagent.arispay.app |
ARISPAY_URL |
No | https://api.arispay.app |
ArisPay API base URL |
PAYAGENT_WALLET |
No | — | Wallet address (for check_wallet tool output) |
Tools
pay_api
Make an HTTP request to a paid API. Automatically handles HTTP 402 payment challenges via ArisPay-delegated signing.
Parameters:
url(string, required) — The API endpoint URLmethod(string, default: "GET") — HTTP methodheaders(object, optional) — Additional HTTP headersbody(string, optional) — Request body
Spend caps (maxPerTx, maxDaily, maxMonthly, allowedDomains) are set on the agent at provisioning time and enforced server-side by ArisPay. There is no client-side budget parameter — attempts that exceed the delegation return a PaymentRejectedError.
Example prompt: "Use pay_api to fetch https://api.example.com/premium-data"
check_wallet
Report the configured agent, and — if PAYAGENT_WALLET is set — the on-chain USDC balance on Base.
Parameters: None
Example prompt: "Check my agent wallet"
Full delegation limits and spend history live at payagent.arispay.app.
How It Works
- Agent calls
pay_apiwith a URL. - If the server returns HTTP 402,
payagentasks ArisPay to sign via CDP. - ArisPay validates the request against the agent's delegation limits and signs.
payagentretries with the signedX-PAYMENTheader; the seller's facilitator settles on-chain.
No private key lives in this process. The signing key is held by Coinbase CDP; ArisPay enforces limits before signing. If a payment breaches the delegation, it's rejected before any on-chain action.
Install
npm install @arispay/payagent-mcp
Or invoke directly via npx @arispay/payagent-mcp from an MCP client config — no pre-install required.
Related
- payagent — the SDK for programmatic use
- x402 protocol — HTTP 402 payment standard
License
MIT
Install @Arispay/Payagent in Claude Desktop, Claude Code & Cursor
unyly install arispay-payagent-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add arispay-payagent-mcp -- npx -y @arispay/payagent-mcpFAQ
Is @Arispay/Payagent MCP free?
Yes, @Arispay/Payagent MCP is free — one-click install via Unyly at no cost.
Does @Arispay/Payagent need an API key?
No, @Arispay/Payagent runs without API keys or environment variables.
Is @Arispay/Payagent hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install @Arispay/Payagent in Claude Desktop, Claude Code or Cursor?
Open @Arispay/Payagent on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Stripe
Payments, customers, subscriptions
by Stripemalamutemayhem/unclick-agent-native-endpoints
110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n
by malamutemayhemwhiteknightonhorse/APIbase
Unified API hub for AI agents with 56+ tools across travel (Amadeus, Sabre), prediction markets (Polymarket), crypto, and weather. Pay-per-call via x402 micropa
by whiteknightonhorsetrackerfitness729-jpg/sitelauncher-mcp-server
Deploy live HTTPS websites in seconds. Instant subdomains ($1 USDC) or custom .xyz domains ($10 USDC) on Base chain. Templates for crypto tokens and AI agent pr
Compare @Arispay/Payagent with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All finance MCPs
