TOKENLOCK
Zero-trust access for the token era. Sign in with a Bitcoin wallet and gate access to token holders.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"tokenlock": {
"url": "https://tokenlock.ai/mcp"
}
}
}원격 엔드포인트
https://tokenlock.ai/mcpstreamable-http할 수 있는 일
도구 목록
도구 (4)
🟢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).
입력 스키마
{
"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).
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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#"
}커뮤니티
증거