[Bug]: Claude provider: t3-code MCP server fails to connect. #45466
Before submitting#
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area#
apps/server
Steps to reproduce#
- Start T3 Code (Beta) 0.1.13 on Windows 11 Pro.
- Open any project and start a new thread with the Claude provider (Claude Code 2.1.332, agent-sdk 0.3.321).
- Ask the agent to use any t3-code tool (or check the session's MCP server status).
- The t3-code MCP server is reported as failed: InvalidHTTPResponse fetching http://127.0.0.1:3773/ Starting new threads and restarting the app does not help. The Codex provider connects fine.
Expected behavior#
Claude sessions connect to the t3-code MCP server and the mcp__t3-code__* tools are available, as they were on 2026-11-25 with the same Claude Code version.
Actual behavior#
t3-code MCP server fails to connect in every Claude session since ~2026-11-26 (after a T3 Code update).
server.trace.ndjson, working session (2026-11-25), client claude-code/2.1.332 (t3-code, agent-sdk/0.3.321): server/discover proto=2026-07-28 -> 200 subscriptions/listen proto=2026-07-28 -> 200 tools/list proto=2026-07-28 -> 200 (connected)
Every session since 2026-11-26 (same Claude Code version): server/discover proto=2026-07-28 -> 200 initialize proto=2025-06-18 -> 200 (no further requests) -> client: InvalidHTTPResponse
The server answers both requests with 200 and logs no errors, but the client does not accept the server/discover response, falls back to initialize, and rejects that response too.
Port 3773 is listening; /mcp returns 401 without credentials as expected.
Codex (codex-mcp-client/0.172.0, initialize 2025-06-18) connects fine.
claude update reports 2.1.332 is the latest version.
Impact#
Blocks work completely
Version or commit#
T3 Code (Beta) 0.1.13 desktop
Environment#
Windows 11 Pro 10.0.26200, T3 Code desktop 0.1.13, Claude provider: Claude Code 2.1.332 (agent-sdk 0.3.321), model claude-opus-5-5
Logs or stack traces#
Session MCP status (Claude init message):
"mcp_servers":[{"name":"t3-code","status":"failed","source":"dynamic"}]
t3-code (InvalidHTTPResponse): "InvalidHTTPResponse fetching http://127.0.0.1:3773/"
server.trace.ndjson — MCP methods from claude-code/2.1.332 (t3-code, agent-sdk/0.3.321):
11-25 19:00:57 server/discover proto=2026-07-28 200
11-25 19:00:58 subscriptions/listen proto=2026-07-28 200
11-25 19:00:58 tools/list proto=2026-07-28 200 <- connected
11-26 13:59:41 server/discover proto=2026-07-28 200
11-26 13:59:41 initialize proto=2025-06-18 200 <- then client fails
11-29 11:30:20 server/discover proto=2026-07-28 200
11-29 11:30:20 initialize proto=2025-06-18 200 <- then client fails
(same pattern in every Claude session since 11-26; no server-side errors logged)
Screenshots, recordings, or supporting files#
No response
Workaround#
None for Claude. Switching the thread to the Codex provider gives working t3-code tools.
urszura(GitHub profile, opens in a new tab) added labelsbug
urszura(GitHub profile, opens in a new tab) added labelsneeds-triage
juliusmarminge added labelsneeds more info
Sign in to join this conversation.
@urszura Do you have Norton 360 or Avast (or other web/AI protection) on this PC? This exact InvalidHTTPResponse was traced in #31015 to Norton's Safe AI "Stay away from risky links and connections" and Avast's Web Guard rewriting loopback responses. Does turning that off, or adding an exception for http://127.0.0.1:3773/, make t3-code connect in a new Claude thread? If it still fails, please paste the output of `curl.exe -sv --raw --noproxy "" http://127.0.0.1:3773/.well-known/oauth-protected-resource/mcp`.