Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

402 MCP

de forgeswornversión 3.15.2i★ –iSe ejecuta en tu computadora
Nombre en el registrodev.forgesworn/402-mcp

Instalar

Resumen

Descripción del creador (original en inglés)

AI agents discover, pay for, and consume any Lightning-gated API autonomously

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Otros
  • Debes completar: NWC_URI

Instalación

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

Antes de instalar

Los valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.

Necesitas

  • npmNode.js instalado (para el comando npx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

{
  "mcpServers": {
    "402": {
      "command": "npx",
      "args": [
        "-y",
        "402-mcp"
      ],
      "env": {
        "NWC_URI": "your-value",
        "MAX_AUTO_PAY_SATS": "your-value"
      }
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add 402 --env NWC_URI=your-value --env MAX_AUTO_PAY_SATS=your-value -- npx -y 402-mcp

Completa los valores vacíos antes de ejecutarlo.

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "402": {
      "command": "npx",
      "args": [
        "-y",
        "402-mcp"
      ],
      "env": {
        "NWC_URI": "your-value",
        "MAX_AUTO_PAY_SATS": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "402": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "402-mcp"
      ],
      "env": {
        "NWC_URI": "your-value",
        "MAX_AUTO_PAY_SATS": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Valores que debes completar

  • NWC_URI secreto env
    Nostr Wallet Connect URI for autonomous Lightning payments
  • MAX_AUTO_PAY_SATS env
    Maximum sats to auto-pay per request

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

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 7 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con el dominio forgesworn.dev (el registro comprueba quién es dueño del dominio)

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – 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

Comparado con otros en Otrosi

  • Más estrellas que el 0% de los otros 32606 servidores de esta categoría
  • Publicado en el registro más recientemente que el 6% de los otros 32606 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 32606 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 402 MCP?

Superó 1 de 1 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: NWC_URI

¿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 –, y la última versión (3.15.2) llegó al registro hace 7 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: Spec Driven Development, Remote Desktop Commander, Georgia MCP

Alternativas

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

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

Spec Driven Development

de formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

Se ejecuta en tu computadora★ 440MITActualizado hace 14 meses
Instalar

Remote Desktop Commander

de desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

Se ejecuta en la nube★ 211Actualizado anteayer
Instalar

Georgia MCP

de abgeo

An MCP server for Georgian public data, read from the organizations that publish it.

Computadora o nubeActualizado hoy
Instalar

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.

402-mcp

Nostr: npub1mgvlrnf5hm9yf0n5mf9nqmvarhvxkc6remu5ec3vf8r0txqkuk7su0e7q2

L402 client MCP that gives AI agents economic agency. Discover, pay for, and consume Lightning and ecash payment-gated APIs within limits you set: no human registration, no API keys, no middlemen.

  • Discover paid APIs on Nostr, no URLs needed upfront
  • Auto-pay with Lightning (NWC), Cashu ecash, LNURLcash bearer notes, or human QR fallback
  • Credentials cached and encrypted at rest (AES-256-GCM)
  • Works with any L402 server: toll-booth, Aperture, or any future implementation

Quick start

There is no install step: npx fetches 402-mcp when your MCP client first starts it. Running npx 402-mcp by hand only starts a stdio server that waits for a client on standard input (stop it with Ctrl+C), so do that to check it launches, not to use it.

1. Connect it to your MCP client

Claude Code:

claude mcp add 402-mcp -- npx 402-mcp

Claude Desktop or Cursor, in the MCP configuration file:

{

"mcpServers": { "402-mcp": { "command": "npx", "args": ["402-mcp"] } } }

2. Try it

Ask Claude: *"Search for paid joke APIs using l402-search"*, no wallet needed, just discovery.

3. Pay for calls (optional): connect an NWC wallet

402-mcp reads the Nostr Wallet Connect URI from a private file, never from an environment variable or a command line. Create the file with owner-only permissions first, then paste the URI into it with an editor so it stays out of your shell history:

mkdir -p ~/.402-mcp

touch ~/.402-mcp/wallet.nwc chmod 600 ~/.402-mcp/wallet.nwc

open ~/.402-mcp/wallet.nwc in an editor, paste the URI on one line, save

The URI comes from your wallet service and looks like this, with your own values in place of the placeholders:

nostr+walletconnect://<wallet-pubkey-hex>?relay=<wss-relay-url>&secret=<secret-hex>

It needs a 64-character hex wallet pubkey, one to eight relay values, one 64-character hex secret, and may carry lud16; any other parameter is rejected. The file must be a regular, non-empty file under 8 KiB, and on macOS and Linux it is refused unless group and other have no permissions (chmod 600). Create the connection with pay_invoice permission and a spending budget (lookup_invoice as well lets l402-reconcile ask the wallet about unknown outcomes). The wallet must support NIP-44 v2 encryption.

Then register 402-mcp with the absolute path ($HOME expands in your shell when you run the command):

claude mcp remove 402-mcp

claude mcp add 402-mcp -e NWC_URI_FILE="$HOME/.402-mcp/wallet.nwc" -e MAX_AUTO_PAY_SATS=1000 -- npx 402-mcp

For Claude Desktop or Cursor, add an env block to the same server entry. JSON does not expand ~ or $HOME, so write out the absolute path of the file you created:

{

"mcpServers": { "402-mcp": { "command": "npx", "args": ["402-mcp"], "env": { "NWC_URI_FILE": "/absolute/path/to/.402-mcp/wallet.nwc", "MAX_AUTO_PAY_SATS": "1000" } } } }

A raw NWC_URI variable is refused at startup. For Cashu, LNURLcash or no wallet at all, and a first paid call, see the full quickstart guide.

Requires Node.js 22.4 or newer.

How it works

graph LR

A["1. l402-config()"] --> B["2. l402-discover(url)"] B --> C["3. Agent reasons about pricing"] C --> D["4. l402-buy-credits() or l402-fetch(autoPay)"] E["5. l402-fetch(url) with stored credential"] D --> E E --> F["6. Data returned

  • balance cached"]

Example session:

Agent: "I need routing data from routing.example.com"
  1. l402-config() -> nwcConfigured: true, maxAutoPaySats: 1000
  1. l402-discover("https://routing.example.com/api/route") -> 10 sats/request, toll-booth detected, tiers available
  1. Agent reasons: "I need ~20 requests. The 500-sat tier gives 555 credits. Better value."
  1. l402-buy-credits(url, amountSats=500) -> Paid 500 sats, received 555 credits
  1. l402-fetch("https://routing.example.com/api/route?from=...&to=...") -> 200 OK, route data, 545 credits remaining

Step 5 needs no autoPay: step 4 stored a credential for that server and l402-fetch sends it. Without a stored credential, l402-fetch pays nothing unless autoPay: true is set; it returns the price and a paymentHash instead (see Spending limits).

For detailed architecture and payment flow diagrams, see docs/architecture.md.

Configuration

VariableDefaultDescription
NWC_URI_FILE-Path to a private 0600 file containing the NWC bearer URI
CASHU_TOKENS-Path to Cashu token store file. Must be within your home directory
LNURLCASH_NOTES-Path to LNURLcash bearer note store file (LUD-25). Must be within your home directory
MAX_AUTO_PAY_SATS1000Most a single automatic payment may cost. Anything dearer is not paid; the challenge goes back to the agent. 0 disables auto-pay
MAX_SPEND_PER_MINUTE_SATS10000Automatic spend allowed in any rolling 60 seconds. 0 blocks all auto-pay. At the defaults the daily cap below binds first (see Spending limits)
MAX_SPEND_PER_DAY_SATS5000Automatic spend allowed in any rolling 24 hours, kept in ~/.402-mcp/spend-ledger.json so a restart does not reset it. 0 blocks all auto-pay
CREDENTIAL_STORE~/.402-mcp/credentials.jsonPersistent macaroon/credential storage. Must be within your home directory
TRANSPORTstdioTransport mode: stdio or http
PORT3402HTTP server port (when TRANSPORT=http)
BIND_ADDRESS127.0.0.1HTTP bind address
HTTP_AUTH_TOKEN_FILE-Private 0600 file holding the bearer token HTTP clients must send. Required when TRANSPORT=http
HTTP_ALLOWED_HOSTS-Extra Host header values the HTTP transport accepts (comma-separated), such as a reverse proxy's name
CORS_ORIGINdisabledCORS origin for the HTTP transport (* or one origin). * logs a warning: any website could then call the server
TRANSPORT_PREFERENCEonion,hns,https,httpPreferred transport order for multi-URL services (comma-separated)
TOR_PROXY-SOCKS5 proxy for .onion addresses only (e.g. socks5h://127.0.0.1:9050)
SOCKS_PROXY-SOCKS5 proxy for every paid-API request (e.g. Tor at socks5h://127.0.0.1:9050). Set this or TOR_PROXY, not both
HNS_GATEWAY_URLhttps://query.hdns.io/DNS-over-HTTPS resolver used for Handshake names. Any host name that ordinary DNS cannot find is looked up here
HUMAN_PAY_TIMEOUT_S600How long the human payer polls the server for settlement, in seconds, when there is no payment page to poll
HUMAN_PAY_POLL_S3First polling interval for the human payer, in seconds. It backs off to 30
FETCH_TIMEOUT_MS30000Timeout for each outbound HTTP request
FETCH_MAX_RETRIES2Retries for non-mutating requests. Money-mutating POSTs are never retried
FETCH_MAX_RESPONSE_BYTES10485760Largest response body accepted (10 MiB)
SSRF_ALLOW_PRIVATEfalseAllow requests to private and loopback addresses. Local development only
ALLOW_INSECURE_TLSfalseAcknowledge the risk when NODE_TLS_REJECT_UNAUTHORIZED=0 is set. Without it (or SSRF_ALLOW_PRIVATE=true), 402-mcp refuses to start in that case

NWC_URI and HTTP_AUTH_TOKEN are refused at startup: both secrets are read only from their *_FILE variables. The spend caps, MAX_AUTO_PAY_SATS and FETCH_MAX_RETRIES must be non-negative whole numbers; the timeouts, the size limit and the poll interval at least 1; PORT 1 to 65535.

Transport selection and fallback

When a kind 31402 event advertises multiple URLs (one per transport), 402-mcp selects the best one based on your configuration:

  1. Preference first: URLs are tried in TRANSPORT_PREFERENCE order, onion,hns,https,http by default. Use onion, hns, https and http as the values; there is no value for anything else. A URL counts as hns when its TLD is .hns. One whose TLD is merely unfamiliar (.pub, .fyi) is more likely an ICANN name, so it has no value of its own: it counts as a guessed hns name and is tried just after whichever of hns and https comes later in your order, which is just after https by default. If you leave hns out of TRANSPORT_PREFERENCE, such URLs go last.
  2. Capability filter: .onion URLs are skipped unless TOR_PROXY or SOCKS_PROXY is set, so without a proxy the default order starts at HNS and clearnet.
  3. Availability fallback: if a transport is unreachable (connection refused, timeout), the next URL is tried.

Services can announce multiple endpoints for the same service (same pricing, same macaroon key) on different transports. This is purely for censorship resistance; you do not need to re-authenticate when switching transports. .onion endpoints need TOR_PROXY or SOCKS_PROXY. Handshake endpoints need no configuration, because HNS_GATEWAY_URL has a default, except under SOCKS_PROXY, which switches Handshake lookups off (see Tor and SOCKS5).

Credentials across transports. When l402-fetch is given a service's pubkey (from l402-search), it stores and looks up the credential under that pubkey, so one purchase serves every transport URL passed in urls. Without a pubkey the credential is keyed by the request's origin. Either way the credential records the origins it was bought through and is sent only to those, whatever pubkey a later request names. A macaroon bought through a Tor hidden service therefore works on the clearnet URL when both were in urls at purchase, and is never sent to any other host.

Tor and SOCKS5
  • `TOR_PROXY` sends .onion requests through the proxy. Everything else connects directly.
  • `SOCKS_PROXY` sends every request to a paid API through the proxy, including redirects. Host names are resolved by the proxy, never by this machine, so a Tor proxy hides both your IP and the names you look up. The SSRF guard still refuses private IP literals and local names such as localhost; it cannot see what a name resolves to on the far side, which Tor exits refuse for private ranges anyway.

Neither setting covers wallet or discovery traffic: NWC relays, Cashu and LNURLcash mints, and the Nostr relays l402-search queries still connect directly. Handshake lookups are switched off under SOCKS_PROXY, because the DNS-over-HTTPS query would go around the proxy.

SOCKS5 support comes from undici's Socks5ProxyAgent, which Node marks experimental; expect one ExperimentalWarning on stderr when a proxy is configured.

Tools

Core L402 (any server)
ToolDescription
l402-configIntrospect payment capabilities (wallets, limits, credential count)
l402-discoverProbe an endpoint to discover pricing without paying

| l402-fetch-preview | Show what an endpoint costs withou

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

Pregunta a PopNx