Skip to content

[Windows] --ui=true starts but HTTP server never listens on v0.8.1 #707

Description

@MrXuanZF

Version

codebase-memory-mcp-ui-windows-amd64

Platform

Windows (x64)

Install channel

GitHub release archive / install.sh / install.ps1

Binary variant

ui

What happened, and what did you expect?

Bug Description

When running codebase-memory-mcp.exe --ui=true --port=9749 on Windows (v0.8.1 UI build), the process starts but the HTTP server never actually listens on the specified port. No error output is shown.

Environment

  • OS: Windows 10/11
  • Version: v0.8.1
  • Build: codebase-memory-mcp-ui-windows-amd64.zip (35.6MB, SHA/checksum verified)

Steps to Reproduce

  1. Download codebase-memory-mcp-ui-windows-amd64.zip from v0.8.1 release
  2. Extract codebase-memory-mcp.exe (258MB, confirmed UI build with src/ui/httpd.c in THIRD_PARTY_NOTICES.md)
  3. Run: codebase-memory-mcp.exe --ui=true --port=9749
  4. Run: curl -sI http://localhost:9749 or netstat -an | findstr 9749

Expected Behavior

  • HTTP server starts and listens on port 9749
  • http://localhost:9749 is accessible in browser
  • 3D visualization UI is displayed

Actual Behavior

  • Process starts with no error output
  • Port 9749 is never listened (confirmed via netstat)
  • curl / browser connection fails immediately
  • No log output even when redirecting stderr/stdout to file

Additional Info

  • Tried multiple ports (9749, 9750) — same result
  • Ran codebase-memory-mcp.exe install -y first — same result
  • Windows Defender / firewall disabled for testing — same result
  • The MCP stdio mode works correctly (index_repository, get_architecture etc. all work fine)

Possible Cause

The HTTP server goroutine in the UI build may not be starting correctly on Windows, or the --ui flag is not being recognized properly in the Windows binary.

Reproduction

Bug Description

When running codebase-memory-mcp.exe --ui=true --port=9749 on Windows (v0.8.1 UI build), the process starts but the HTTP server never actually listens on the specified port. No error output is shown.

Environment

  • OS: Windows 10/11
  • Version: v0.8.1
  • Build: codebase-memory-mcp-ui-windows-amd64.zip (35.6MB, SHA/checksum verified)

Steps to Reproduce

  1. Download codebase-memory-mcp-ui-windows-amd64.zip from v0.8.1 release
  2. Extract codebase-memory-mcp.exe (258MB, confirmed UI build with src/ui/httpd.c in THIRD_PARTY_NOTICES.md)
  3. Run: codebase-memory-mcp.exe --ui=true --port=9749
  4. Run: curl -sI http://localhost:9749 or netstat -an | findstr 9749

Expected Behavior

  • HTTP server starts and listens on port 9749
  • http://localhost:9749 is accessible in browser
  • 3D visualization UI is displayed

Actual Behavior

  • Process starts with no error output
  • Port 9749 is never listened (confirmed via netstat)
  • curl / browser connection fails immediately
  • No log output even when redirecting stderr/stdout to file

Additional Info

  • Tried multiple ports (9749, 9750) — same result
  • Ran codebase-memory-mcp.exe install -y first — same result
  • Windows Defender / firewall disabled for testing — same result
  • The MCP stdio mode works correctly (index_repository, get_architecture etc. all work fine)

Possible Cause

The HTTP server goroutine in the UI build may not be starting correctly on Windows, or the --ui flag is not being recognized properly in the Windows binary.

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority/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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions