Skip to content

happy codex is showing error: Error: MCP error -32000: Connection closed #157

Closed

Description

@lijunle

Logs:

[03:22:12.472] [ClaudeSettings] No Claude settings file found at /Users/lijunle/.claude/settings.json 
[03:22:12.473] Starting happy CLI with args:  ["/opt/homebrew/Cellar/node/24.9.0_1/bin/node","/opt/homebrew/lib/node_modules/happy-coder/dist/index.mjs","codex"]
[03:22:12.476] [AUTH] Starting auth and machine setup... 
[03:22:12.477] [AUTH] Using existing credentials 
[03:22:12.479] [AUTH] Machine ID: 0cbab5f2-c3b8-4603-85fb-9f44fd0f458e 
[03:22:12.480] [codex] Starting with options: startedBy=terminal 
[03:22:12.480] Using machineId: 0cbab5f2-c3b8-4603-85fb-9f44fd0f458e 
[03:22:12.632] [API] Machine 0cbab5f2-c3b8-4603-85fb-9f44fd0f458e registered/updated with server 
[03:22:12.707] Session created/loaded: cmgc4j4ss0obkwo14kw90cc3y (tag: 7f535fbd-cb1b-47f8-8b2b-b78d4770d047) 
[03:22:12.712] [START] Reporting session cmgc4j4ss0obkwo14kw90cc3y to daemon 
[03:22:12.713] [CONTROL CLIENT] No daemon running, no state file found 
[03:22:12.713] [START] Failed to report to daemon (may not be running): No daemon running, no state file found
[03:22:12.713] [MessageQueue2] Initialized 
[03:22:12.754] [codex]: client.connect begin 
[03:22:12.754] [CodexMCP] Connecting to Codex MCP server... 
[03:22:12.754] [CodexMCP] Permission handlers registered 
[03:22:12.776] [codex]: Final cleanup start 
[03:22:12.776] [codex]: sendSessionDeath 
[03:22:12.777] [codex]: flush begin 
[03:22:12.777] [codex]: flush done 
[03:22:12.777] [codex]: session.close begin 
[03:22:12.777] [API] socket.close() called 
[03:22:12.777] [codex]: session.close done 
[03:22:12.777] [codex]: client.disconnect begin 
[03:22:12.777] [codex]: client.disconnect done 
[03:22:12.778] [codex]: happyServer.stop 
[03:22:12.778] [happyMCP] Stopping server 
[03:22:12.778] [codex]: setRawMode(false) 
[03:22:12.778] [codex]: stdin.pause() 
[03:22:12.778] [codex]: clearInterval(keepAlive) 
[03:22:12.778] [codex]: inkInstance.unmount() 
[03:22:12.790] [codex]: Final cleanup completed 

Activity

  1. GrocerPublishAgent commented on Oct 5, 2025

    @GrocerPublishAgent
    Contributor

    Duplicate of #158

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions