fix: use latest MCP client for protocol and CIMD login - #1
Merged
Conversation
Owner
Author
|
@coderabbitai review |
kody-bot
marked this pull request as ready for review
August 21, 2026 00:02
|
🎉 This PR is included in version 1.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Use the latest MCP TypeScript client for everything — protocol and OAuth. Do not start the official CLI on SDK v1 or deprecated dynamic client registration.
Summary
@modelcontextprotocol/sdkentirely. MCP calls and login both use@modelcontextprotocol/client2.0.0.2026-07-28so Kody routes to the existing stateless/mcplane (ADR 0005). No GET SSE session lock.client_idis{origin}/oauth/cli-client-metadata.json, redirect is the fixed loopbackhttp://127.0.0.1:43742/callback.client_idso the SDK never falls back to DCR.ship-prandorchestrateskills (AGENTS.mdindexes them).kody loginwill getinvalid_clientagainst production.whoami/search/executestill work with an existing token.Testing
npm run validate: typecheck, 15 tests, build.client_id.server/discoverwithMcp-Protocol-Version: 2026-07-28; no GET.whoami/search/executeon the2026-07-28lane. Fresh CIMD login cannot be smoked against production until kody#1611 deploys.