Skip to main content

AgentPay

io.github.yyxqqq777/agentpay

v0.1.3Updated Sep 7, 2026stdio · PyPIremote · http

x402 micropayments MCP: Xiaohongshu notes and paid APIs settled in USDC on Base.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add --transport http agentpay https://agentpay-xhs-production.up.railway.app/mcp

Configuration

3 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • AGENT_PRIVATE_KEY
    Env var· required· secret
    EVM private key for signing USDC micropayments on Base (wallet must hold USDC)
  • MAX_SPEND_PER_CALL
    Env var· optional
    Maximum USDC the agent may spend per API call (default: 0.10)Default: 0.10
  • GATEWAY_BASE_URL
    Env var· optional
    Optional override of the AgentPay gateway URLDefault: https://agentpay-xhs-production.up.railway.app

Listed in the official MCP Registry since Sep 7, 2026. Mirrored daily; last checked Nov 26, 2026.