Environment
- OS: Windows 11 (Git Bash)
- Codegraph: 1.4.1
Steps to Reproduce
- Install codegraph MCP into Claude Code:
codegraph install
- Use Claude Code normally
- Exit Claude Code (either via
/exit or by closing the window directly)
- Try to rebuild the index:
codegraph index
Expected
The index rebuilds successfully.
Actual
[ERR] Failed to index: Could not rebuild the index — the database file is in use
(EPERM, Permission denied: \\?\E:\workspace\aod\.codegraph\codegraph.db)
Additional Context
After exiting Claude Code (both /exit and closing the window), the MCP server process remains running on my machine. codegraph index continues to fail until I manually end the "Node.js JavaScript Runtime" process via Task Manager. After doing so, codegraph index succeeds.
Environment
Steps to Reproduce
codegraph install/exitor by closing the window directly)codegraph indexExpected
The index rebuilds successfully.
Actual
Additional Context
After exiting Claude Code (both
/exitand closing the window), the MCP server process remains running on my machine.codegraph indexcontinues to fail until I manually end the "Node.js JavaScript Runtime" process via Task Manager. After doing so,codegraph indexsucceeds.