You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SOLUTION] Fix for Happy Codex MCP error -32000 and external MCP servers not working in Codex #167
Multiple people have reported MCP error -32000: Connection closed and external MCP servers (for me I just use Context7) not being available in Happy Codex after fixing the mcp to mcp-server issue. I believe this affects issues #158, #155, and #164.
I did the following and have happy codex working with MCPs. Not sure if it right but it's working.
Step 1: Install MCP servers globally
Avoid npx instability (found this through logs) by installing MCP servers as global binaries:
• No more "MCP error -32000: Connection closed"
• External MCP servers (Context7, etc.) available in Happy
• MCP server connection with no npx failures
• Happy respects existing Codex MCP server configuration
I tried this solution, but it didn’t work for me at first. Later, I reinstalled Codex (using Homebrew), reinstalled Happy, and cleared the config.toml file — after that, everything started working fine, and the MCP startup errors were gone. Then I reconfigured MCP, and it still worked perfectly. I’d recommend anyone having the same issue to give this a try.
Activity
songtianlun commentedon Oct 10, 2025
I tried making the same modifications, but I got the same error.
It doesn't seem to work for me. My system is Ubuntu 22.04.
CaiJingLong commentedon Oct 11, 2025
The issue with macOS is the same, and the sessions created cannot be closed; they will always remain in the list.
redpintings commentedon Oct 11, 2025
codex 0.45
macOS
iPhone
Error: MCP error -32000: Connection closed
huntsyea commentedon Oct 12, 2025
After above?
huntsyea commentedon Oct 12, 2025
After above? Resetting and reinstalling prior to doing this cleared mine it's all working properly
kts-kris commentedon Oct 14, 2025
I tried this solution, but it didn’t work for me at first. Later, I reinstalled Codex (using Homebrew), reinstalled Happy, and cleared the config.toml file — after that, everything started working fine, and the MCP startup errors were gone. Then I reconfigured MCP, and it still worked perfectly. I’d recommend anyone having the same issue to give this a try.
songtianlun commentedon Oct 15, 2025
This issue is similar to this one:
#158
It appears to be resolved now; installing the latest version should fix it.