PayAgents MCP Server
OfficialEnables AI agents to make Bitcoin Lightning payments for APIs and paywalled resources, automatically resolving L402 payment challenges within configured spending limits.
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., "@PayAgents MCP ServerPay for the API request to https://api.example.com/data"
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.
PayAgents MCP Server (payagents-mcp)
The official Model Context Protocol (MCP) server for PayAgents. Give your AI agents (Claude Desktop, Cursor, Windsurf, Zed, LangChain, OpenDevin) a policy-controlled wallet to pay for APIs and tools autonomously across Bitcoin Lightning (L402) and Base USDC (x402).
⚡ Quickstart for Claude Desktop
Add payagents-mcp to your claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"payagents": {
"command": "npx",
"args": ["-y", "payagents-mcp"],
"env": {
"PAYAGENTS_API_KEY": "pa_live_your_api_key_here"
}
}
}
}Restart Claude Desktop, and your AI assistant will automatically have access to PayAgents payment tools!
Related MCP server: @arispay/payagent-mcp
🛠️ Available MCP Tools
1. payagents_pay_url
Executes an HTTP request to any API endpoint or paywalled resource, automatically resolving and paying HTTP 402 / L402 / x402 payment challenges within your enterprise spending limits.
Parameters:
url(required, string): Target API URL.method(optional, default: "GET"):GET,POST,PUT,DELETE.body(optional, object/string): Request body payload.headers(optional, object): Additional HTTP headers.max_amount(optional, string): Max amount willing to pay (e.g."0.01 USD").
2. payagents_get_balance
Checks the agent's available spending balance, subscription tier, and active spending policies (per-transaction caps and daily limits).
3. payagents_get_transaction
Queries details for a past transaction, showing payment rail, settlement method (🟢 Direct Non-Custodial vs Platform Managed), and cryptographic verification proofs.
💰 Monetizing Your Own MCP Tools
If you are building an MCP server and want to charge micro-fees when other agents call your tools:
npm install payagents-mcp @modelcontextprotocol/sdk zodimport { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { mcpCharge } from 'payagents-mcp';
import { z } from 'zod';
const server = new McpServer({ name: 'weather-mcp', version: '1.0.0' });
// Gate your tool behind $0.002 micro-payment
server.tool(
'get_forecast',
'Retrieve real-time radar forecast data',
{ city: z.string() },
mcpCharge({ price: '0.002 USD' }, async ({ city }) => {
return {
content: [{ type: 'text', text: `Forecast data for ${city}` }],
};
})
);🔒 Security & Spending Policies
All agent payments are enforced by your PayAgents Dashboard Policy Engine:
Per-Transaction Limit: Block any individual call exceeding your ceiling (e.g. max $0.01).
Daily Budget Cap: Prevent runaway recursion loops (e.g. max $5.00/day).
Domain Allowlists: Restrict agent spending only to verified domains.
Human Approval Triggers: High-value calls are automatically paused for human approval.
License
MIT © PayAgents
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to perform Bitcoin and Lightning Network payments using a non-custodial, zero-trust architecture. It provides 13 tools for wallet management, invoice creation, and payment processing while keeping node credentials local to the user's machine.1316MIT

@arispay/payagent-mcpofficial
AlicenseDqualityFmaintenanceEnables AI agents to call paid APIs and settle HTTP 402 payment challenges with USDC on Base, without private keys ever being involved.2102MIT
@coinbase/payments-mcpofficial
AlicenseNot gradedqualityDmaintenanceCombines wallets, onramps, and payments via x402 to enable AI agents to autonomously discover and pay for services without API keys or complex setup.6957Apache 2.0- AlicenseNot gradedqualityBmaintenanceNon-custodial payment engine for AI agents supporting BTC, ETH, USDT, USDC, XRP, XMR, and ZEC. Exposes wallet, invoice, and payment tools over MCP with per-agent spend limits, plus x402 pay-per-call support.59Business Source 1.1
Related MCP Connectors
Pay for HTTP APIs and charge for your own: x402 micropayments in USDC on Base.
63 pay-per-call tools for agents: vision, text, data, web, blockchain. USDC on Base via x402.
30 pay-per-call APIs for AI agents: compliance, trade, safety, web, data. USDC on Base via x402.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/Payagents/payagents-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server