Fusion MCP Server: Node-based clients fail parsing initialize response (HTTPParserError: invalid chunk size); curl works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Windows 11, Fusion MCP Server enabled (Preferences > General > API), port 27182.
Related thread: "Fusion MCP Server disconnects immediately after initialize - Claude Desktop Windows"
Findings:
- netstat confirms Fusion is LISTENING on 127.0.0.1:27182.
- curl POST initialize to http://127.0.0.1:27182/mcp succeeds for protocolVersion
2025-06-18 and 2025-11-25, with a clean Content-Length response.
- Discovery endpoints (/.well-known/...) return clean 404s; GET /mcp returns a clean 405.
- Claude Desktop's bundled Fusion bridge crashes ~1s after initialize
("Server transport closed unexpectedly").
- Replacing the bridge with mcp-remote (Node/undici) against the same endpoint fails
on the initialize response:
HTTPParserError: Response does not match the HTTP/1.1 protocol
(Invalid character in chunk size)
The error's data field contains the valid initialize result, so the body is correct,
but the HTTP framing sent to this client appears to declare chunked transfer
encoding without a chunked body.
- Not reproducible with curl, even with Node's headers
(Accept-Encoding, User-Agent, Connection: keep-alive).
Conclusion: the server's response framing differs for Node HTTP clients, which breaks
both the official bridge and third-party relays. Happy to provide full logs.