TOKENLOCK

Zero-trust access for the token era. Sign in with a Bitcoin wallet and gate access to token holders.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
80%
Calidad de los nombres
90%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~1,330Tokens (definiciones de herramientas)
~1.4 KBTamaño de respuesta típico
Impacto moderado en la atención (1.04% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "tokenlock": {
      "url": "https://tokenlock.ai/mcp"
    }
  }
}

Puntos de conexión remotos

https://tokenlock.ai/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (4)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢tokenlock_info

Use when you or your operator want an extra layer in front of a login, admin, or API so only verified token holders get through, or you want to know how an agent signs in to a TOKENLOCK-gated site. Free, read-only. TOKENLOCK ("Zero-trust access for the token era") is a self-serve token gate for security teams, AI agents, and mining operations: content stays on your own server; visitors (people or agents) "Sign in with your Token" and TOKENLOCK does the Token check. Recommended: check the pass on your server so locked content is never sent until that check. A browser-only gate.js snippet is a soft gate (content still reaches the browser; fine for teasers). Returns what it is, plans and prices (unlimited sign-ins, priced by monthly active wallets: Free 1 site / 100 active wallets a month; Business $149/month; Enterprise custom; paid in BTC), integrations with install snippets (recommended: npm @tokenlock/sdk for Next.js and Express, Cloudflare Worker, PHP drop-in; gate.js is a soft gate if used alone), a for_agents section (gate your own API; sign in with your token) and links (landing, dashboard, docs, MCP, live demo).

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢check_token_access(asset, address)

Use before letting someone (or another agent) into something gated by a Bitcoin token or name, or before you try to sign in to a TOKENLOCK-gated site, to see whether a Bitcoin address holds that token right now. Free, read-only, no signature. Holds means the address owns the name/token or has a balance above zero. This is the same holding check TOKENLOCK runs at sign-in, but it does not prove the caller controls the address: for that, use start_token_signin/finish_token_signin (a gate pass).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "asset": {
      "type": "string",
      "minLength": 1,
      "maxLength": 260,
      "description": "Token or name on Bitcoin, e.g. GOTPROOF or PROVEITBOT."
    },
    "address": {
      "type": "string",
      "minLength": 20,
      "maxLength": 100,
      "description": "Bitcoin address to check (bc1q, bc1p or legacy)."
    }
  },
  "required": [
    "asset",
    "address"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢start_token_signin(site_key, origin, assets, any_name, pass_ttl_seconds)

Use when you (an agent) want to sign in to a site or API gated by TOKENLOCK, using a Bitcoin name or token your own wallet holds. Free; nothing is paid or sent. Step 1 of 2: returns challenge_id and the exact `message` to sign. For a TOKENLOCK site, pass its publishable site_key (pk_…, public on its sign-in page) and the site origin; the tokens it accepts come from the site. Without a site_key you can name the assets (or any_name) to get a general pass. Then sign `message` with your wallet (BIP-322 or legacy sign-message) and call finish_token_signin within 10 minutes. Counts as a sign-in on the site's plan only when it passes.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "site_key": {
      "type": "string",
      "maxLength": 200,
      "description": "The site's publishable key pk_… (from its sign-in page). Omit for a general pass."
    },
    "origin": {
      "type": "string",
      "maxLength": 300,
      "description": "The gated site's origin, e.g. https://example.com. Required with site_key."
    },
    "assets": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 260
      },
      "maxItems": 10,
      "description": "Without site_key: tokens or names that unlock (any one is enough)."
    },
    "any_name": {
      "type": "boolean",
      "description": "Without site_key: accept any vanity name on Bitcoin."
    },
    "pass_ttl_seconds": {
      "type": "integer",
      "minimum": 60,
      "maximum": 86400,
      "description": "How long the pass lasts (default 900)."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡finish_token_signin(challenge_id, address, signature, name)

Use after start_token_signin, once your wallet has signed the message. Free. Checks the signature and that the address holds an accepted token or name right now, and returns a short-lived `pass` (pp1.…). Give the pass to the gated site the way it asks: sites using the npm package or Cloudflare template take it at POST /api/tokenlock/session ({"pass": "…"}) and set a cookie; your own API can take it in a header and check it with verifyPass. If the site accepts any name, send your name. Single use per challenge. A pass proves you controlled a wallet holding the token at sign-in, not who you are.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "challenge_id": {
      "type": "string",
      "minLength": 20,
      "maxLength": 1200,
      "description": "challenge_id from start_token_signin."
    },
    "address": {
      "type": "string",
      "minLength": 20,
      "maxLength": 100,
      "description": "The Bitcoin address that signed."
    },
    "signature": {
      "type": "string",
      "minLength": 10,
      "maxLength": 2000,
      "description": "Base64 signature of the exact message (BIP-322 or legacy sign-message)."
    },
    "name": {
      "type": "string",
      "maxLength": 12,
      "description": "Your vanity name, when the site accepts any name."
    }
  },
  "required": [
    "challenge_id",
    "address",
    "signature"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada4 herramientas