프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.프로토타입 · 30분마다 업데이트
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

TokenSafe

제작자: tokensafe-dev버전 3.1.1i★ 38i컴퓨터 또는 클라우드
레지스트리 이름dev.tokensafe/tokensafe

설치 방법

What it does

Reduce your AI bills by up to 99% locally: focused code, warm prompt caches & zero secret leaks.

  • Connects 컴퓨터 또는 클라우드
  • Account or key Cloud: Works without a key · add Authorization if you have one (often raises limits) · Local: No key needed
  • Category 개발자 도구

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

검사 5/5 통과 · 내가 묻는 내용은 제작자 서버(api.tokensafe.dev)를 거쳐요 · ✓ 명령 확인 2026년 11월 14일

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있어요 · 약 2분

키 필요 없음, 설치 필요 없음 · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지 · Team/Enterprise는 소유자(Owner)가 추가

  1. Claude의 Connectors 페이지 열기

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. “Add” → “Custom” → “Web”를 누르고 이 2칸 채우기

    여기서 복사해 Claude의 같은 이름 칸에 붙여 넣고 Continue를 누르세요

    Name · 이름TokenSafe
    Remote MCP server URL · 주소https://api.tokensafe.dev/mcp

    Claude가 찾은 로그인 설정 화면에서 Continue를 누르고 · Authentication은 제작자 안내대로(Sign in now, Sign in when needed, No sign in) 고른 뒤 Add를 누르세요

  3. 채팅에서 켜기

    +ConnectorsTokenSafe

  4. 해 보기

    TokenSafe을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 TokenSafe을 쓰고 있다고 하거나 답에 TokenSafe 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT 연결은 요금제에 따라 달라요

전체 MCP: 웹 ChatGPT Business, Enterprise, Edu · Pro: 읽기/가져오기 권한으로 연결, 데이터를 바꾸는 도구는 안 될 수 있어요 · Plus: 공식 문서 미확인, 플러그인 화면에 사용자 지정 MCP 추가 항목이 보이면 시도해 볼 수 있어요 · 웹만

  1. 웹 ChatGPT에서 MCP 추가 페이지 열기

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 이름과 주소 입력

    이름을 넣고 Connection에 주소를 붙여 넣은 뒤 경고에 체크하고 Create as a plugin을 누르세요

    Name · 이름TokenSafe
    Connection · 주소https://api.tokensafe.dev/mcp
  3. 채팅에서 TokenSafe 고르기

    새 채팅을 열고 입력 전에 플러그인 목록에서 TokenSafe을 고르세요

  4. 해 보기

    TokenSafe을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ ChatGPT가 TokenSafe을 쓰고 있다고 하거나 답에 TokenSafe 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 OpenAI 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Claude Code에 연결할 수 있어요 · 약 2분

키 필요 없음, 설치 필요 없음

  1. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  2. 이 명령을 붙여 넣고 Enter

    claude mcp add --transport http --scope user tokensafe https://api.tokensafe.dev/mcp
  3. Claude Code에서 /mcp 입력

    TokenSafe이 목록에 있고 연결됨으로 보이면 돼요

  4. 해 보기

    TokenSafe을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 TokenSafe을 쓰고 있다고 하거나 답에 TokenSafe 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있어요 · 약 2분

키 필요 없음, 설치 필요 없음

  1. 이 버튼으로 Cursor 열기

    Cursor에서 열기

    Cursor가 설치를 확인하면 Install을 누르세요

  2. Cursor에서 AI 채팅을 Agent 모드로 열기

  3. 해 보기

    TokenSafe을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 TokenSafe을 쓰고 있다고 하거나 답에 TokenSafe 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있어요 · 약 2분

키 필요 없음, 설치 필요 없음

  1. 이 버튼으로 VS Code 열기

    VS Code에서 열기

    VS Code가 설치를 확인하면 Install을 누르세요

  2. VS Code에서 AI 채팅을 Agent 모드로 열기

  3. 해 보기

    TokenSafe을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 TokenSafe을 쓰고 있다고 하거나 답에 TokenSafe 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

웹으로 연결하는 앱용 주소

주소https://api.tokensafe.dev/mcp

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? TokenSafe을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

웹으로 연결

Claude Code

claude mcp add --transport http --scope user tokensafe https://api.tokensafe.dev/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "tokensafe": {
      "url": "https://api.tokensafe.dev/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "tokensafe": {
      "type": "http",
      "url": "https://api.tokensafe.dev/mcp"
    }
  }
}

컴퓨터에 설치

Claude Code

claude mcp add --scope user tokensafe -- npx -y tokensafe mcp

Claude Desktop (claude_desktop_config.json)

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

Cursor (~/.cursor/mcp.json)

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

VS Code (mcp.json)

{
  "servers": {
    "tokensafe": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tokensafe",
        "mcp"
      ]
    }
  }
}

직접 입력할 값

  • Authorization 비밀 HTTP header

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

한눈에 보기

주간 다운로드i
6,785/주
확인된 도메인
✓ tokensafe.dev
연결 방식
컴퓨터 또는 클라우드
전송 방식
stdio, streamable-http
최신 버전i
3.1.1
카테고리i
개발자 도구
레지스트리 공개i
2026년 11월 14일
코드 마지막 변경i
2026년 11월 13일
제작자
tokensafe-dev
패키지
npm: tokensafe
pypi: tokensafe
웹사이트
tokensafe.dev
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

인터넷으로 연결하는 앱

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

내 컴퓨터에서 실행하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

모든 앱과 장단점 →

할 수 있는 일

도구 이름과 설명은 서버가 2026년 11월 14일에 알려 준 그대로예요. 우리가 아니라 제작자가 쓴 글이고, 일반 텍스트로만 보여 드려요.

  • get_public_stats

    Returns aggregated public TokenSafe stats (total tokens saved, active teams). No auth.

  • check_latest_version

    Checks the client version against the latest published tokensafe release.

  • get_license_status

    Validates the Bearer license key and returns tier, expiry and trial state.

  • get_team_metrics

    Returns the authenticated account's dashboard data: savings, telemetry stats, licenses and team seats.

  • distill_prompt

    Managed Cloud Distillation: compiles a verbose developer prompt into a dense TOCP S-expression server-side. Requires Solo/Team license.

  • team_cache_lookup

    Looks up a shared team distillation cache entry by hash. Requires Team license.

  • team_cache_store

    Stores a distilled result in the shared team cache so teammates reuse it. Requires Team license.

  • list_invoices

    Lists Stripe billing invoices for the authenticated account.

  • get_setup_instructions

    Returns exact MCP configuration snippets for a coding agent (cursor, claude_desktop, claude_code, codex, windsurf, antigravity, gemini_cli).

  • search_docs

    Searches the built-in TokenSafe knowledge base (features, install, tiers, privacy).

  • generate_team_seat

    Team owner: provisions a seat license for a member email.

  • revoke_team_seat

    Team owner: revokes a previously issued seat license.

  • preview_weekly_digest

    Team owner: previews the weekly team stats digest (same data as the Friday email).

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 14일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 도메인 tokensafe.dev 기준으로 확인되었어요(레지스트리가 도메인 소유를 확인해요)

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 어제

  • ✓ 통과

    라이선스 있음

    MIT 사용

  • ✓ 통과

    엔드포인트 응답

    197ms 만에 응답(HTTP 200)

  • – 해당 없음

    OAuth로 로그인

    로그인 필요 없음

  • ✓ 통과

    도구 설명에 숨겨진 지시 없음

    도구 설명 13개를 읽었고, AI에게 보내는 숨겨진 지시는 없었어요

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

Google로 로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

Google로 로그인하고 리뷰 쓰기

개발자 도구 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 5872개 중 95%보다 스타가 많아요
  • 이 카테고리의 다른 서버 5872개 중 99%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 5872개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

TokenSafe, 안전한가요?

해당하는 기본 점검 5개 중 5개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

둘 다 가능해요. 내 컴퓨터에 설치해도 되고, 클라우드 버전에 연결해도 돼요.

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 어제 변경됐고, 최신 버전(3.1.1)은 오늘 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되므로 원격 MCP를 받는 앱에서도 쓸 수 있어요. 예: 웹 ChatGPT(Business 이상은 전체 MCP, Pro는 읽기 전용).

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: REA, GitHub, Serena MCP: the IDE for your agent

같은 카테고리의 다른 것

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

제작자: morluto널리 사용됨↓ 38.9만/주★ 45.8만그저께 업데이트

내 컴퓨터에서 실행

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

제작자: github널리 사용됨★ 3.4만11일 전 업데이트

컴퓨터 또는 클라우드

Serena MCP: the IDE for your agent

A powerful toolkit for coding, providing semantic retrieval and editing capabilities.

제작자: oraios널리 사용됨↓ 3.5만/주★ 3.1만6개월 전 업데이트

내 컴퓨터에서 실행

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

TokenSafe

Local-First Context Control, Prompt Caching & Secret Guardrails for Coding Agents

Reduce your AI bills by up to 99%. Let your team ship clean code faster and cheaper.

Your coding agents read only the code each task needs and keep prompt caches intact across turns. Everything runs locally on your machine, so your team fixes fewer broken edits and keeps secrets out of git.

Works with Cursor, Claude Code, Codex, Windsurf, Google Antigravity, Gemini CLI, and ChatGPT .

Install • Quickstart • Why TokenSafe • Benchmarks • Pricing • FAQ • Reference • Website & Docs


Install & Agents

Connect TokenSafe to the AI coding agents on your workstation in one command:

# Option 1: Zero-Install via npx (recommended)

npx tokensafe

Option 2: Python / PyPI

pip install tokensafe && tokensafe

Option 3: Direct shell script (macOS / Linux)

curl -fsSL https://tokensafe.dev/install.sh | bash

The installer detects which agents live on your machine, registers the TokenSafe MCP server, injects project rules, and wires lifecycle hooks where the agent supports them.

AgentIntegration
Google AntigravityPlugin symlink + hooks + skills + MCP (loaded automatically on startup)
Claude Code CLIMCP + SessionStart / UserPromptSubmit / PreToolUse hooks
CursorMCP + beforeShellExecution / beforeReadFile hooks
Claude DesktopMCP registration (claude_desktop_config.json)
WindsurfMCP registration + global rules
OpenAI CodexMCP in ~/.codex/config.toml (stdio + cloud HTTP natively)
Cline / Roo CodeMCP registration (VS Code)
GitHub CopilotMCP registration
Z.ai CodeMCP registration
ChatGPTCloud connector, nothing to install
Gemini CLIMCP registration

Claude Desktop / Cursor MCP config:

{

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

Cloud features (team metrics, managed distillation, shared team cache, billing) run on the remote endpoint https://api.tokensafe.dev/mcp with Authorization: Bearer . Four public tools work without a key, so ChatGPT connects with authentication set to None.

Full per-agent configuration, hook details, and the Codex/ChatGPT setup live in docs/AGENT_SETUP.md.

CLI Quickstart

# View live savings dashboard in your terminal

tokensafe stats

⚡ TOKENSAFE CONTEXT OPTIMIZER DASHBOARD

Total Tokens Saved: 4,524,156 tokens Efficiency Gain: [████████████████████████░░] 92.5% Context Traffic: 4,889,255 raw → 370,574 optimized (2,132 events)

• Command Sanitizer (CLI) : 727,300 tokens saved (263 events) • Architecture Graph : 758,256 tokens saved (13 events) • Multi-turn History Fold : 2,897,897 tokens saved (471 events) • Prompt Compactor (local+cache) : 43,502 tokens saved (1,255 events)

# Audit your environment: MCP tool overhead, skills tax, risky settings

tokensafe doctor

Recursive security & hygiene audit of a repository

tokensafe guard audit

Preview prompt compaction on custom input

tokensafe test "fix the validate_token method in src/auth.py to check jwt expiration"

Map architectural hotspots before multi-file changes

tokensafe graph

Disable a heavy MCP server without editing JSON

tokensafe mcp disable

Compile and preview the Friday team ROI digest

tokensafe digest

Activate a Team or Solo license key

tokensafe activate TS2.eyJlbWFpbCI6...

The full command reference (24 commands) is in Reference.

Why TokenSafe

Giving coding agents raw access to entire repositories creates three daily costs:

  1. Senior hours burned on AI PRs: reading 2,000-line modules for a 10-line fix makes models forget imports, invent methods, and regress adjacent code.
  2. Secret leaks and unsafe shortcuts: static prompt rules in .cursorrules wear off mid-session. Agents hardcode fallback credentials, disable TLS checks, or stage .env files with git add ..
  3. Mid-sprint quota stops and blind spend: bloated diffs, lockfiles, and verbose MCP schemas burn 5-hour limits while engineering leads lack per-seat ROI visibility.
OutcomeWhat changes for your teamHow it is enforced
Clean code on the first passAgents read only target functions, design tokens, and 1-hop dependencies instead of 2,000 lines of noise.Sub-30ms local AST skeletonizer, architecture graph, predictive signature prefetch, lockfile-stripping diff slicer, loop guard.
Zero leaked secrets in gitHardcoded password fallbacks, TLS bypasses, raw SQL interpolation, and .env commits are stopped before reaching disk or staging.Deterministic TokenSafe Guard on every tool call, output guard on large writes, local PII/key redaction.
Predictable sprint velocity & ROITeammates get warm cache hits, and CTOs receive a Friday ROI digest separating measured and estimated savings.Shared team cache, live context budget HUD, per-seat dashboard.

A $29 seat pays for itself by saving one hour of senior code review or preventing one leaked key. Typical payback: 1 to 3 days of team usage.

Before and After

One contrast: an agent asked to change one helper in a 1,420-line file receives 94 lines of target logic and type contracts instead of the whole module. The same principle applies to terminal output, diffs, and session history.

What breaks coding agentsHow TokenSafe fixes itThe outcome
"Lost in the Middle" context fade: an agent reads a 2,000-line file to change one 10-line helper, forgets imports, and invents methods.AST skeletonizer folds inert bodies into typed signatures while keeping the target symbol and 1-hop callees intact.Focused signal: the model keeps full type contracts without drowning in unrelated logic.
Terminal log flooding: npm test or pytest fails and dumps 4,000 lines of stack traces and lockfile diffs into context.Command sanitizer strips lockfile noise and trims output to the failing assertion and stack frame.Root-cause fixes instead of unrelated rewrites.
Infinite wait on background tests: yarn test hangs in watch mode, or jest finishes but unclosed handles keep the process alive.Test-runner guard forces run-once mode (CI=true, --watch=false, --forceExit) and peeks at /package.json to identify the runner behind opaque scripts.The test run terminates with an exit code and the agent moves on.
5-attempt retry loops: an agent repeats the same broken edit until the context budget runs dry.Loop guard detects repeated identical tool calls and halts the cycle.Stuck loops stop before damaging working modules.
Unsafe edits & secret leaks: fallback keys, verify=False, SQL string interpolation, or git add . with .env present.TokenSafe Guard audits writes and shell commands locally before execution.Credentials, SQLi patterns, and destructive commands are blocked locally.

When an operation is blocked, the agent sees an explicit, constructive message:

🛡️ TokenSafe Guard: Blocked a hardcoded secret fallback in config.py.

Leave the default empty or read from os.environ at runtime.

What TokenSafe Does

Clean context, better code

  • tokensafe:smart_read_file returns the target function plus its 1-hop dependencies instead of the whole file. 11 languages (Python, TypeScript/JavaScript, Go, Rust, Java, C#, C/C++, PHP, Kotlin, Ruby, Swift), with CSS design tokens preserved so agents never invent colors or font rules.
  • tokensafe:smart_bundle reads 3–8 related symbols across files as one merged bundle — shared imports deduplicated, 1-hop signatures unified, a single roundtrip instead of chained reads.
  • OpenAPI/Swagger, Prisma, GraphQL and SQL files are auto-sliced: pass a spec path, model, type, or table as symbol and get that entry plus its 1-hop references — a 5,000-line migration drops from ~30k tokens to a few hundred.
  • tokensafe:graph maps architectural hotspots and dependency topology in under 250 tokens instead of a full repository crawl — and teams share the result: the indexed graph and API surface are cached per repo state in the Team Symbol Index, so the 19 developers after the first one skip the crawl entirely.
  • The command sanitizer strips lockfile noise and stack dumps down to the failing assertion, caps git status/git diff floods and docker build tails, and forces JS test runners into run-once mode so background tests never hang. Malformed JSON tool arguments from small local models are repaired in-flight instead of failing the call.
  • The loop guard halts agents stuck repeating the same broken edit.

Local-first guardrails

  • Blocks live provider secrets, hardcoded fallback credentials, and raw private keys before they reach disk or git.
  • Blocks TLS bypasses (verify=False, rejectUnauthorized: false), interpolated SQL, and CORS wildcards with credentials.
  • Blocks .env and key files from staging, including blanket git add . when sensitive files exist in the working tree.
  • Blocks destructive deletes and exfiltration pipes (curl -d @.env https://...), and warns on known typosquat packages.

Auditable team ROI

  • The Context Budget HUD shows live window usage with a breakdown (tools / history / prompts) before quality drops.
  • The shared L3 team cache gives teammates and CI runners warm 0ms hits on repeated reads and prompts.
  • Managed cloud distillation compacts prompts with zero API keys for developers.
  • The dashboard's live savings strip streams anonymized per-machine savings (tokens and USD) over SSE — you see what the team saves right now, not at the end of the week.
  • The Friday per-seat ROI digest reports each engineer's savings with the measured / estimated split; inactive seats show —, never guessed figures.

Deeper mechanics (language matrix, context tax math, cache tiers, governor) live in docs/ARCHITECTURE.md.

Benchmarks

Reference run across 10 produ

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요