pay-mcp
Provides integration with Coinbase Onramp for generating funding links, enabling users to deposit USDC into their Pay wallet through Coinbase's payment infrastructure.
@pay-skill/mcp
MCP server for Pay -- the complete x402 payment stack for AI agents. USDC on Base.
Gives any MCP-compatible client (Claude Desktop, Cursor, VS Code, custom frameworks) the full power of Pay: direct payments, tabs, x402 paywalls, service discovery, and wallet management. No CLI binary needed.
Setup
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"pay": {
"command": "npx",
"args": ["-y", "@pay-skill/mcp"]
}
}
}VS Code / Cursor
Add to .vscode/mcp.json:
{
"servers": {
"pay": {
"command": "npx",
"args": ["-y", "@pay-skill/mcp"]
}
}
}Claude Code
claude mcp add pay -- npx -y @pay-skill/mcpThat's it. On first run, the server generates a wallet and stores it in the OS keychain (Windows Hello, macOS Keychain, Linux Secret Service). Subsequent runs load it automatically.
Related MCP server: x402 Payment Gateway MCP Server
Configuration
Env Var | Required | Default | Description |
| No | — | Optional override. Raw hex key or |
| No |
|
|
Key Resolution (checked in order)
OS keychain (default) — Loads from the OS credential store via
keytar. On first run, a new keypair is generated and stored automatically.Encrypted keystore — If
~/.pay/keys/default.encexists,PAYSKILL_SIGNER_KEYis used as the decryption password.Raw hex key — If
PAYSKILL_SIGNER_KEYis a 64-char hex string, it's used directly. For dev/testing or importing an existing wallet.Auto-generate — If none of the above, generates a new keypair and stores it in the OS keychain.
Diagnostic Check
Verify everything is configured correctly:
npx @pay-skill/mcp --checkOutput:
pay-mcp diagnostic check
network: Base (chain 8453)
api: https://pay-skill.com/api/v1
wallet: 0x1234...
key: keychain
server: OK (router: 0xABCD...)
auth: OK (balance: $50.00)
All checks passed. MCP server is ready.Tools (15)
Payments
Tool | Description |
| Direct USDC payment ($1 min). Confirmation thresholds: <$10 auto, $10-100 plan, >$100 explicit. |
| HTTP request with x402 auto-payment. Handles 402 detection, direct/tab settlement, price skepticism. |
Tabs (metered accounts)
Tool | Description |
| Open pre-funded tab ($5 min, $50 recommended). Provider charges per-call. |
| Close tab. Returns distribution breakdown (provider 99%, fee 1%, agent remainder). |
| Charge against open tab (provider only). |
| Add funds to open tab (agent only). |
| List tabs with idle/low-balance flags. |
Wallet
Tool | Description |
| Balance, locked/available funds, actionable suggestions. |
| Generate 1-hour funding link (Coinbase Onramp or direct USDC). |
| Generate 1-hour withdrawal link. |
| Mint testnet USDC (Base Sepolia only). |
Discovery & Webhooks
Tool | Description |
| Search paid API services by keyword/category. |
| Register webhook for payment events (HMAC-signed). |
| List registered webhooks. |
| Delete a webhook. |
Resources (5)
URI | Description |
| Balance, tabs, locked/available |
| All open tabs |
| Single tab detail |
| Wallet address |
| Network config + contract addresses |
Prompts (3)
Prompt | Description |
| Guided: discover service, evaluate pricing, make request |
| Review tabs, flag idle, suggest close/topup |
| Generate fund link, explain deposit process |
Development
git clone https://github.com/pay-skill/pay-mcp.git
cd pay-mcp
npm install
npm run build
npm test # unit tests (mocked)
npm run test:acceptance # testnet (requires PAYSKILL_TESTNET_KEY)License
MIT
Part of Pay
Pay is the complete x402 payment stack -- gateway, facilitator, SDKs, CLI, and MCP server -- that lets AI agents pay for APIs with USDC on Base.
This server cannot be installed
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
- Alicense-qualityCmaintenanceNon-custodial x402 MCP payment layer for AI agents. Enables autonomous USDC payments on Base via the x402 HTTP payment protocol, with CCTP cross-chain bridge support.Last updated1125MIT
- Alicense-qualityFmaintenanceEnables AI agents to make micropayments using USDC on Solana via the x402 protocol, supporting payment requests, on-chain verification, and revenue tracking.Last updatedMIT

@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.Last updated2438MIT
@coinbase/payments-mcpofficial
Alicense-qualityFmaintenanceCombines wallets, onramps, and payments via x402 to enable AI agents to autonomously discover and pay for services without API keys or complex setup.Last updated5656Apache 2.0
Related MCP Connectors
Pay for HTTP APIs and charge for your own: x402 micropayments in USDC on Base.
30 pay-per-call APIs for AI agents: compliance, trade, safety, web, data. USDC on Base via x402.
63 pay-per-call tools for agents: vision, text, data, web, blockchain. 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/pay-skill/pay-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server