<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Fusion MCP Server: Node-based clients fail parsing initialize response (HTTPParserError: invalid chunk size); curl works in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/fusion-mcp-server-node-based-clients-fail-parsing-initialize/m-p/14286991#M23123</link>
    <description>&lt;P dir="ltr"&gt;&lt;STRONG&gt;Update: the suggested --no-node-snapshot workaround does not resolve the issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;Autodesk Support confirmed this is a known bug in the local Fusion MCP Server's chunked response framing and suggested setting NODE_OPTIONS="--no-node-snapshot" for Claude Desktop as a temporary workaround.&lt;/P&gt;&lt;P dir="ltr"&gt;I tested it, and it does not help. With the option added to the mcp-remote entry in claude_desktop_config.json and Claude Desktop fully restarted, every connection still fails on the initialize response with the same error:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;HTTPParserError: Response does not match the HTTP/1.1 protocol (Invalid character in chunk size)
data: '{"id":0,"jsonrpc":"2.0","result":{...,"protocolVersion":"2025-11-25","serverInfo":{"name":"MCP Server Adapter","version":"1.0.0"}}}'&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P dir="ltr"&gt;--no-node-snapshot only affects Node's startup snapshot, not HTTP parsing, and Node 24 has no legacy HTTP parser to fall back to. So the fix needs to come from Fusion's side.&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt; Fusion 2703.1.20 x86_64, Windows 11, Claude Desktop 2.1.6120.0, Node.js v24.19.0, mcp-remote (latest), MCP server on port 27185 (also reproduced on 27182).&lt;/P&gt;&lt;P dir="ltr"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;If anyone has found a working client-side workaround in the meantime, I'd be glad to hear it. Otherwise, I'm subscribed here and will test as soon as a fixed build is available.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Oct 2026 17:21:35 GMT</pubDate>
    <dc:creator>yonemoto888</dc:creator>
    <dc:date>2026-10-02T17:21:35Z</dc:date>
    <item>
      <title>Fusion MCP Server: Node-based clients fail parsing initialize response (HTTPParserError: invalid chunk size); curl works</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/fusion-mcp-server-node-based-clients-fail-parsing-initialize/m-p/14282530#M23111</link>
      <description>&lt;P&gt;Windows 11, Fusion MCP Server enabled (Preferences &amp;gt; General &amp;gt; API), port 27182.&lt;BR /&gt;Related thread: "Fusion MCP Server disconnects immediately after initialize - Claude Desktop Windows"&lt;/P&gt;&lt;P&gt;Findings:&lt;BR /&gt;- netstat confirms Fusion is LISTENING on 127.0.0.1:27182.&lt;BR /&gt;- curl POST initialize to &lt;A href="http://127.0.0.1:27182/mcp" target="_blank"&gt;http://127.0.0.1:27182/mcp&lt;/A&gt; succeeds for protocolVersion&lt;BR /&gt;2025-06-18 and 2025-11-25, with a clean Content-Length response.&lt;BR /&gt;- Discovery endpoints (/.well-known/...) return clean 404s; GET /mcp returns a clean 405.&lt;BR /&gt;- Claude Desktop's bundled Fusion bridge crashes ~1s after initialize&lt;BR /&gt;("Server transport closed unexpectedly").&lt;BR /&gt;- Replacing the bridge with mcp-remote (Node/undici) against the same endpoint fails&lt;BR /&gt;on the initialize response:&lt;BR /&gt;HTTPParserError: Response does not match the HTTP/1.1 protocol&lt;BR /&gt;(Invalid character in chunk size)&lt;BR /&gt;The error's data field contains the valid initialize result, so the body is correct,&lt;BR /&gt;but the HTTP framing sent to this client appears to declare chunked transfer&lt;BR /&gt;encoding without a chunked body.&lt;BR /&gt;- Not reproducible with curl, even with Node's headers&lt;BR /&gt;(Accept-Encoding, User-Agent, Connection: keep-alive).&lt;/P&gt;&lt;P&gt;Conclusion: the server's response framing differs for Node HTTP clients, which breaks&lt;BR /&gt;both the official bridge and third-party relays. Happy to provide full logs.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2026 14:03:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/fusion-mcp-server-node-based-clients-fail-parsing-initialize/m-p/14282530#M23111</guid>
      <dc:creator>production3NQBF</dc:creator>
      <dc:date>2026-09-29T14:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Fusion MCP Server: Node-based clients fail parsing initialize response (HTTPParserError: invalid chunk size); curl works</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/fusion-mcp-server-node-based-clients-fail-parsing-initialize/m-p/14284779#M23122</link>
      <description>&lt;P dir="ltr"&gt;&lt;STRONG&gt;Subject: Fusion MCP Server returns malformed chunked HTTP responses, so Claude Desktop cannot connect&lt;/STRONG&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Autodesk Fusion: 2703.1.20 x86_64&lt;/LI&gt;&lt;LI&gt;OS: Windows 11&lt;/LI&gt;&lt;LI&gt;Claude Desktop: 2.1.6120.0&lt;/LI&gt;&lt;LI&gt;Node.js v24.19.0, mcp-remote (latest via npx)&lt;/LI&gt;&lt;LI&gt;Fusion MCP Server enabled (Preferences → General → API), design open&lt;/LI&gt;&lt;/UL&gt;&lt;P dir="ltr"&gt;&lt;STRONG&gt;Summary&lt;/STRONG&gt;&lt;BR /&gt;The local Fusion MCP Server returns a valid JSON-RPC body in response to initialize, but the HTTP/1.1 chunked transfer framing around it is malformed. Node/undici rejects the response and the client disconnects. This happens with both the &lt;STRONG&gt;Autodesk Fusion extension for Claude Desktop&lt;/STRONG&gt; and a manual &lt;STRONG&gt;mcp-remote&lt;/STRONG&gt; bridge configured in claude_desktop_config.json.&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;STRONG&gt;Error (from Claude Desktop's mcp-server-fusion.log)&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;Connecting to remote server: http://127.0.0.1:27185/mcp
Connection error: TypeError: terminated
  [cause]: HTTPParserError: Response does not match the HTTP/1.1 protocol (Invalid character in chunk size)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P dir="ltr"&gt;The response body received before the parser error is valid:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;{"id":0,"jsonrpc":"2.0","result":{"capabilities":{"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":false}},"protocolVersion":"2025-11-25","serverInfo":{"name":"MCP Server Adapter","version":"1.0.0"}}}&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P dir="ltr"&gt;&lt;STRONG&gt;Steps to reproduce&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Start Fusion, open a design, and enable the Fusion MCP Server.&lt;/LI&gt;&lt;LI&gt;Connect Claude Desktop using the Autodesk Fusion extension, or with npx -y mcp-remote &lt;A href="http://127.0.0.1" target="_blank" rel="noopener"&gt;http://127.0.0.1&lt;/A&gt;:&amp;lt;port&amp;gt;/mcp.&lt;/LI&gt;&lt;LI&gt;Claude sends initialize. Fusion replies, but the response fails HTTP parsing and the server shows as disconnected.&lt;/LI&gt;&lt;/OL&gt;&lt;P dir="ltr"&gt;&lt;STRONG&gt;Observations&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Reproduces on the default port 27182 &lt;STRONG&gt;and&lt;/STRONG&gt; on a custom port (27185) after restarting Fusion. netstat confirms Fusion is the only listener on that port.&lt;/LI&gt;&lt;LI&gt;Fails with both the Autodesk Fusion extension and the mcp-remote bridge.&lt;/LI&gt;&lt;LI&gt;Fails on single connection attempts, not only when two connections arrive at once.&lt;/LI&gt;&lt;LI&gt;A single manual PowerShell initialize request (Invoke-RestMethod) succeeds, and one standalone manual mcp-remote run from Command Prompt connected successfully. Connections launched by Claude Desktop fail every time.&lt;/LI&gt;&lt;LI&gt;On the default port, failed connections were left in CLOSE_WAIT on the server side, which suggests sockets aren't being closed cleanly after the bad response.&lt;/LI&gt;&lt;/UL&gt;&lt;P dir="ltr"&gt;&lt;STRONG&gt;Expected:&lt;/STRONG&gt; well-formed HTTP/1.1 responses so MCP clients can complete initialize and connect.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2026 05:53:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/fusion-mcp-server-node-based-clients-fail-parsing-initialize/m-p/14284779#M23122</guid>
      <dc:creator>yonemoto888</dc:creator>
      <dc:date>2026-10-01T05:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fusion MCP Server: Node-based clients fail parsing initialize response (HTTPParserError: invalid chunk size); curl works</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/fusion-mcp-server-node-based-clients-fail-parsing-initialize/m-p/14286991#M23123</link>
      <description>&lt;P dir="ltr"&gt;&lt;STRONG&gt;Update: the suggested --no-node-snapshot workaround does not resolve the issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;Autodesk Support confirmed this is a known bug in the local Fusion MCP Server's chunked response framing and suggested setting NODE_OPTIONS="--no-node-snapshot" for Claude Desktop as a temporary workaround.&lt;/P&gt;&lt;P dir="ltr"&gt;I tested it, and it does not help. With the option added to the mcp-remote entry in claude_desktop_config.json and Claude Desktop fully restarted, every connection still fails on the initialize response with the same error:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;HTTPParserError: Response does not match the HTTP/1.1 protocol (Invalid character in chunk size)
data: '{"id":0,"jsonrpc":"2.0","result":{...,"protocolVersion":"2025-11-25","serverInfo":{"name":"MCP Server Adapter","version":"1.0.0"}}}'&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P dir="ltr"&gt;--no-node-snapshot only affects Node's startup snapshot, not HTTP parsing, and Node 24 has no legacy HTTP parser to fall back to. So the fix needs to come from Fusion's side.&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt; Fusion 2703.1.20 x86_64, Windows 11, Claude Desktop 2.1.6120.0, Node.js v24.19.0, mcp-remote (latest), MCP server on port 27185 (also reproduced on 27182).&lt;/P&gt;&lt;P dir="ltr"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;If anyone has found a working client-side workaround in the meantime, I'd be glad to hear it. Otherwise, I'm subscribed here and will test as soon as a fixed build is available.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2026 17:21:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/fusion-mcp-server-node-based-clients-fail-parsing-initialize/m-p/14286991#M23123</guid>
      <dc:creator>yonemoto888</dc:creator>
      <dc:date>2026-10-02T17:21:35Z</dc:date>
    </item>
  </channel>
</rss>

