An MCP server that solves the context window problem in AI coding agents. It provides:
| Tool | When to Use | Token Savings |
|---|---|---|
| ------ | ------------- | --------------- |
ctx_batch_execute | Run multiple commands + auto-search results | 90%+ vs raw exec |
ctx_execute | Single script execution (JS/Python/Shell) | 90%+ vs raw exec |
ctx_execute_file | Run code from a file, return only result | high |
ctx_index | Index docs/knowledge into searchable FTS5 | — |
ctx_search | Search indexed content with BM25 | fast recall |
ctx_fetch_and_index | Fetch URL + index into knowledge base | 90%+ vs raw web fetch |
Terse. Drop filler, pleasantries, hedging.
❌ "So I ran a command to check the files and found that there are..."
✅ "Checked. 3 TypeScript files: src/index.ts (142 lines), src/cli.ts (89 lines)."
Install via MCP:
openclaw mcp set context-mode '{"command":"npx","args":["-y","context-mode"]}'
openclaw gateway restart
共 1 个版本