Skip to content

Windows: install.ps1 reports success but leaves MCP server unregistered (MotW + swallowed config errors + malformed taskkill) #697

Description

@seltzdesign

Version

codebase-memory-mcp 0.8.1

Platform

Windows (x64)

Install channel

GitHub release archive / install.sh / install.ps1

Binary variant

ui

What happened, and what did you expect?

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:

"%LOCALAPPDATA%\Programs\codebase-memory-mcp\codebase-memory-mcp.exe" install -y

Reproduction

  1. Download codebase-memory-mcp-ui-windows-amd64.zip from releases
  2. Unpack and try to run install.ps1

Logs


Diagnostics trajectory (memory / performance / leak issues)


Project scale (if relevant)

No response

Confirmations

  • I searched existing issues and this is not a duplicate.
  • My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingeditor/integrationEditor compatibility and CLI integrationpriority/highNeeds near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.ux/behaviorDisplay bugs, docs, adoption UXwindowsWindows-specific issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions