0a89fafd45
ChildProcess defaults stdin to /dev/null (scaffolders fail fast rather than hang). MCP stdio is the inverse: the server reads requests from stdin and sees EOF then exits immediately without a live pipe. spawn() now restores Redirect.PIPE. Verified end-to-end: Correx spawns the real codebase-memory-mcp v0.9.0 and mounts its 8 tools as mcp__codebase-memory__*. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>