AgentPay
io.github.yyxqqq777/agentpay
x402 micropayments MCP: Xiaohongshu notes and paid APIs settled in USDC on Base.
- Repository
- github.com/yyxqqq777/mcp-server-agentpay
- Website
- github.com/yyxqqq777/mcp-server-agentpay
- Server address
https://agentpay-xhs-production.up.railway.app/mcp(streamable-http)- Version
- 0.1.3
- Author
- yyxqqq777 (namespace verified by the registry)
- Source
- Official MCP registry (updated Sep 7, 2026)
How to install it
Variables to fill in: AGENT_PRIVATE_KEY, MAX_SPEND_PER_CALL, GATEWAY_BASE_URL.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http agentpay https://agentpay-xhs-production.up.railway.app/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://agentpay-xhs-production.up.railway.app/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://agentpay-xhs-production.up.railway.app/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"agentpay": {
"url": "https://agentpay-xhs-production.up.railway.app/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"agentpay": {
"type": "http",
"url": "https://agentpay-xhs-production.up.railway.app/mcp"
}
}
}On your machine
Claude Code
The server runs on your machine (pypi package). In a terminal:
claude mcp add agentpay -e AGENT_PRIVATE_KEY=YOUR_AGENT_PRIVATE_KEY -e MAX_SPEND_PER_CALL=YOUR_MAX_SPEND_PER_CALL -e GATEWAY_BASE_URL=YOUR_GATEWAY_BASE_URL -- uvx [email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"agentpay": {
"command": "uvx",
"args": [
"[email protected]"
],
"env": {
"AGENT_PRIVATE_KEY": "YOUR_AGENT_PRIVATE_KEY",
"MAX_SPEND_PER_CALL": "YOUR_MAX_SPEND_PER_CALL",
"GATEWAY_BASE_URL": "YOUR_GATEWAY_BASE_URL"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"agentpay": {
"command": "uvx",
"args": [
"[email protected]"
],
"env": {
"AGENT_PRIVATE_KEY": "YOUR_AGENT_PRIVATE_KEY",
"MAX_SPEND_PER_CALL": "YOUR_MAX_SPEND_PER_CALL",
"GATEWAY_BASE_URL": "YOUR_GATEWAY_BASE_URL"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"agentpay": {
"type": "stdio",
"command": "uvx",
"args": [
"[email protected]"
],
"env": {
"AGENT_PRIVATE_KEY": "YOUR_AGENT_PRIVATE_KEY",
"MAX_SPEND_PER_CALL": "YOUR_MAX_SPEND_PER_CALL",
"GATEWAY_BASE_URL": "YOUR_GATEWAY_BASE_URL"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Not responding The test failed: HTTP 404 response.
- Date
- Nov 28, 2026, 10:40 (test run by L’Atlas)
- Response time
- 626 ms (whole test)
- Next test
- Dec 5, 2026
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.yyxqqq777/agentpay)HTML
<a href="https://lagora.dev/en/entry/io.github.yyxqqq777/agentpay"><img src="https://lagora.dev/badge/io.github.yyxqqq777/agentpay.svg?lang=en" alt="io.github.yyxqqq777/agentpay on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.