Skip to content

0.10.0/0.10.1 MCP server silent on initialize (regression from 0.9.0) #1539

Description

@wassolles

Summary

Since 0.10.0, the stdio MCP server produces zero output in response to a standard MCP initialize request. Clients time out / mark the server failed (opencode surfaces this as -32000 Connection closed). Version 0.9.0 responds correctly.

Environment

  • codebase-memory-mcp: 0.10.0 and 0.10.1 (broken) vs 0.9.0 (works)
  • Node v20.20.2, npm/npx 10.8.2
  • OS: Linux (WSL2, Ubuntu), x86_64
  • Invoked as a stdio MCP server via npx -y codebase-memory-mcp

Reproduction

Send a valid MCP initialize over stdin, capture stdout:

(printf '%s\n' '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"diag","version":"1.0"}}}'; sleep 5) \
  | timeout 60 npx -y codebase-memory-mcp@0.10.1

Actual (0.10.0 and 0.10.1)

  • stdout: empty (0 bytes)
  • stderr: empty
  • exit 0 on stdin EOF — the server never writes a response

Expected (works on 0.9.0)

stdout:

{"jsonrpc":"2.0","id":1,"result":{"protocolVersion":"2024-11-05","serverInfo":{"name":"codebase-memory-mcp","version":"0.9.0"},"capabilities":{"tools":{"listChanged":false}}}}

stderr shows normal startup (mem.init, server.start version=0.9.0, watcher.start, mcp.request method=initialize status=ok).

Version bisect

Version initialize response Published
0.9.0 ✅ works 2026-07-08
0.9.1-rc.1 not tested 2026-07-30
0.10.0 ❌ silent 2026-08-10
0.10.1 ❌ silent 2026-08-11

Regression was introduced in 0.10.0.

Client-side symptom

opencode log: level=WARN message="server unavailable" key=codebase-memory-mcp type=local status=failed, surfaced to the user as MCP error -32000: Connection closed.

Workaround

Pin to the last known-good release: npx -y codebase-memory-mcp@0.9.0.

Happy to run additional diagnostics (e.g. capture a trace with --print-logs, inspect bin.js behavior) if that helps narrow it down. Thanks!

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.stability/performanceServer crashes, OOM, hangs, high CPU/memoryux/behaviorDisplay bugs, docs, adoption UX

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions