io.github.forum-labs/payfetch

io.github.forum-labs/payfetch

x402 paying-fetch client for AI agents. Spending caps, approval, receipts. Non-custodial.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "payfetch": {
      "command": "npx",
      "args": [
        "-y",
        "@forum-labs/payfetch@1.0.0"
      ],
      "env": {
        "PAYFETCH_PRIVATE_KEY": "<your PAYFETCH_PRIVATE_KEY>",
        "PAYFETCH_CDP_API_KEY_ID": "<your PAYFETCH_CDP_API_KEY_ID>",
        "PAYFETCH_CDP_API_KEY_SECRET": "<your PAYFETCH_CDP_API_KEY_SECRET>",
        "PAYFETCH_CDP_WALLET_SECRET": "<your PAYFETCH_CDP_WALLET_SECRET>"
      }
    }
  }
}
Environment variables
  • PAYFETCH_PRIVATE_KEYsecret0x-hex EVM private key for a DEDICATED low-balance wallet. Set exactly ONE signer source.
  • PAYFETCH_CDP_API_KEY_IDsecretCoinbase CDP server-wallet key id (YOUR account).
  • PAYFETCH_CDP_API_KEY_SECRETsecretCoinbase CDP API key secret.
  • PAYFETCH_CDP_WALLET_SECRETsecretCoinbase CDP wallet secret.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.0.0
Registry
active
Published
7/6/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.forum-labs/payfetch is listed here — it’s also the link we check for a free listing.

io.github.forum-labs/payfetch — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-forum-labs-payfetch?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.forum-labs/payfetch — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.forum-labs/payfetch — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-forum-labs-payfetch?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.