AgentPay MCP Server
by yyxqqq777io.github.yyxqqq777/agentpayv0.1.3
x402 micropayments MCP: Xiaohongshu notes and paid APIs settled in USDC on Base.
context tax
queued
security
queued
cold start
queued
freshness
Maintained33d ago
Install AgentPay MCP server
Install in Claude Code
claude mcp add agentpay-yyxqqq777 -e AGENT_PRIVATE_KEY='<agent-private-key>' -- uvx mcp-server-agentpayInstall in Cursor
{
"mcpServers": {
"agentpay-yyxqqq777": {
"command": "uvx",
"args": [
"mcp-server-agentpay"
],
"env": {
"AGENT_PRIVATE_KEY": "<agent-private-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"agentpay-yyxqqq777": {
"command": "uvx",
"args": [
"mcp-server-agentpay"
],
"env": {
"AGENT_PRIVATE_KEY": "<agent-private-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"agentpay-yyxqqq777": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-agentpay"
],
"env": {
"AGENT_PRIVATE_KEY": "<agent-private-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"agentpay-yyxqqq777": {
"command": "uvx",
"args": [
"mcp-server-agentpay"
],
"env": {
"AGENT_PRIVATE_KEY": "<agent-private-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| AGENT_PRIVATE_KEY | yes | yes | EVM private key for signing USDC micropayments on Base (wallet must hold USDC) |
| MAX_SPEND_PER_CALL | — | — | Maximum USDC the agent may spend per API call (default: 0.10) |
| GATEWAY_BASE_URL | — | — | Optional override of the AgentPay gateway URL |
Remote endpoints
- streamable-http
https://agentpay-xhs-production.up.railway.app/mcp
Freshness
Maintained — last maintenance signal 33d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-07 · 33d ago · GitHub
Latest release
2026-09-07 · 33d ago · GitHub · v0.1.3
Package published
no data · npm/PyPI
Registry entry updated
2026-09-07 · 33d ago · official registry · v0.1.3
FAQ
›How do I install the AgentPay MCP server in Claude Code?
Run: claude mcp add agentpay-yyxqqq777 -e AGENT_PRIVATE_KEY='<agent-private-key>' -- uvx mcp-server-agentpay. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does AgentPay require an API key?
Yes. It expects AGENT_PRIVATE_KEY, of which 1 is a secret.
›Can I use AgentPay as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is AgentPay in the official MCP registry?
Yes, as io.github.yyxqqq777/agentpay.
Alternatives to AgentPay
Other notes & knowledge MCP servers.