# TOKENLOCK > Zero-trust access for the token era. Sign in with a Bitcoin wallet and gate sites, APIs, and members areas to token holders. No API key, no account, for the MCP server. TOKENLOCK is a self-serve token gate. Content stays on your own server. Visitors (people or agents) sign a one-time challenge with their Bitcoin wallet; TOKENLOCK verifies the signature and checks whether the wallet holds the token your policy requires; your server uses that result to grant or deny access. ## When to use it - Protect an API route, site, or members area so only holders of a required Bitcoin token or name get through. - Sign in to a TOKENLOCK-gated site or API as an agent, using a Bitcoin token or name your own wallet holds. - Check whether a Bitcoin address holds a token right now (a holding check, not proof of control). ## MCP server (use with AI agents) Hosted MCP server, Streamable HTTP (stateless, JSON responses), no API key: https://tokenlock.ai/mcp The four tools are: - tokenlock_info (free, read-only): plans, setup, and how an agent signs in. - check_token_access (free, read-only, no signature): does this Bitcoin address hold a token or name right now? A yes does not prove the caller controls the address. - start_token_signin (free): step 1 of 2. Returns challenge_id and the exact message to sign. For a TOKENLOCK site, pass its publishable site_key (pk_…) and origin; the tokens it accepts come from the site. - finish_token_signin (free): step 2 of 2, after the wallet has signed the message. Returns a short-lived pass (pp1.…). Single use per challenge. A pass proves the signer controlled a wallet holding the token at sign-in, not who they are. Discovery: https://tokenlock.ai/.well-known/mcp.json Docs: https://tokenlock.ai/developers#mcp - Cursor (~/.cursor/mcp.json): {"mcpServers": {"tokenlock": {"url": "https://tokenlock.ai/mcp"}}} - Claude Desktop: Settings → Connectors → Add custom connector with the URL, or claude_desktop_config.json with mcp-remote pointing at https://tokenlock.ai/mcp - Claude Code: claude mcp add --transport http tokenlock https://tokenlock.ai/mcp - Any client: Streamable HTTP, URL https://tokenlock.ai/mcp The server never holds keys or signs. ## Wallet sign-in and API access Wallet sign-in: the user signs a one-time challenge with a Bitcoin wallet to prove control of the address. TOKENLOCK verifies the signature and checks the required token holding. API access: TOKENLOCK checks whether the agent’s credential is authorized for the requested operation. An agent does not need a wallet signature on every API call. Recommended: check the pass on your server (npm @tokenlock/sdk for Next.js and Express, Cloudflare Worker, or the PHP drop-in) so locked content is never sent until that check. A browser-only gate.js snippet is a soft gate (content still reaches the browser and can be bypassed with an extension or dev tools; fine for teasers and soft paywalls). Script: https://tokenlock.ai/gate.js ## Plans Unlimited sign-ins, priced by monthly active wallets, paid in BTC: - Free: 1 site, 100 active wallets a month - Business: $149/month, 20 sites, 10,000 active wallets a month - Enterprise: custom Self-verify (public spec, no dependence on the TOKENLOCK API) is Coming soon, Enterprise: https://tokenlock.ai/docs/self-verify ## Coming soon: Agent Wallets Agent Wallets is a coming release, not live yet: policy-bound Bitcoin wallets for AI agents, with rules you set and a TOKENLOCK co-signer that checks each transaction. It will be on the Business and Enterprise plans. Co-signing is not switched on today, and there are no MCP spend tools yet. More: https://tokenlock.ai/agent-wallets ## Links - [TOKENLOCK](https://tokenlock.ai) - [Developers](https://tokenlock.ai/developers) - [MCP server](https://tokenlock.ai/mcp) (Streamable HTTP) - [Sign-in demo](https://tokenlock.ai/gate-demo) - [Pricing](https://tokenlock.ai/pricing) - [Agent Wallets](https://tokenlock.ai/agent-wallets) (coming soon) - [npm @tokenlock/sdk](https://www.npmjs.com/package/@tokenlock/sdk)