context-mode
Keeps large tool outputs out of the context window by summarizing/indexing them.
SourcesGitHubmksglu/context-mode
See the pick for the verdict.
Test results
Last passed 2026-10-14Claude CodePassed2026-10-13 · install, connect, tools, agent task
CursorPassed2026-10-13 · install, connect, tools, agent task
Claude DesktopPassed2026-10-14 · install, connect, tools, agent task
ChatGPT (Codex)Passed2026-10-14 · install, connect, tools, agent task
Protocol: starts, 11 tools listed · 2026-10-13
🧪 Test-box note: Requires Node >=22.5. Box system Node is 20.19.2; harness runs it with a user-local Node 22 (~/opt/node22). Published snippet uses plain npx and assumes Node 22+.
Install
claude mcp add context-mode -- npx -y context-modeRun in your terminal. This exact command is what our harness runs in Claude Code; see the results above.
{
"mcpServers": {
"context-mode": {
"command": "npx",
"args": [
"-y",
"context-mode"
]
}
}
}Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.
{
"mcpServers": {
"context-mode": {
"command": "npx",
"args": [
"-y",
"context-mode"
]
}
}
}Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.
[mcp_servers.context-mode]
command = "npx"
args = ["-y", "context-mode"]Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.
Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)
Test history
| Date | Check | Result | Version |
|---|---|---|---|
| 2026-10-13 | Protocol (direct stdio) | Protocol: starts, 11 tools listed | 1.0.169 |
| 2026-10-13 | Claude Code | Passed install, connect, tools, agent task | 2.1.296 (Claude Code) |
| 2026-10-13 | Cursor | Passed install, connect, tools, agent task | 2026.10.12-d47ca18 |
| 2026-10-14 | Claude Desktop | Passed install, connect, tools, agent task | Claude Desktop 2.37337.1 (Linu |
| 2026-10-14 | ChatGPT (Codex) | Passed install, connect, tools, agent task | codex-cli 0.162.0-alpha.17.2 |
Tools seen by our harness (11)
ctx_executectx_execute_filectx_indexctx_searchctx_fetch_and_indexctx_batch_executectx_statsctx_doctorctx_upgradectx_purgectx_insight