feat(mcp): upgrade client SDK to v2 (#39247)

Co-authored-by: Matt Carey <mcarey@cloudflare.com>
This commit is contained in:
Aiden Cline
2026-07-27 23:19:33 -05:00
committed by GitHub
parent 199e80d83e
commit fb3b8fd059
28 changed files with 271 additions and 1028 deletions
@@ -74,7 +74,7 @@ describe("McpOAuthCallback.ensureRunning", () => {
const response = await fetch(`${redirectUri}?code=code&state=success`)
expect(response.status).toBe(200)
expect(await callback).toBe("code")
expect(await callback).toEqual({ code: "code", iss: undefined })
expect(McpOAuthCallback.isRunning()).toBe(false)
})