You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows: install.ps1 reports success but leaves MCP server unregistered (MotW + swallowed config errors + malformed taskkill) #697
After running the documented Windows install, the binary is present at %LOCALAPPDATA%\Programs\codebase-memory-mcp\codebase-memory-mcp.exe, but the MCP server is not registered with any agent — ~/.claude.json / ~/.claude/.mcp.json have no entry, and claude mcp list doesn't show it. No error was surfaced; the installer reported success.
Three issues found:
install.ps1 needs Unblock-File. Downloaded via Invoke-WebRequest, the script carries Mark-of-the-Web and PowerShell refuses to execute it until unblocked. The README's Windows section doesn't mention this. Suggest documenting Unblock-File .\install.ps1 (and/or -ExecutionPolicy Bypass), or shipping a signed script.
Config failures are swallowed as non-fatal. install.ps1 runs & $Dest install -y but catches/ignores failures, so it prints "Install complete" even when no agent config was written. This turns a recoverable error into a silent one. Suggest: detect that zero agents were configured and exit non-zero with a visible warning.
install subcommand runs a malformed taskkill on Windows. Every invocation prints:
ERROR: Invalid argument/option - 'eq'.
Type "TASKKILL /?" for usage.
Looks like a taskkill /FI "IMAGENAME eq ..." filter where the quoting breaks and eq is passed as a bare arg. Cosmetic in some runs, but may be what aborts auto-config in others.
Workaround that fixed it: run the binary's installer directly, bypassing install.ps1:
Thanks for the detailed Windows installer report. I’ve triaged this under Windows, editor integration, and UX. The actionable pieces are clear: document or avoid the Mark-of-the-Web trap, fail visibly when zero agent configs are written, and fix the taskkill /FI quoting so installer cleanup does not emit a misleading error. The direct codebase-memory-mcp.exe install -y workaround is useful while this is open.
I've put up a fix for all three issues on my PR: #702
MotW : README now includes an explicit Unblock-File .\install.ps1 step (plus an -ExecutionPolicy Bypass fallback note) for both the quick-install and manual-install paths.
Swallowed config errors : replaced the try/catch in install.ps1 with a $LASTEXITCODE check after install -y; exits 1 with a visible red error if no agents were configured.
taskkill quoting : replaced _spawnvp in cbm_exec_no_shell (Windows path) with CreateProcess backed by a proper command-line quoting helper, so IMAGENAME eq codebase-memory-mcp.exe is passed as a single token instead of three bare words.
Activity
DeusData commentedon Jun 29, 2026
Thanks for the detailed Windows installer report. I’ve triaged this under Windows, editor integration, and UX. The actionable pieces are clear: document or avoid the Mark-of-the-Web trap, fail visibly when zero agent configs are written, and fix the
taskkill /FIquoting so installer cleanup does not emit a misleading error. The directcodebase-memory-mcp.exe install -yworkaround is useful while this is open.fix(windows): fix MotW block, swallowed config errors, and taskkill q…
fix(windows): fix MotW block, swallowed config errors, and taskkill q…
fix(windows): fix MotW block, swallowed config errors, and taskkill q…
ShauryaaSharma commentedon Jun 29, 2026
I've put up a fix for all three issues on my PR: #702
Unblock-File .\install.ps1step (plus an-ExecutionPolicy Bypassfallback note) for both the quick-install and manual-install paths.try/catchininstall.ps1with a$LASTEXITCODEcheck afterinstall -y; exits 1 with a visible red error if no agents were configured._spawnvpincbm_exec_no_shell(Windows path) withCreateProcessbacked by a proper command-line quoting helper, soIMAGENAME eq codebase-memory-mcp.exeis passed as a single token instead of three bare words.fix(windows): fix MotW block, swallowed config errors, and taskkill q…
fix(windows): fix MotW block, swallowed config errors, and taskkill q…
test(windows): add regression guard for DeusData#697 taskkill quoting
fix(windows): fix MotW block, swallowed config errors, and taskkill q…
test(windows): add regression guard for DeusData#697 taskkill quoting
fix(windows): fix MotW block, swallowed config errors, and taskkill q…
test(windows): add regression guard for DeusData#697 taskkill quoting
fix(windows): widen cmdline via cbm_utf8_to_wide to preserve non-ASCI…
fix(windows): fix MotW block, swallowed config errors, and taskkill q…
test(windows): add regression guard for DeusData#697 taskkill quoting
fix(windows): widen cmdline via cbm_utf8_to_wide to preserve non-ASCI…
fix(windows): unswallow installer failures, quote CreateProcessW args…