What it does
The server provides MCP tools for reading, searching and managing code context. Rather than loading full files or returning large search results, it compresses the information and keeps what matters for the task. The latest release adds smart_code, which navigates JavaScript and TypeScript by symbol name and supports definitions, references, implementations, diagnostics, impact analysis and scope-aware rename. It also adds smart_output, a persistent store for shell, test, build, lint and diff output, so earlier results can be retrieved without rerunning the command.
Someone would reach for it when an AI agent works through debugging, code review, refactoring, testing or architecture tasks and token usage is a concern. The publisher reports up to 90% token reduction, measured on its own project, with workflow-level figures of roughly 85 to 90%. Multi-step agent flows can use a shared token budget across calls to stay under a set ceiling.
Running it involves storing data in SQLite, which migrates automatically on first run. Semantic features use the typescript package already in the project and fall back to a lower-precision provider when it is absent. Automatic output capture is opt-in through an environment variable, and retention limits are configurable. Rename runs as a dry run by default and writes nothing until it is explicitly called for a real write.
Limitations and requirements
Semantic navigation applies to JavaScript and TypeScript only. Without the typescript package, the semantic engine uses a fallback provider. Automatic output capture is off unless DEVCTX_OUTPUT_STORE is set to true. Semantic expansion in smart_context is off by default. Rename does not write files unless dryRun is turned off. The name-collision check is heuristic and only blocks a rename with strict set to true, because it does not verify scope overlap. Impact risk levels are labelled heuristic and are a ranking aid, not semantic certainty. Output store operations degrade with a degraded flag when SQLite is unavailable or locked rather than throwing.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour, as every resource of this type does. This is not a finding about this one.
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
io.github.Arrayo/smart-context-mcp
Reduces AI agent token usage by 90% via context compression and task checkpoint persistence.
v1.21.0As shown on registry.modelcontextprotocol.io when we last read it