지능적인 컨텍스트 압축과 작업 체크포인트 지속성을 통해 AI agent의 토큰 사용량을 최대 90%까지 절감합니다.
다른 이름 Arrayo/smart-context-mcp
- 스타
- 4
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 1.21.0
- 마지막 커밋
- 2026년 10월 27일
- 라이선스
- MIT
smart-context MCP란?
smart-context은(는) MCP server입니다. 지능적인 컨텍스트 압축과 작업 체크포인트 지속성을 통해 AI agent의 토큰 사용량을 최대 90%까지 절감합니다.
프로젝트 README에서 생성된 요약
smart-context MCP server 정보
AI agent를 활용하는 개발자는 이 MCP server를 사용하여 코드 컨텍스트를 압축함으로써 토큰 비용을 크게 낮출 수 있습니다. 파일 전체를 로드하지 않고도 코드베이스 정보를 읽고, 검색하고, 관리할 수 있는 특화된 도구를 제공하며, 이를 통해 디버깅, 리팩터링, 코드 리뷰 등의 작업 시 토큰 사용량을 최대 90%까지 줄일 수 있습니다. 이 서버는 로컬에서 작동하며 SQLite 데이터베이스를 사용하여 지속적인 캐시와 출력 저장소를 관리하므로, agent가 명령을 다시 실행하지 않고도 스택 트레이스나 이전 명령 결과를 복구할 수 있습니다.
사용자는 효율적인 파일 접근을 위한 smart_read, 타겟 쿼리를 위한 smart_search, 시맨틱 탐색을 위한 smart_code 등 다양한 특화 도구를 통해 서버와 상호작용합니다. smart_code 도구는 TypeScript LanguageService를 사용하여 정의 및 구현과 같은 심볼을 해석하며, 전체 파일 본문 대신 압축된 위치 정보를 제공합니다. 복잡한 워크플로우의 경우, smart_playbook 도구를 통해 preflight-merge 또는 debug-flake와 같은 복합 작업 시퀀스를 단일 호출로 실행할 수 있습니다. 또한 시스템은 공유된 tokenBudget을 지원하여 다단계 agent 흐름이 특정 제한 내에서 유지되도록 보장합니다.
활용 사례
- 1시맨틱 코드 탐색 수행AI agent가 전체 파일 내용 없이도 심볼의 정의, 참조 또는 구현을 찾을 수 있습니다.
- 2변경 사항의 영향 분석개발자가 AI에게 특정 코드 변경이 시스템의 다른 부분에 어떤 영향을 미칠지 판단하도록 요청할 수 있습니다.
- 3복잡한 개발 워크플로우 실행agent가 불안정한 테스트 디버깅과 같은 특정 작업을 처리하기 위해 미리 정의된 도구 시퀀스를 실행할 수 있습니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
smart-context MCP 설치 방법
형식 확인: 2026년 11월 10일Claude Code에 smart-context MCP 설치
$ claude mcp add smart-context-mcp -- npx -y smart-context-mcpCursor에 smart-context MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"smart-context-mcp": {
"command": "npx",
"args": [
"-y",
"smart-context-mcp"
]
}
}
}VS Code에 smart-context MCP 설치
.vscode/mcp.json
{
"servers": {
"smart-context-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"smart-context-mcp"
]
}
}
}Claude Desktop에 smart-context MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"smart-context-mcp": {
"command": "npx",
"args": [
"-y",
"smart-context-mcp"
]
}
}
}Codex에 smart-context MCP 설치
~/.codex/config.toml
[mcp_servers.smart-context-mcp] command = "npx" args = ["-y", "smart-context-mcp"]
Gemini CLI에 smart-context MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"smart-context-mcp": {
"command": "npx",
"args": [
"-y",
"smart-context-mcp"
]
}
}
}구성
DEVCTX_CACHE_WARMINGDEVCTX_DETECT_MISSEDDEVCTX_EXPLAINDEVCTX_PROJECT_ROOTDEVCTX_SHELL_DISABLEDDEVCTX_SHOW_USAGEDEVCTX_WARM_FILESDEVCTX_WORKFLOW_TRACKING
| 이름 | 설명 | 유형 |
|---|---|---|
| DEVCTX_CACHE_WARMING | — | |
| DEVCTX_DETECT_MISSED | — | |
| DEVCTX_EXPLAIN | — | |
| DEVCTX_PROJECT_ROOT | — | |
| DEVCTX_SHELL_DISABLED | — | |
| DEVCTX_SHOW_USAGE | — | |
| DEVCTX_WARM_FILES | — | |
| DEVCTX_WORKFLOW_TRACKING | — |
자동 검사
2026년 11월 13일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능통과
- 오픈 소스 라이선스 (OSI)통과
- 최근 1년 내 커밋 또는 릴리스통과
- 패키지 이름이 인기 패키지와 유사하지 않음통과
- 원격 엔드포인트가 HTTPS 사용검사되지 않음
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 모델에 대한 숨겨진 지침 없음통과
- 패키지와 의존성에 심각한 보안 권고 없음통과
README
GitHub에서 보기smart-context-mcp
MCP server that reduces AI agent token usage by up to 90% through intelligent context compression (measured on this project).
What it is
An MCP (Model Context Protocol) server that provides specialized tools for reading, searching, and managing code context efficiently. Instead of loading full files or returning massive search results, it compresses information while preserving what matters for the task.
Real metrics from production use:
- ~7M tokens → ~800K tokens (approximately 89% reduction)
- 1,500+ operations tracked across development
- Compression ratios: 3x to 46x depending on tool
- Context overhead is tracked separately so reports can show gross and net savings
Workflow-level savings:
- Debugging: ~85-90% token reduction
- Code Review: ~85-90% token reduction
- Refactoring: ~85-90% token reduction
- Testing: ~85-90% token reduction
- Architecture: ~85-90% token reduction
Real adoption in non-trivial tasks:
- Approximately 70-75% of complex tasks use devctx tools
- Most used:
smart_read(850+ uses),smart_search(280+ uses),smart_shell(220+ uses) - Primary reasons for non-usage: task too simple, no index built, native tools preferred
See Workflow Metrics and Adoption Metrics for details.
Latest Release: 1.21.0
Minor release built around a semantic engine. MCP grows from 20 → 22 tools (smart_code + smart_output). SQLite schema bumps 8 → 9 (new outputs table; auto-migrates on first run). Zero new runtime dependencies — the TypeScript LanguageService comes from the typescript package you already have, and degrades to a fallback provider when it isn't there.
-
smart_code(new tool). Semantic code navigation for JS/TS via the TypeScript LanguageService, resolving by symbol name (plus optionalfilePath) instead of forcing you to know a line and column. Actions:definition,references,implementations,diagnostics,impact,rename. Returns compact locations (file + 1-based start/end), never full file bodies.includeTests=falsedrops test paths;maxResultscaps the payload. -
Impact analysis.
smart_code(action='impact')splits direct hits (semantic: definitions, references, implementations) from transitive files (import graph,maxHopsdefault 2) and related tests, plus coverage flags.risk.levelis labelledbasis: 'heuristic'and says so in its ownnote— it is a ranking aid, not semantic certainty. -
Scope-aware rename, dry run by default.
smart_code(action='rename')usesfindRenameLocationsanddryRun: trueis the default: the first call returns the planned per-file diff hunks (before/afterper line) and writes nothing. Error conflicts (invalid or reservednewName, same name, unresolved target, path escape, missing file, blast radius overmaxFiles) always block the write.name-collisionis a heuristic warning that only blocks withstrict: true, because the check doesn't verify scope overlap. After a real write,diagnosticsAfterreports remaining TypeScript errors in the touched files.smart_editremains the tool for non-semantic textual replacements. -
smart_output(new tool). Persistent output/artifact store (shell,test,build,lint,diff) so a stack trace from twenty turns ago is recoverable without rerunning the command. Actions:save,search,excerpt,summary,list,stats,prune. Content is scrubbed for likely secrets before persistence and truncated head+tail aboveDEVCTX_OUTPUT_MAX_BYTES(256KB) so the failing tail always survives. Retention viaDEVCTX_OUTPUT_RETENTION_DAYS(14) andDEVCTX_OUTPUT_MAX_PER_KIND(50). Identical output for the samekind+commandis deduped intorepeat_count. Automatic capture fromsmart_shell/smart_testis opt-in viaDEVCTX_OUTPUT_STORE=true(thensmart_shellreturns anoutputRef); explicitsave/searchalways work. Degrades withdegraded: trueinstead of throwing when SQLite is unavailable or locked. -
Opt-in semantic expansion in
smart_context.include: ['semantic']expands context through real definitions, references and implementations rather than text similarity, and every item gains awhyIncludedexplanation. Off by default until the precision@5 benchmark justifies otherwise. -
Richer ADR/spec awareness and graph paths carried over from the same roadmap: ADR sections are indexed as
kind='adr'/'adr-section', andsmart_contextcan return graph paths between two files or symbols. -
Shared
tokenBudgetacross tools.smart_read,smart_read_batch,smart_context,smart_turn(start+end) andsmart_resumenow accepttokenBudget: number | { id?, maxTokens, shared? }. Whenshared:true(oridset), the budget is reused across calls inside the same task — so a multi-step agent flow can stay under a hard token ceiling without per-call bookkeeping. Responses includetaskBudget,remainingBudget, andbudgetDetails(scope,actions, degraded mode) when the budget actually changed the output. -
smart_searchsearch modes. Newmode: 'needle' | 'balanced' | 'semantic'(defaultbalanced).needle= literal exact only (no regex / no term expansion) — kills noise on debug queries.balanced= exact + regex + term expansion.semantic= exact-first plus the local semantic block only when exact signal is weak. The previoussemantic: trueflag remains as a legacy alias formode: 'semantic'. DefaultmaxFilestightened 15 → 5. NewmaxTokenscaps the whole response and compacts intelligently (matches first, then diagnostics, then semantic block). Per-file ranking is now inspectable viamatchedBy,boostSource,scoreBreakdown,whyRanked. Response also returnshasMore/totalFiles/nextSuggestedMaxFilesand actionablesuggestionswhen the query is too broad or empty. -
smart_readpersistent cache + budget-awarefulldegradation. New SQLiteread_cachetable keyed by(filePath, mode, selector, content_hash). Second read of an unchanged file is virtually free. Modefullis now an explicit last resort: if atokenBudget/maxTokensis set, it degrades to lighter modes first (outline → signatures → truncated) and reports the real mode used infullMode+budgetDetails. NewclearReadCachePersistent+ GC integration inrunStorageMaintenance. -
smart_turnsimple-task skip heuristic. When the prompt is short (≤ 40 chars after normalization), classified as a simple task, and no session/task is pinned,smart_turn(start)now returnsskipSmartTurn: truewithrecommendedPath.mode='simple_task_skip'instead of paying the full orchestration cost. Saves continuity-resolution overhead on trivial prompts.minimalverbosity additionally compacts summary/refreshedContext to the fields agents actually consume. -
global_memorynoise hints. Per-project, scrubbed noise telemetry persisted to~/.devctx/global.db(noise_hintstable). New actionsnoise_statsandnoise_reset(full or viaquery). Letssmart_searchlearn which queries the agent already discovered to be noisy in a given repo and adjust ranking, without ever leaking content. -
KPI baseline infrastructure. New scripts
evals/kpi-baseline.js+evals/kpi-utils.jsaggregateharness.jsandrealworld-eval.jsruns into a single JSON snapshot with top-5 precision, recall, reread task/call rate, and per-task-size buckets (short / long). Persistskpi-baseline-latest.jsonfor regression detection across releases. New test suitetests/eval-kpis.test.js.
Highlights from 1.20.0 (still current)
Same tool count as 1.19.0, but several tools gained hard token-budget control, search-mode discipline and second-read cache reuse.
- Shared
tokenBudgetacross tools.smart_read,smart_read_batch,smart_context,smart_turnandsmart_resumeaccepttokenBudget: number | { id?, maxTokens, shared? }, reusable across calls inside one task so a multi-step flow stays under a hard ceiling. smart_searchmodes.mode: 'needle' | 'balanced' | 'semantic'(defaultbalanced),maxTokenscapping the whole response, and inspectable ranking viamatchedBy/scoreBreakdown/whyRanked.smart_readpersistent cache. SQLiteread_cachekeyed by(filePath, mode, selector, content_hash); a second read of an unchanged file is virtually free. Modefulldegrades to lighter modes under a budget and reports the real mode used.smart_turnsimple-task skip on short trivial prompts, andglobal_memorynoise hints that letsmart_searchlearn which queries proved noisy per repo.- KPI baseline infrastructure (
evals/kpi-baseline.js) snapshotting precision@5, recall, reread rate and latency for regression detection.
Highlights from 1.19.0
Five-step quality jump executed as sequential commits with full dogfooding. MCP grew from 18 → 20 tools, +68 tests, zero new dependencies.
smart_playbook(new tool). Declarative composite workflows that run multiplesmart_*tools in a single MCP call. Five built-in playbooks ship with the package:preflight-merge(review + affected tests + checkpoint),debug-flake(last failure + curated debug context + affected),refactor-safe(curated context + affected + checkpoint),doc-sync(ADR search + docs context),ramp-up(status + doctor + ADR overview). Project-level overrides via.devctx/playbooks/*.{yaml,json}with{{args.X}}interpolation,when/label/stopOnFail/dryRun. Tool allowlist restricted tosmart_*. Zero deps: built-in minimal YAML parser.- Reactive FS watcher for the index.
fs.watch(native, recursive, debounced 600ms + batch flush every 2s) keeps the symbol index hot between calls. Filters.git,node_modules,.devctx,dist,build, lockfiles,.min.*,.map,.snap, and non-indexable extensions. Stats surface insmart_status(enabled,flushes,eventsObserved,filesReindexed,filesRemoved,errors,lastFlushAt,pending). Opt-out viaDEVCTX_WATCH_INDEX=false. Wired to MCP shutdown for clean close + final flush. - Richer Python / Go parsers + pluggable parser registry. Python now captures decorators (
decorators: ["dataclass", ...]),async def(kindsasync-function/async-method),TypeAliasandTypeVar/NewType/ParamSpec/TypeVarTupleaskind="type", and respects class indent for accurate scope. Go now captures methods with receiver type asparent, interfaces askind="interface", top-levelconst/var.src/parsers/registry.jsexposesregisterParser/getParserso future tree-sitter parsers can plug in without touchingindex.js.INDEX_VERSIONbumped 6 → 7 (auto-reindex). - Local semantic re-rank on
smart_search. Opt-insemantic: true(withsemanticLimit) returns asemantic: { embedder, symbols[], files[] }block ranked by hashing/TF-IDF embeddings (256-dim, FNV-1a buckets, L2-normalized, cosine similarity, <5ms). Default behavior unchanged. Pluggable embedder interface (id,dimensions,embed,similarity) ready to swap in ONNX/transformers without touching callers. global_memory(new tool, opt-in). Cross-project memory persisted to~/.devctx/global.db(override viaDEVCTX_GLOBAL_DB, gated byDEVCTX_GLOBAL_MEMORY=true). Stores canonical decisions, recurring patterns, playbook drafts, and notes across repos. Content scrubbed for likely API keys / bearer tokens / JWT / PEM private keys / AWS / OpenAI / GitHub / Slack / Google API / DB URLs / emails / home paths before persistence. Project paths stored as FNV-1a hash, not raw path. Recall uses the local hashing/TF-IDF embedder for semantic ranking.
See CHANGELOG.md for the full v1.21.0 + v1.20.0 entries.
See CHANGELOG.md for full release history.
When to Use (and When Not To)
Use devctx when:
- You're exploring an unfamiliar codebase
- The task spans multiple sessions (checkpoints save context)
- You need to understand how files relate to each other (graph/imports)
- The context is too large to manage manually
- You're doing complex multi-file refactors or debugging across layers
Skip devctx when:
- You already know exactly which files to touch
- It's a single-file or surgical change (2-3 edits max)
- You have the full mental map from a recent exploration
- Native tools (Grep, Read, StrReplace) are more direct for the task
Honest verdict from real users:
"The MCP shines in long, multi-session tasks or when you don't know the codebase. For contained refactors where you already know what to touch, native tools are just as fast or faster. The real value was
smart_read(outline)for the initial analysis and checkpoints to not lose the thread between sessions."
The 90% token savings are real, but they require the right task type to materialize.
Why it exists
AI agents waste tokens in three ways:
- Reading full files when they only need structure or specific functions
- Massive search results with hundreds of irrelevant matches
- Repeating context across conversation turns
This MCP solves all three by providing tools that return compressed, ranked, and cached context.
🚨 Agent Ignored devctx? → Paste This Next
📋 Official Prompt (Copy & Paste)
Use smart-context-mcp for this task.
Start with smart_turn(start), then use smart_context or smart_search before reading full files.
End with smart_turn(end) if you make progress.
⚡ Ultra-Short Version
Use devctx: smart_turn(start) → smart_context → smart_turn(end)
When to use: Agent read large files with Read, used Grep repeatedly, or you see no devctx tools in a complex task.
Why this happens: Task seemed simple, no index built, native tools appeared more direct, or rules weren't strong enough.
Quick Start: Which Client Should I Use?
🎯 Best Default: Cursor
Use if: You work in Cursor IDE and want the best balance of guidance and flexibility.
Workflow:
1. Install MCP → rules auto-load
2. Start task → agent reads .cursorrules
3. Agent decides when to use devctx
4. Use /prompt commands to force usage if needed
Automaticity: Medium by default. Medium-High if you use the assisted launcher ./.devctx/bin/cursor-devctx for task-runner workflows.
🔄 Best Continuity: Claude Desktop
Use if: You want highest session continuity with automatic context recovery.
Workflow:
1. Install MCP + hooks
2. Start task → hook auto-triggers smart_turn(start)
3. Work with devctx tools
4. End task → hook auto-triggers smart_turn(end)
Automaticity: High (with hooks) - Can auto-trigger smart_turn on session start/end.
💻 Best Terminal: Codex CLI / Qwen Code
Use if: You prefer terminal-based workflows or scripting.
Workflow:
1. Install MCP
2. Rules embedded in prompts
3. Agent reads rules, decides when to use
4. Explicit instructions work best
Automaticity: Low-Medium - Rules are visible but require explicit prompting.
📊 Quick Comparison
| Client | Automaticity | Best For |
|---|---|---|
| Cursor | Medium | Complex IDE tasks |
| Claude Desktop | High (hooks) | Session continuity |
| Codex CLI | Low-Medium | Terminal workflows |
| Qwen Code | Low-Medium | Alternative to Cursor |
Important: Agent always decides whether to use devctx. Rules increase probability, but don't guarantee it.
If you want a more repeatable path: use the task runner or the assisted launcher instead of relying on rules alone. See Task Runner Workflows.
📖 Full setup: Client Compatibility
🚀 How to Invoke the MCP
Key point: The MCP doesn't intercept prompts automatically. You need to tell the agent to use it.
1️⃣ Use MCP Prompts (Easiest - Cursor only)
/prompt use-devctx
[Your task here]
Other prompts:
/prompt devctx-workflow- Full workflow/prompt devctx-preflight- Build index + start session
2️⃣ Explicit Instruction (Any client)
Use smart_turn(start) to recover context, then [your task]
For a more guided CLI path:
smart-context-task task --prompt "your task"
smart-context-task implement --prompt "your task"
smart-context-task continue --session-id <session-id>
smart-context-task doctor
3️⃣ Automatic via Rules (Not guaranteed)
Agent should use devctx for complex tasks if rules are active:
- Cursor:
.cursorrules - Claude Desktop:
CLAUDE.md - Others:
AGENTS.md
But: Agent decides based on task complexity.
⚡ Quick Reference
| Scenario | Command |
|---|---|
| Start new task | /prompt devctx-workflow |
| Guided terminal workflow | smart-context-task task --prompt "..." |
| Guided implementation | smart-context-task implement --prompt "..." |
| Continue previous task | smart_turn(start) and continue |
| Continue via runner | smart-context-task continue --session-id <id> |
| Force MCP usage | /prompt use-devctx |
| First time in project | /prompt devctx-preflight |
| Trust automatic rules | Just describe your task normally |
Recommended Workflow
✅ Setup Checklist (First Time in Project)
Before starting complex tasks, ensure:
# 1. MCP is installed
npm list -g smart-context-mcp # or check your MCP client
# 2. Build the index (IMPORTANT)
npm run build-index
# or tell the agent: "Run build_index tool"
# 3. Rules are active
# - Cursor: .cursorrules exists
# - Claude Desktop: CLAUDE.md exists
# - Other clients: AGENTS.md exists
# 4. Start with smart_turn
# Tell the agent: "Use smart_turn(start) to begin"
Copy-paste to agent (first time):
Run build_index, then use smart_turn(start) to begin this task.
⚠️ Why Index Matters
Without index:
- ❌
smart_searchreturns unranked results - ❌
smart_contextcan't build optimal context - ❌ Agent may prefer native tools → no savings
With index:
- ✅
smart_searchranks by relevance - ✅
smart_contextincludes related files - ✅ 90% token savings enabled
When to rebuild:
- ✅ First time in project
- ✅ After major refactors (file moves, renames)
- ✅ After adding many new files
- ❌ Not needed every session (index persists in
.devctx/)
The Entry Point: smart_turn(start)
For non-trivial tasks (debugging, review, refactor, testing, architecture), the optimal flow is:
0. build_index (if first time in project)
↓ enables search ranking and context quality
1. smart_turn(start, userPrompt, ensureSession=true)
↓ recovers previous context, classifies task, checks repo safety
2. smart_context(...) or smart_search(intent=...)
↓ builds context or finds relevant code
3. smart_read(mode=outline|signatures|symbol)
↓ reads compressed, cascades to full only if needed
4. [work: make changes, analyze, review]
5. smart_shell('npm test')
↓ verifies changes safely
6. smart_turn(end, event=milestone|blocker|task_complete)
↓ checkpoints progress for recovery
Why start with smart_turn?
- ✅ Recovers previous task checkpoint (goal, status, decisions)
- ✅ Classifies task continuation vs new task
- ✅ Provides repo safety check
- ✅ Enables task recovery if interrupted
- ✅ Tracks metrics for optimization
When to skip smart_turn:
- ❌ Trivial tasks (read single file, simple search)
- ❌ One-off questions (no continuity needed)
- ❌ Quick diagnostics (no session context)
The Product Entry Point: smart-context-task
If you want the same lifecycle packaged into named workflows, use the task runner:
smart-context-task task --prompt "inspect the auth flow and continue the bugfix"
smart-context-task implement --prompt "add a token guard to loginHandler"
smart-context-task review --prompt "review the latest diff"
smart-context-task doctor
This layer runs the same smart_turn(start) / context / checkpoint flow, but adds:
- workflow-specific preflight (
smart_contextorsmart_search) - continuity-aware prompt guidance
- blocked-state routing to
smart_doctor - measured
task_runnerquality signals
For the full command set and client-specific usage, see Task Runner Workflows.
How it Works in Practice
The Reality
This MCP does not intercept your prompts magically. Here's what actually happens:
- You write a prompt: "Fix the login bug"
- Agent reads rules: Sees debugging workflow suggestion
- Agent decides: "This is a debugging task, I'll start with
smart_turn(start)" - Agent calls:
smart_turn({ phase: 'start', userPrompt: '...', ensureSession: true }) - MCP returns: Previous task checkpoint (if exists) + repo safety check
- Agent continues: Calls
smart_search(intent=debug)for error location - Agent reads: Calls
smart_read(mode=symbol)for specific function - Agent fixes bug: Makes changes
- Agent verifies: Calls
smart_shell('npm test') - Agent checkpoints: Calls
smart_turn(end)to persist progress
Key points:
- ✅ Agent chooses to use devctx tools (not forced)
- ✅ Rules guide the agent (not enforce)
- ✅
smart_turn(start)is recommended entry point for non-trivial tasks - ✅ Agent can skip workflow for trivial tasks
- ✅ You control nothing directly—the agent decides
smart-context MCP 질문
smart-context MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add smart-context-mcp -- npx -y smart-context-mcp를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
smart-context MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
이 MCP server는 토큰 사용량을 얼마나 줄일 수 있나요?
지능적인 컨텍스트 압축을 통해 AI agent의 토큰 사용량을 최대 90%까지 줄일 수 있습니다.
이 MCP server가 제공하는 주요 도구는 무엇인가요?
smart_read, smart_search, smart_shell, smart_code, smart_output 등 특화된 도구를 제공합니다.
이 MCP server는 시맨틱 코드 탐색을 지원하나요?
네, smart_code 도구는 TypeScript LanguageService를 통해 JS/TS에 대한 시맨틱 코드 탐색을 제공하며, 심볼 이름을 통한 탐색이 가능합니다.