From 467ff768d2184e2a135c95596d293f9f96349643 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 4 Aug 2026 14:09:33 +0200 Subject: [PATCH] fix: send mcp-protocol-version header in worktree registration test Required for follow-up requests by the 2025-06-18 MCP HTTP transport that effect beta.103 enforces. Co-Authored-By: Claude Fable 5 --- apps/server/src/mcp/toolkits/worktree/registration.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/server/src/mcp/toolkits/worktree/registration.test.ts b/apps/server/src/mcp/toolkits/worktree/registration.test.ts index 773f4edc32..676d7edcec 100644 --- a/apps/server/src/mcp/toolkits/worktree/registration.test.ts +++ b/apps/server/src/mcp/toolkits/worktree/registration.test.ts @@ -75,6 +75,7 @@ it.effect("production mcp layer lists worktree tools over http", () => headers: { accept: "application/json, text/event-stream", authorization: auth, + "mcp-protocol-version": "2025-06-18", ...(sessionId ? { "mcp-session-id": sessionId } : {}), }, body: HttpBody.text(