PA

payfetch MCP Server

Published by forum-labs

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

CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
1.0.0
SOURCE CHECKED
Dec 2, 2026

Quick answers

How do I add payfetch MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'PAYFETCH_PRIVATE_KEY=<your-payfetch-private-key>' --env 'PAYFETCH_CDP_API_KEY_ID=<your-payfetch-cdp-api-key-id>' --env 'PAYFETCH_CDP_API_KEY_SECRET=<your-payfetch-cdp-api-key-secret>' --env 'PAYFETCH_CDP_WALLET_SECRET=<your-payfetch-cdp-wallet-secret>' --transport stdio payfetch -- npx -y @forum-labs/payfetch

Replace the <your-…> placeholder with your own PAYFETCH_PRIVATE_KEY and PAYFETCH_CDP_API_KEY_ID and PAYFETCH_CDP_API_KEY_SECRET and PAYFETCH_CDP_WALLET_SECRET.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "payfetch": {
      "command": "npx",
      "args": [
        "-y",
        "@forum-labs/payfetch"
      ],
      "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>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own PAYFETCH_PRIVATE_KEY and PAYFETCH_CDP_API_KEY_ID and PAYFETCH_CDP_API_KEY_SECRET and PAYFETCH_CDP_WALLET_SECRET.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add payfetch --env 'PAYFETCH_PRIVATE_KEY=<your-payfetch-private-key>' --env 'PAYFETCH_CDP_API_KEY_ID=<your-payfetch-cdp-api-key-id>' --env 'PAYFETCH_CDP_API_KEY_SECRET=<your-payfetch-cdp-api-key-secret>' --env 'PAYFETCH_CDP_WALLET_SECRET=<your-payfetch-cdp-wallet-secret>' -- npx -y @forum-labs/payfetch

Replace the <your-…> placeholder with your own PAYFETCH_PRIVATE_KEY and PAYFETCH_CDP_API_KEY_ID and PAYFETCH_CDP_API_KEY_SECRET and PAYFETCH_CDP_WALLET_SECRET.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "payfetch": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@forum-labs/payfetch"
      ],
      "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>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own PAYFETCH_PRIVATE_KEY and PAYFETCH_CDP_API_KEY_ID and PAYFETCH_CDP_API_KEY_SECRET and PAYFETCH_CDP_WALLET_SECRET.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "payfetch": {
      "command": "npx",
      "args": [
        "-y",
        "@forum-labs/payfetch"
      ],
      "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>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own PAYFETCH_PRIVATE_KEY and PAYFETCH_CDP_API_KEY_ID and PAYFETCH_CDP_API_KEY_SECRET and PAYFETCH_CDP_WALLET_SECRET.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use payfetch MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does payfetch MCP Server need an API key?

To run it on your computer, set PAYFETCH_PRIVATE_KEY, PAYFETCH_CDP_API_KEY_ID, PAYFETCH_CDP_API_KEY_SECRET and PAYFETCH_CDP_WALLET_SECRET first, with values from the publisher.

Is payfetch MCP Server official?

It's published by forum-labs. The Official MCP Registry accepts names under io.github.forum-labs only from the GitHub account or organisation forum-labs. We last checked its listing on Dec 2, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · @forum-labs/payfetch@1.0.0
View source repository