L'Agora
MCPLocal

io.github.forum-labs/payfetch

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

Repository
github.com/forum-labs/payfetch
Version
1.0.0
Author
forum-labs (namespace verified by the registry)
Source
Official MCP registry (updated Jul 6, 2026)

How to install it

Variables to fill in: PAYFETCH_PRIVATE_KEY, PAYFETCH_KEY_FILE, PAYFETCH_CDP_API_KEY_ID, PAYFETCH_CDP_API_KEY_SECRET, PAYFETCH_CDP_WALLET_SECRET, PAYFETCH_CDP_ACCOUNT_NAME, PAYFETCH_DATA_DIR, PAYFETCH_TEST_MODE, PAYFETCH_APPROVER, PAYFETCH_VIA.

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add payfetch -e PAYFETCH_PRIVATE_KEY=YOUR_PAYFETCH_PRIVATE_KEY -e PAYFETCH_KEY_FILE=YOUR_PAYFETCH_KEY_FILE -e PAYFETCH_CDP_API_KEY_ID=YOUR_PAYFETCH_CDP_API_KEY_ID -e PAYFETCH_CDP_API_KEY_SECRET=YOUR_PAYFETCH_CDP_API_KEY_SECRET -e PAYFETCH_CDP_WALLET_SECRET=YOUR_PAYFETCH_CDP_WALLET_SECRET -e PAYFETCH_CDP_ACCOUNT_NAME=YOUR_PAYFETCH_CDP_ACCOUNT_NAME -e PAYFETCH_DATA_DIR=YOUR_PAYFETCH_DATA_DIR -e PAYFETCH_TEST_MODE=YOUR_PAYFETCH_TEST_MODE -e PAYFETCH_APPROVER=YOUR_PAYFETCH_APPROVER -e PAYFETCH_VIA=YOUR_PAYFETCH_VIA -- npx -y @forum-labs/[email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "payfetch": {
      "command": "npx",
      "args": [
        "-y",
        "@forum-labs/[email protected]"
      ],
      "env": {
        "PAYFETCH_PRIVATE_KEY": "YOUR_PAYFETCH_PRIVATE_KEY",
        "PAYFETCH_KEY_FILE": "YOUR_PAYFETCH_KEY_FILE",
        "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",
        "PAYFETCH_CDP_ACCOUNT_NAME": "YOUR_PAYFETCH_CDP_ACCOUNT_NAME",
        "PAYFETCH_DATA_DIR": "YOUR_PAYFETCH_DATA_DIR",
        "PAYFETCH_TEST_MODE": "YOUR_PAYFETCH_TEST_MODE",
        "PAYFETCH_APPROVER": "YOUR_PAYFETCH_APPROVER",
        "PAYFETCH_VIA": "YOUR_PAYFETCH_VIA"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "payfetch": {
      "command": "npx",
      "args": [
        "-y",
        "@forum-labs/[email protected]"
      ],
      "env": {
        "PAYFETCH_PRIVATE_KEY": "YOUR_PAYFETCH_PRIVATE_KEY",
        "PAYFETCH_KEY_FILE": "YOUR_PAYFETCH_KEY_FILE",
        "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",
        "PAYFETCH_CDP_ACCOUNT_NAME": "YOUR_PAYFETCH_CDP_ACCOUNT_NAME",
        "PAYFETCH_DATA_DIR": "YOUR_PAYFETCH_DATA_DIR",
        "PAYFETCH_TEST_MODE": "YOUR_PAYFETCH_TEST_MODE",
        "PAYFETCH_APPROVER": "YOUR_PAYFETCH_APPROVER",
        "PAYFETCH_VIA": "YOUR_PAYFETCH_VIA"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "payfetch": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@forum-labs/[email protected]"
      ],
      "env": {
        "PAYFETCH_PRIVATE_KEY": "YOUR_PAYFETCH_PRIVATE_KEY",
        "PAYFETCH_KEY_FILE": "YOUR_PAYFETCH_KEY_FILE",
        "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",
        "PAYFETCH_CDP_ACCOUNT_NAME": "YOUR_PAYFETCH_CDP_ACCOUNT_NAME",
        "PAYFETCH_DATA_DIR": "YOUR_PAYFETCH_DATA_DIR",
        "PAYFETCH_TEST_MODE": "YOUR_PAYFETCH_TEST_MODE",
        "PAYFETCH_APPROVER": "YOUR_PAYFETCH_APPROVER",
        "PAYFETCH_VIA": "YOUR_PAYFETCH_VIA"
      }
    }
  }
}
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

This server runs on your machine: we cannot test it remotely.

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.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.forum-labs/payfetch on L’Agora

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)

[![io.github.forum-labs/payfetch on L’Agora](https://lagora.dev/badge/io.github.forum-labs/payfetch.svg?lang=en)](https://lagora.dev/en/entry/io.github.forum-labs/payfetch)

HTML

<a href="https://lagora.dev/en/entry/io.github.forum-labs/payfetch"><img src="https://lagora.dev/badge/io.github.forum-labs/payfetch.svg?lang=en" alt="io.github.forum-labs/payfetch on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

Report this entry