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

Tollbooth Sample

de lonnievversión 0.5.0i★ –iSe ejecuta en la nube
Nombre en el registroio.github.lonniev/tollbooth-sample

Instalar

Resumen

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

Educational Weather Stats MCP Service — Tollbooth DPYC monetization sample

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 la nube
  • Transporte: Streamable HTTP
  • Categoría: Otros

Instalación

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

Antes de instalar

Necesitas

¿Qué app usas?

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

Funciona en Claude para web, escritorio y móvil:

  1. Abre Settings → Connectors
  2. Presiona Add custom connector
  3. Pega la dirección de abajo y presiona Add
  4. Si te pide iniciar sesión, inicia sesión en el servicio del creador
SettingsConnectors1+ Add2https://…3
https://tollbooth-sample.fastmcp.app/mcp

Ejecuta esto en tu terminal

claude mcp add --transport http tollbooth-sample https://tollbooth-sample.fastmcp.app/mcp

Abrir en Cursor

O copia la configuración tú

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

{
  "mcpServers": {
    "tollbooth-sample": {
      "url": "https://tollbooth-sample.fastmcp.app/mcp"
    }
  }
}

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": {
    "tollbooth-sample": {
      "type": "http",
      "url": "https://tollbooth-sample.fastmcp.app/mcp"
    }
  }
}

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ú.

ChatGPT solo se conecta a servidores en internet:

  1. Abre ChatGPT en la web → Settings → Connectors (Apps)
  2. Presiona Create o Add (en algunos planes primero hay que activar Developer mode en Advanced)
  3. Pega la dirección de abajo, ponle un nombre y guarda
  4. Si te pide iniciar sesión, inicia sesión en el servicio del creador
SettingsConnectors1+ Create2https://…3
https://tollbooth-sample.fastmcp.app/mcp

Los nombres de los menús pueden variar un poco según el plan y con el tiempo.

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

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

Todavía no hemos leído la lista de herramientas de este servidor; revisamos los endpoints por turnos.

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 la cuenta de GitHub lonniev, dueña del repo

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

  • … Aún sin revisar

    El endpoint responde

    Aún sin revisar; revisamos los endpoints por turnos

  • … Aún sin revisar

    Inicio de sesión con OAuth

    Aún sin revisar; revisamos los endpoints por turnos

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Aún sin revisar; leemos la lista de herramientas cuando revisamos el endpoint

Comparado con otros en Otrosi

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

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?

El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en la nube del creador. Te conectas por internet sin instalar nada, pero lo que envías pasa por los servidores del creador.

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (0.5.0) llegó al registro hace 16 días.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. Se conecta por URL, así que también funcionan las apps que aceptan servidores MCP remotos, como ChatGPT en modo desarrollador.

¿Qué puedo usar en su lugar?

En la misma categoría: Spec Driven Development, Remote Desktop Commander, Starreel

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

Starreel

de starreel

Turn a script into a finished, downloadable short-drama episode — via MCP or REST.

Se ejecuta en tu computadoraActualizado 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.

tollbooth-sample

Educational Weather Stats MCP Service — the reference implementation for building Tollbooth DPYC monetized API services with Bitcoin Lightning micropayments.

This service wraps the free Open-Meteo weather API and gates paid tool calls through the Tollbooth credit system using the @runtime.paid_tool() decorator. Domain tools contain only business logic; debit, rollback, balance warnings, and constraint evaluation are handled automatically by the OperatorRuntime. Standard DPYC tools (balance, purchase, Secure Courier, Oracle, pricing, constraints) are delegated to the wheel via register_standard_tools().

Build your own operator — the bootstrap-dpyc-operator skill

This repo doubles as a Claude Code plugin. The bootstrap-dpyc-operator skill turns your existing REST API, stdio MCP, or HTTP MCP into a monetized DPYC Operator MCP: it clones this template live, wraps your domain logic, and generates a deploy-ready project. You keep writing business logic — the SDK handles payments, identity, vault, audit, and pricing.

Install it in Claude Code:

/plugin marketplace add lonniev/tollbooth-sample

/plugin install bootstrap-dpyc-operator@tollbooth-dpyc

Then ask Claude to *"make my API a paid DPYC operator"* — the skill activates automatically by its description. It never touches your original code (it emits a sibling -mcp/ project) and reads this repo's live wheel pin on every run, so it can't go stale.

See skills/bootstrap-dpyc-operator/ for the skill and its reference guides (canonical pattern, source adapters, sessions & vaults, onboarding checklist).

The DPYC Economy

DPYC stands for Don't Pester Your Customer. It's a philosophy and protocol for API monetization that eliminates mid-session payment popups, subscription nag screens, and KYC friction.

How it works
  1. Pre-funded balances — Users buy credits via Bitcoin Lightning *before* using tools. Each tool call silently debits from their balance. No interruptions, no "please upgrade" modals.
  1. Nostr keypair identity — Users are identified by a Nostr public key (npub), not an email or password. One keypair per role, managed by the user. No account creation forms.
  1. UUID-keyed tool identity — Every tool is a ToolIdentity object with a deterministic UUID v5 derived from a capability name. Pricing hints come from the category field:
CategoryPricing hintUse case
free0 satsBalance checks, status
read1 satSimple lookups
write5 satsMulti-step operations
heavy10 satsExpensive queries

Actual prices are set dynamically by the operator's pricing model in Neon.

  1. Rollback on failure — If the downstream API fails after a debit, credits are automatically rolled back via a compensating tranche. The user never pays for a failed call.
  1. Social Contract — The DPYC ecosystem is a voluntary community bound by transparent, auditable economic rules, with a Certification Chain that cascades trust from the root:
  • Citizens — Users who consume API services
  • Operators — Developers who run MCP services (like this one)
  • Authorities — Certify operators and collect a small tax on purchases
  • First Curator — The root of the chain, mints the initial cert-sat supply

How Tollbooth Monetization Works

ToolIdentity and the frozen tool_id

Each domain tool is registered as a ToolIdentity with a frozen `tool_id` (an opaque UUID), a capability name, a category (pricing hint), and an intent description. Mint the UUID once at the tool's birth — run capability_uuid("get_current_weather") at a REPL (or uuid.uuid4()), then paste the result as a literal constant and never change it again. Freezing the literal is what lets you rename a capability later without orphaning its pricing rows in Neon. Do not call capability_uuid(...) at runtime; the identity must live in exactly one place:

from tollbooth.tool_identity import ToolIdentity, STANDARD_IDENTITIES

from tollbooth.runtime import OperatorRuntime, register_standard_tools from tollbooth.credential_templates import CredentialTemplate, FieldSpec from tollbooth.credential_validators import validate_btcpay_creds

Frozen UUIDs — minted once at tool birth, never recomputed.

GET_CURRENT_WEATHER_UUID = "b7327eb8-92b4-5252-84e0-ba3f437a16ed" GET_WEATHER_FORECAST_UUID = "b6d0e596-3aec-5a62-980b-7875aa04d079" GET_HISTORICAL_WEATHER_UUID = "5608f3e9-44c4-5b28-9744-704af6d701f0"

1. Define domain tool identities

_DOMAIN_TOOLS = [ ToolIdentity( tool_id=GET_CURRENT_WEATHER_UUID, capability="get_current_weather", category="read", intent="Get current weather conditions", ), ToolIdentity( tool_id=GET_WEATHER_FORECAST_UUID, capability="get_weather_forecast", category="write", intent="Get weather forecast", ), ToolIdentity( tool_id=GET_HISTORICAL_WEATHER_UUID, capability="get_historical_weather", category="heavy", intent="Get historical weather data", ), ]

TOOL_REGISTRY: dict[str, ToolIdentity] = {ti.tool_id: ti for ti in _DOMAIN_TOOLS}

The @runtime.paid_tool() decorator

Every paid tool is a single decorator away from full DPYC monetization. The decorator takes the tool's frozen tool_id constant and handles debit, balance checks, constraint evaluation, rollback on failure, and low-balance warnings automatically. Your tool function contains only domain logic:

from typing import Any

from fastmcp import FastMCP from tollbooth.params import PatronNpub

mcp = FastMCP("tollbooth-sample", ...)

Create the runtime with merged standard + domain identities

runtime = OperatorRuntime( tool_registry={STANDARD_IDENTITIES, TOOL_REGISTRY}, operator_credential_template=CredentialTemplate( service="tollbooth-sample-operator", version=2, description="Operator credentials for BTCPay Lightning payments", fields={ "btcpay_host": FieldSpec(required=True, sensitive=True, ...), "btcpay_api_key": FieldSpec(required=True, sensitive=True, ...), "btcpay_store_id": FieldSpec(required=True, sensitive=True, ...), }, ), credential_validator=validate_btcpay_creds,

Connections prove the patron's npub (NIP-98 signed requests or an

OAuth holder connection) against this host.

holder_auth_url="https://tollbooth-sample.fastmcp.app", ... )

Delegate all standard DPYC tools to the wheel.

register_standard_tools returns the slug-prefixed @tool decorator —

use it for the operator's own paid tools below.

tool = register_standard_tools(mcp, "weather", runtime, ...)

Decorate each paid domain tool

@tool @runtime.paid_tool(GET_CURRENT_WEATHER_UUID) async def current( latitude: float, longitude: float, npub: PatronNpub = "", ) -> dict[str, Any]: """Get current weather conditions for a location.

Returns temperature, wind speed, and weather code from Open-Meteo. """ return await weather.get_current(latitude, longitude)

That is the complete paid tool. No manual debit calls, no try/except rollback blocks, no balance-warning plumbing. The decorator:

  • Looks up the tool's pricing from the ToolIdentity registry by UUID
  • Extracts npub from the function arguments for billing
  • Checks that the connection proves that npub (a signed request, or an OAuth connection that holds it)
  • Debits before calling your function (walking the tool's constraint chain from the pricing model)
  • Rolls back automatically if your function raises an exception
  • Appends a low-balance warning to the response when funds are running low
Key patterns

`register_standard_tools(mcp, "weather", runtime, …)` — Registers all standard DPYC tools (balance, purchase, payment, pricing, Secure Courier, Oracle, constraints) from the tollbooth-dpyc wheel, mounts oracle delegations under _oracle_*, and returns the slug-prefixed @tool decorator. Capture the return so you can use the same decorator for your own paid tools — every wire-exposed name on this operator then shares one slug prefix.

`validate_btcpay_creds` — Credential validator that checks BTCPay credentials at receive time, not at first use. Invalid credentials are rejected immediately during the Secure Courier exchange.

`CredentialTemplate` — Declares the operator's required secrets (BTCPay host, API key, store ID) so the Secure Courier flow can prompt for the right fields and validate them on delivery.

The npub parameter

Every paid tool must accept an npub keyword argument. It tells the runtime which patron to bill; the connection proves the caller holds it. Use the SDK's PatronNpub type so every operator describes it the same way:

from tollbooth.params import PatronNpub

npub: PatronNpub = ""

A paid tool called with an empty or invalid npub is refused (npub is required) before your function runs.

What the runtime handles under the hood
Tool call arrives

| v @runtime.paid_tool(GET_CURRENT_WEATHER_UUID) | +-- UUID lookup in tool_registry -> ToolIdentity + pricing +-- npub extraction from kwargs; the connection proves it | +-- Constraint chain from the pricing model (discounts, surge, supply caps, coupons) +-- Balance check + debit | | | insufficient --> Return error (no function call) | +-- Call your function | | | exception --> Automatic rollback, return error | +-- Append low-balance warning if needed | v Return result to caller

Constraint Engine

Constraints are dynamic pricing steps that live in the operator's pricing model: each tool's chain in the model lists the steps the ConstraintGate walks on every call, and coupons bound to the tool are added after them. Author them in Pricing Studio or with weather_set_pricing_model; nothing is switched on by environment variable.

Common constraint types (the SDK registry holds more — weather_list_constraint_types enumerates the full set live):

TypeEffect
free_trialFirst N calls are free
happy_hourDiscount during specific hours
temporal_windowAllow calls only during a time window
finite_supplyCap total invocations globally
loyalty_discountDiscount after spending N sats
bulk_bonusDiscount after N invocations
surge_pricingDemand-elastic multiplier during high demand

Use weather_check_price to preview constraint effects without spending credits — it walks exactly the chain the debit will.

Becoming an Operator

New to Tollbooth? See [GETTING-STARTED.md](GETTING-STARTED.md) for a step-by-step guide covering Nostr keypair setup, Authority enrollment, BTCPay configuration, and deploying your first monetized MCP service.

Quick Start

Local development
git clone https://github.com/lonniev/tollbooth-sample.git

cd tollbooth-sample pip install -e ".[dev]" python -m tollbooth_sample.server

This serves over STDIO. There is no development bypass: paid tools are gated exactly as in production, and the patron's npub is proven by the HTTP connection (a NIP-98 signed request or an OAuth holder bearer), s

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

Pregunta a PopNx