@arispay/payagent-mcp
OfficialProvides tools for making paid API calls via the x402 protocol, leveraging Coinbase CDP for secure signing and settlement of USDC payments on Base.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@arispay/payagent-mcpFetch paid API data from https://api.example.com/report"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@arispay/payagent-mcp
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.
Related MCP server: x402 MCP Server
Environment Variables
Variable | Required | Default | Description |
| Yes | — | Agent-scoped API key from |
| No |
| ArisPay API base URL |
| No | — | Wallet address (for |
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-mcpOr 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
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/arispay-inc/payagent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server