Auto-reindexes saved files via jcodemunch-mcp. Keeps the code index fresh when editing in VS Code under Copilot, Continue, Cline, or any MCP client without its own PostToolUse hook.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
A small VS Code extension that auto-reindexes saved files via the jcodemunch-mcp CLI.
Why
Claude Code's PostToolUse hook handles auto-reindexing in its own ecosystem. VS Code-side MCP clients (GitHub Copilot Chat, Continue, Cline, Roo Code, …) don't fire those hooks — so when you edit a file in the editor and another session queries jCodeMunch, the second session sees a stale index. This extension closes the gap by listening for onDidSaveTextDocument and shelling out to jcodemunch-mcp index-file <path>.
Two-line summary: save a file → that one file is re-indexed in the background, regardless of which MCP client is active.
Requirements
VS Code 1.85+
jcodemunch-mcp >= 1.81.0 on PATH (or override via setting jcodemunch.indexOnSave.command)
A workspace folder that has been indexed at least once (jcodemunch-mcp index .)