Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Inicia sesión con Google para escribir reseñas.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

Payfetch

de forum-labsversión 1.0.0i★ 0iSe ejecuta en tu computadora
Nombre en el registroio.github.forum-labs/payfetch

Cómo instalar

What it does

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

  • Connects Se ejecuta en tu computadora
  • Account or key Needs PAYFETCH_PRIVATE_KEY, PAYFETCH_CDP_API_KEY_ID, PAYFETCH_CDP_API_KEY_SECRET, PAYFETCH_CDP_WALLET_SECRET
  • Category Otros

Instalación

Elige la app de IA que usas y copia la configuración.

Pasó 3/3 revisiones · Funciona en tu computadora

Primero: ¿qué IA usas?

Elige tu app y los pasos aparecen abajo.

Funciona con Claude, pero hay que preparar algo antes

Necesitas una clave de Payfetch (créala en el sitio del autor) · Instala Node.js en tu computadora primero (una sola vez) · Solo en la app de Claude para computadora (Windows o Mac), no en la web ni en el móvil

  1. Instala Node.js

    Una sola vez; sirve para todos los servidores que necesitan Node.js

    Abrir la página de descarga de Node.js ↗

  2. Regístrate y crea una clave de Payfetch

    Abre el sitio del autor, crea una cuenta y una clave de API para el siguiente paso. Consulta precios y planes gratis en su sitio.

    Cómo obtener la clave está en el README del autor, más abajo

  3. Abre el archivo de configuración de la app de Claude de escritorio

    SettingsDeveloperEdit Config

  4. Pega esta configuración y guarda el archivo

    {
      "mcpServers": {
        "payfetch": {
          "command": "npx",
          "args": [
            "-y",
            "@forum-labs/payfetch"
          ],
          "env": {
            "PAYFETCH_PRIVATE_KEY": "your-value",
            "PAYFETCH_KEY_FILE": "your-value",
            "PAYFETCH_CDP_API_KEY_ID": "your-value",
            "PAYFETCH_CDP_API_KEY_SECRET": "your-value",
            "PAYFETCH_CDP_WALLET_SECRET": "your-value",
            "PAYFETCH_CDP_ACCOUNT_NAME": "your-value",
            "PAYFETCH_DATA_DIR": "your-value",
            "PAYFETCH_TEST_MODE": "your-value",
            "PAYFETCH_APPROVER": "your-value",
            "PAYFETCH_VIA": "your-value"
          }
        }
      }
    }

    Pega la clave solo en el campo de la app; nunca en un chat ni se la envíes a nadie

  5. Cierra Claude y vuelve a abrirlo

  6. Pruébalo

    Usa Payfetch y dime qué puedes hacer por mí; luego muéstrame una cosa

    ✓ Si Claude dice que está usando Payfetch o muestra una herramienta de Payfetch en la respuesta, ya está conectado

Nombres de menú comprobados con la ayuda de Anthropic el 11 nov 2026 · tu pantalla puede variar un poco según la versión

ChatGPT todavía no puede conectar Payfetch

Payfetch se instala en tu computadora, pero ChatGPT solo conecta servidores que funcionan en la web

Lo que puedes hacer en su lugar

A · Usa una app que pueda conectar Payfetch

  • Necesitas una clave de Payfetch (créala en el sitio del autor) · Instala Node.js en tu computadora primero (una sola vez) · Solo en la app de Claude para computadora (Windows o Mac), no en la web ni en el móvil
  • Necesitas una clave de Payfetch (créala en el sitio del autor) · Instala Node.js en tu computadora primero (una sola vez)
  • Necesitas una clave de Payfetch (créala en el sitio del autor) · Instala Node.js en tu computadora primero (una sola vez)
  • Necesitas una clave de Payfetch (créala en el sitio del autor) · Instala Node.js en tu computadora primero (una sola vez)

B · Otros en Otros que funcionan con ChatGPT

Elegidos entre los más usados de la misma categoría, solo los que se conectan con una dirección y sin clave

Funciona con Claude Code, pero hay que preparar algo antes

Necesitas una clave de Payfetch (créala en el sitio del autor) · Instala Node.js en tu computadora primero (una sola vez)

  1. Instala Node.js

    Una sola vez; sirve para todos los servidores que necesitan Node.js

    Abrir la página de descarga de Node.js ↗

  2. Regístrate y crea una clave de Payfetch

    Abre el sitio del autor, crea una cuenta y una clave de API para el siguiente paso. Consulta precios y planes gratis en su sitio.

    Cómo obtener la clave está en el README del autor, más abajo

  3. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: abre PowerShell

  4. Pega este comando y pulsa Enter

    claude mcp add --scope user payfetch --env PAYFETCH_PRIVATE_KEY=your-value --env PAYFETCH_KEY_FILE=your-value --env PAYFETCH_CDP_API_KEY_ID=your-value --env PAYFETCH_CDP_API_KEY_SECRET=your-value --env PAYFETCH_CDP_WALLET_SECRET=your-value --env PAYFETCH_CDP_ACCOUNT_NAME=your-value --env PAYFETCH_DATA_DIR=your-value --env PAYFETCH_TEST_MODE=your-value --env PAYFETCH_APPROVER=your-value --env PAYFETCH_VIA=your-value -- npx -y @forum-labs/payfetch

    Cambia “your-value” por tu clave antes de pulsar Enter

    Pega la clave solo en el campo de la app; nunca en un chat ni se la envíes a nadie

  5. Escribe /mcp en Claude Code

    Deberías ver Payfetch en la lista como conectado

  6. Pruébalo

    Usa Payfetch y dime qué puedes hacer por mí; luego muéstrame una cosa

    ✓ Si Claude Code dice que está usando Payfetch o muestra una herramienta de Payfetch en la respuesta, ya está conectado

Nombres de menú comprobados con la ayuda de Anthropic el 11 nov 2026 · tu pantalla puede variar un poco según la versión

Funciona con Cursor, pero hay que preparar algo antes

Necesitas una clave de Payfetch (créala en el sitio del autor) · Instala Node.js en tu computadora primero (una sola vez)

  1. Instala Node.js

    Una sola vez; sirve para todos los servidores que necesitan Node.js

    Abrir la página de descarga de Node.js ↗

  2. Regístrate y crea una clave de Payfetch

    Abre el sitio del autor, crea una cuenta y una clave de API para el siguiente paso. Consulta precios y planes gratis en su sitio.

    Cómo obtener la clave está en el README del autor, más abajo

  3. Pulsa este botón para abrir Cursor

    Abrir en Cursor

    Cursor te pedirá confirmar; pulsa Install

  4. Escribe tu clave

    En la configuración de Payfetch, 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 está vacío; añade tu clave y guarda

    Pega la clave solo en el campo de la app; nunca en un chat ni se la envíes a nadie

  5. Abre el chat de IA de Cursor en modo Agent

  6. Pruébalo

    Usa Payfetch y dime qué puedes hacer por mí; luego muéstrame una cosa

    ✓ Si Cursor dice que está usando Payfetch o muestra una herramienta de Payfetch en la respuesta, ya está conectado

Nombres de menú comprobados con la ayuda de Cursor el 11 nov 2026 · tu pantalla puede variar un poco según la versión

Funciona con VS Code, pero hay que preparar algo antes

Necesitas una clave de Payfetch (créala en el sitio del autor) · Instala Node.js en tu computadora primero (una sola vez)

  1. Instala Node.js

    Una sola vez; sirve para todos los servidores que necesitan Node.js

    Abrir la página de descarga de Node.js ↗

  2. Regístrate y crea una clave de Payfetch

    Abre el sitio del autor, crea una cuenta y una clave de API para el siguiente paso. Consulta precios y planes gratis en su sitio.

    Cómo obtener la clave está en el README del autor, más abajo

  3. Pulsa este botón para abrir VS Code

    Abrir en VS Code

    VS Code te pedirá confirmar; pulsa Install

  4. Escribe tu clave

    En la configuración de Payfetch, 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 está vacío; añade tu clave y guarda

    Pega la clave solo en el campo de la app; nunca en un chat ni se la envíes a nadie

  5. Abre el chat de IA de VS Code en modo Agent

  6. Pruébalo

    Usa Payfetch y dime qué puedes hacer por mí; luego muéstrame una cosa

    ✓ Si VS Code dice que está usando Payfetch o muestra una herramienta de Payfetch en la respuesta, ya está conectado

Nombres de menú comprobados con la ayuda de VS Code el 11 nov 2026 · tu pantalla puede variar un poco según la versión

Otras apps que usan MCP, como Windsurf, Zed o Gemini CLI, añaden servidores de forma distinta. Míralo en la lista de apps

Ver todas las apps que usan MCP →

La configuración JSON está en “Para desarrolladores”, abajo

¿Te atascaste? Pregunta a quien usa Payfetch💬 Conversación →
Para desarrolladores: comandos de Terminal y configuración JSON

Instalado en tu computadora

Claude Code

claude mcp add --scope user payfetch --env PAYFETCH_PRIVATE_KEY=your-value --env PAYFETCH_KEY_FILE=your-value --env PAYFETCH_CDP_API_KEY_ID=your-value --env PAYFETCH_CDP_API_KEY_SECRET=your-value --env PAYFETCH_CDP_WALLET_SECRET=your-value --env PAYFETCH_CDP_ACCOUNT_NAME=your-value --env PAYFETCH_DATA_DIR=your-value --env PAYFETCH_TEST_MODE=your-value --env PAYFETCH_APPROVER=your-value --env PAYFETCH_VIA=your-value -- npx -y @forum-labs/payfetch

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "payfetch": {
      "command": "npx",
      "args": [
        "-y",
        "@forum-labs/payfetch"
      ],
      "env": {
        "PAYFETCH_PRIVATE_KEY": "your-value",
        "PAYFETCH_KEY_FILE": "your-value",
        "PAYFETCH_CDP_API_KEY_ID": "your-value",
        "PAYFETCH_CDP_API_KEY_SECRET": "your-value",
        "PAYFETCH_CDP_WALLET_SECRET": "your-value",
        "PAYFETCH_CDP_ACCOUNT_NAME": "your-value",
        "PAYFETCH_DATA_DIR": "your-value",
        "PAYFETCH_TEST_MODE": "your-value",
        "PAYFETCH_APPROVER": "your-value",
        "PAYFETCH_VIA": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "payfetch": {
      "command": "npx",
      "args": [
        "-y",
        "@forum-labs/payfetch"
      ],
      "env": {
        "PAYFETCH_PRIVATE_KEY": "your-value",
        "PAYFETCH_KEY_FILE": "your-value",
        "PAYFETCH_CDP_API_KEY_ID": "your-value",
        "PAYFETCH_CDP_API_KEY_SECRET": "your-value",
        "PAYFETCH_CDP_WALLET_SECRET": "your-value",
        "PAYFETCH_CDP_ACCOUNT_NAME": "your-value",
        "PAYFETCH_DATA_DIR": "your-value",
        "PAYFETCH_TEST_MODE": "your-value",
        "PAYFETCH_APPROVER": "your-value",
        "PAYFETCH_VIA": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "payfetch": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@forum-labs/payfetch"
      ],
      "env": {
        "PAYFETCH_PRIVATE_KEY": "your-value",
        "PAYFETCH_KEY_FILE": "your-value",
        "PAYFETCH_CDP_API_KEY_ID": "your-value",
        "PAYFETCH_CDP_API_KEY_SECRET": "your-value",
        "PAYFETCH_CDP_WALLET_SECRET": "your-value",
        "PAYFETCH_CDP_ACCOUNT_NAME": "your-value",
        "PAYFETCH_DATA_DIR": "your-value",
        "PAYFETCH_TEST_MODE": "your-value",
        "PAYFETCH_APPROVER": "your-value",
        "PAYFETCH_VIA": "your-value"
      }
    }
  }
}

Valores que debes completar

  • PAYFETCH_PRIVATE_KEY secreto env
    0x-hex EVM private key for a DEDICATED low-balance wallet. Set exactly ONE signer source.
  • PAYFETCH_KEY_FILE env
    Path to a chmod-600 file holding a 0x-hex key (signer alt).
  • PAYFETCH_CDP_API_KEY_ID secreto env
    Coinbase CDP server-wallet key id (YOUR account).
  • PAYFETCH_CDP_API_KEY_SECRET secreto env
    Coinbase CDP API key secret.
  • PAYFETCH_CDP_WALLET_SECRET secreto env
    Coinbase CDP wallet secret.
  • PAYFETCH_CDP_ACCOUNT_NAME env
    Optional named CDP EVM account.
  • PAYFETCH_DATA_DIR env
    Ledger/state/config root. Default ~/.payfetch.
  • PAYFETCH_TEST_MODE env
    Any value -> receipts test:true, Base mainnet refused (Sepolia only).
  • PAYFETCH_APPROVER env
    Set to 1 to grant approval authority (never with a queue-capable mode).
  • PAYFETCH_VIA env
    Optional via= attribution slug sent on guard calls only.

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

De un vistazo

Descargas por semanai
56/sem
Conexión
Se ejecuta en tu computadora
Última versióni
1.0.0
Categoríai
Otros
Publicado en el registroi
7 jul 2026
Último cambio de códigoi
10 jul 2026
Creador
forum-labs
Paquetes
npm: @forum-labs/payfetch
Estado en el registro
Activo

Qué apps pueden usarlo

Según cómo se conecta este servidor y la documentación de cada app, comprobado el 10 nov 2026.

Se ejecutan en tu computadora en

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

Todas las apps, con ventajas y desventajas →

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 12 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub forum-labs, dueña del repo

  • ✓ Superada

    Sigue en mantenimiento

    Último cambio de código: hace 4 meses

  • ✓ Superada

    Tiene licencia

    Usa MIT

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Conversación

Pregunta, comparte un consejo o avisa de que no funciona. Ordenado por lo que la gente marcó como útil.

Aún no hay publicaciones. Sé la primera persona en preguntar o compartir.

Lo publicado aquí lo escriben usuarios, no el equipo de PopNx.

Inicia sesión con Google para publicar

Reseñas de usuarios

Aún no hay reseñas

Inicia sesión con Google para escribir una reseña

Comparado con otros en Otrosi

  • Más estrellas que el 0% de los otros 19313 servidores de esta categoría
  • Publicado en el registro más recientemente que el 12% de los otros 19313 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 19313 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro Payfetch?

Superó 3 de 3 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

Debes completar: PAYFETCH_PRIVATE_KEY, PAYFETCH_CDP_API_KEY_ID, PAYFETCH_CDP_API_KEY_SECRET, PAYFETCH_CDP_WALLET_SECRET

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez hace 4 meses, y la última versión (1.0.0) llegó al registro hace 4 meses.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Node.js en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: World Monitor, Claude Flow, Windmill

Otros de la misma categoría

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:↓ Descargas por semanai★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 102 tools.

de koala73Muy usado★ 90,5 milActualizado hoy

Se ejecuta en la nube✓ del servicio · worldmonitor.app

Claude Flow

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

de ruvnetMuy usado↓ 13,5 mil/sem★ 81,5 milActualizado hace 14 meses

Se ejecuta en tu computadora

Windmill

Run Windmill scripts and flows and manage jobs, schedules, resources and variables.

de windmill-labsMuy usado★ 18,5 milActualizado hoy

Se ejecuta en la nube

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

payfetch

payfetch lets an AI agent fetch a URL and, when the server answers HTTP 402 (the x402 payment protocol), pay for it automatically, but only within a spending policy you control. It is non-custodial: you bring your own wallet, the key stays on your machine, and no MCP tool can raise the limits. It ships as a local stdio MCP server with a small library and CLI alongside it.

The reference x402 clients pay whatever a 402 asks for. payfetch is the opposite: the policy and safety surface is the point. Per-call, per-day, and per-host spend caps; host allow and deny lists; a human-approval threshold; optional pre-payment trust and safety checks; and an append-only local receipt for every attempt, whether it paid, was denied, was a dry run, or failed.

  • Website: https://forum-labs.com
  • Source: https://github.com/forum-labs/payfetch

Status and scope

  • Version 1.0.0. Policy schema p3f.policy.v1, client schema p3f-1.0.0.
  • x402 only, Base USDC, the exact scheme. Solana-settled x402, the upto scheme, and MPP are parsed and then refused with a reason recorded in your receipts.
  • Requires Node 22 or newer. Windows is not supported.
  • USD is treated as USDC at 1.00. Budgets are denominated in USD and settle in USDC, so a depeg makes the caps wrong by the depeg factor.

Install

The package ships compiled JavaScript, so there is no build step and no tsx for consumers. Run it on demand with npx:

# Operator CLI (status, verify, clear-autodeny, report):

npx @forum-labs/payfetch status

MCP server (what an MCP client launches):

npx -p @forum-labs/payfetch payfetch-mcp

The package exposes two binaries: payfetch (the operator CLI) and payfetch-mcp (the stdio MCP server). Because there are two, the server is launched with npx -p @forum-labs/payfetch payfetch-mcp; the -p flag selects the named binary.

Quickstart

1. Configure a wallet (pick exactly one signer)

payfetch refuses to start if zero or more than one signer source is set. It never guesses which wallet to spend from.

Raw private key, the simplest option. Use a dedicated low-balance wallet:

export PAYFETCH_PRIVATE_KEY=0xabc...

Key file, which must be mode 600 (payfetch refuses to start otherwise):

printf '0xabc...' > ~/.payfetch-wallet.key && chmod 600 ~/.payfetch-wallet.key

export PAYFETCH_KEY_FILE=~/.payfetch-wallet.key

Coinbase CDP server wallet, where the keys are managed by CDP under your account instead of being pasted into an environment variable:

export PAYFETCH_CDP_API_KEY_ID=...

export PAYFETCH_CDP_API_KEY_SECRET=... export PAYFETCH_CDP_WALLET_SECRET=... export PAYFETCH_CDP_ACCOUNT_NAME=payfetch # optional; stable name across restarts

2. Wire it into an MCP client

Claude Desktop, in claude_desktop_config.json:

{

"mcpServers": { "payfetch": { "command": "npx", "args": ["-y", "-p", "@forum-labs/payfetch", "payfetch-mcp"], "env": { "PAYFETCH_PRIVATE_KEY": "0xabc...", "PAYFETCH_TEST_MODE": "1" } } } }

Claude Code:

claude mcp add payfetch \

--env PAYFETCH_PRIVATE_KEY=0xabc... \ --env PAYFETCH_TEST_MODE=1 \ -- npx -y -p @forum-labs/payfetch payfetch-mcp

The examples set PAYFETCH_TEST_MODE=1 so your first runs settle on Base Sepolia and never touch mainnet. Drop it when you are ready to spend real USDC.

3. First paid fetch

Quote before you pay. payment_quote returns the terms, the selected quote, the trust-check result, your remaining budgets, and the policy decision (would_pay or would_deny). It signs nothing and reserves nothing:

{ "url": "https://api.example.com/paid-endpoint" }

Dry run the whole pipeline. paid_fetch with "dryRun": true runs the exact code path a real payment takes, up to but not including the signature.

Pay for real with paid_fetch:

{ "url": "https://api.example.com/paid-endpoint", "maxAmountUsd": 0.25 }

maxAmountUsd tightens the per-call cap for this one call. It can only lower the limit, never raise it. If the price is above your approval threshold, approval is required first (see Approvals). The result carries the response body, the payment outcome and transaction reference, any warnings, and a receiptId.

The spending policy

Policy lives in {dataDir}/config.json (the data dir defaults to ~/.payfetch). On first run payfetch writes the defaults there so you can read and edit exactly what you are running. A missing file falls back to the defaults. An invalid file fails closed: every paying tool returns policy_config_invalid until you fix it, so a typo never silently restores a cap you lowered. The file is re-read when its mtime changes.

Only you can change the policy. No MCP tool mutates it and no tool clears an auto-deny. Agent-supplied parameters such as maxAmountUsd can only tighten, never loosen. Every denied paid_fetch result repeats this back to the agent so a prompt-injected model cannot mistake the boundary for something negotiable.

Caps
  • caps.perCallUsd (default 1.00): maximum for a single payment.
  • caps.dailyUsd (default 2.00): maximum per UTC day.
  • caps.perHostDailyUsd (default 1.00): maximum per host per UTC day.
  • caps.totalUsd (default null): optional lifetime cap.

Caps are hard and reserve before paying. A signed authorization is held against the budget until it provably expires, so budgets can over-count but never under-count. At most one payment attempt happens per request, so a retry loop cannot drain the wallet.

There is deliberately no default lifetime cap. The dedicated wallet's balance already bounds lifetime spend on-chain (see Security), so a software lifetime ceiling would be one more field to forget. Set totalUsd only if you want a software ceiling on top of a larger-balance wallet.

Allow and deny lists

mode is open by default. Set it to allowlist to pay only hosts listed in allow. Patterns in deny are always refused and win over allow. A pattern like *.example.com matches subdomains, not the apex.

Approvals

A payment whose price is strictly above approval.thresholdUsd (default 0.10) triggers approval. An approval authorizes one payment only. There is no "always allow", and it never widens future authority.

  • elicit (default): the client prompts a human with the host, resource, amount, network and asset, guard results, and today's remaining budgets. They approve once or deny. The prompt times out after 120 seconds and is then treated as a denial. Some MCP clients cannot service an elicitation prompt: as of Claude Code v2.1.198 and current Claude Desktop, neither does (Claude Code does not advertise the elicitation capability; Claude Desktop advertises it but cancels the prompt immediately). When a client adds elicitation support, the prompt works with no payfetch change. payfetch tells apart a real human "deny" from a client that simply cannot ask, and it never treats "cannot ask" as a silent denial. When a payment is blocked only because the client cannot elicit, the tool result says so and names the ways to allow it.
  • queue: the payment is not executed. The result returns an approvalId. A human with approval authority resolves it with the approve_pending tool. An approved entry is a grant to re-run: the follow-up paid_fetch runs the full pipeline again and matches on host and exact amount. It expires after one hour, and drifted terms require a fresh approval.
  • deny: anything above the threshold is refused, for unattended fleets.

For clients that cannot prompt a human, two config-only settings let above-threshold payments through without a dialog. Both are explicit operator authorization, not the agent's, and neither is reachable from a tool. approval.preApprovedUpToUsd (default null) auto-approves above-threshold payments up to a ceiling. approval.preApprovedHosts (default empty) auto-approves specific hosts. Both still pass through every cap and every guard.

Approval never bypasses caps. An approved payment that fails budget reservation is still denied.

approve_pending with {"action":"list"} is always allowed and shows the queue. Approving or denying an entry requires PAYFETCH_APPROVER=1 in the server's environment; without it the tool returns approver_not_enabled. An agent must not approve its own payments, so the server refuses to start if PAYFETCH_APPROVER=1 is combined with a queue-capable approval mode.

Receipts

Every outcome, including free fetches, dry runs, denials, and unknown-settlement cases, appends one immutable JSON line to the ledger:

{dataDir}/ledger/{yyyy-mm}.jsonl   # append-only, monthly rotation, fsync on payments

{dataDir}/state.json # disposable cache, rebuildable from the ledger {dataDir}/downloads/{receiptId} # response bodies when responseMode is "file"

A receipt records the URL, method, and host; the outcome and deny code; the pipeline steps traversed; the selected quote and a tally of rejected quotes; guard results; approval info; the payment (payer address, nonce, validBefore, settled amount, transaction reference, and whether it confirmed); the budgets at decision time; and an HTTP summary. Key material, signatures, full payment payloads, response bodies, and request header values are never stored. Response bodies are recorded as a SHA-256 hash plus a byte count. URL query strings are stored, because this is your own audit trail on your own disk; guard calls, by contrast, strip the query (see Security). Nothing is rewritten. Corrections append p3f.adjust.v1 records.

Query receipts with the list_receipts tool (filter by time, host, or outcome) or spend_status (today's totals, holds, and recent payments). After repeated paid-but-bad outcomes a host is auto-denied for 7 days; clear it out of band with payfetch clear-autodeny , never from a tool.

Trust and safety checks

payfetch can consult two checks before it pays. Both call paid Forum Labs APIs at https://api.forum-labs.com, and both are self-dealing that is disclosed here rather than buried: the guards call our own products. The default guard budget is 0, so by default the client uses only those products' free tier. Any paid guard usage is opt-in, budgeted with guards.*.dailyBudgetUsd > 0, and produces a receipt like any other spend.

The trust check is on by default in advisory mode. Before paying, it asks whether the target endpoint has a reliable history. In advisory mode it warns; in enforce mode it blocks on the configured verdicts (unreliable by default). New endpoints without enough history come back unrated and pass by default, so the check does not strangle them. This check is the client's only outbound call to us; see Security for exactly what it sends and how to turn it off.

The safety check is off by default. When enabled it screens a token mint you pass in (tokenAddress) against the Forum Labs token safety API and blocks on a danger verdict, or on a serial_rugger deployer verdict in deep mode. deep is always a paid screen, so it needs dailyBudgetUsd > 0.

Security and disclosure

Read this before pointing payfetch at a funded wallet.

The wallet balance is your real limit

The primary control on how much a bug or a prompt-injected agent can spend is the balance of the wallet you point payfetch at, not the software caps. A wallet's balance is a hard on-chain bound: payfetch cannot spend a dollar that is not in the wallet, whatever the config says or the agent is told to do. So the first thing to get right is the wallet.

Create a fresh wallet, fund it with only the amount you are willing to lose entirely (a few dollars for a trial, a capped top-up for production), and give payfetch that wallet. Never your main wallet. R

Solo se muestra el principio; lee el resto en el repo