ctx_execute_file
Process files in sandbox. Raw content never leaves.
How to use it
ctx_execute_file is exposed by the Context Mode MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the ctx_execute_file tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Context Mode
claude mcp add context-mode -- npx -y context-modeOther tools in Context Mode (9)
Run multiple commands + search multiple queries in ONE call. Opt-in concurrency: 1-8 for I/O-bound batches.
Diagnose installation: runtimes, hooks, FTS5, versions.
Run code in 12 languages. Only stdout enters context.
Fetch URL, chunk and index. Cache reuses content within TTL (default 24h, override per-call with ttl: <ms>). ttl: 0 or force: true to bypass. Pass requests: [{url, source}, ...] + concurrency: 1-8 for parallel multi-URL.
Chunk markdown into FTS5 with BM25 ranking.
Permanently deletes all indexed content from the knowledge base.
Query indexed content with multiple queries in one call.
Show context savings, call counts, and session statistics.
Upgrade to latest version from GitHub, rebuild, reconfigure hooks.