Skip to content

AI-6060 upgrade mcp sdk#16

Closed
netanelavr wants to merge 4 commits intomasterfrom
AI-6060-mcp-sdk-migration
Closed

AI-6060 upgrade mcp sdk#16
netanelavr wants to merge 4 commits intomasterfrom
AI-6060-mcp-sdk-migration

Conversation

@netanelavr
Copy link
Copy Markdown
Member

@netanelavr netanelavr commented Feb 26, 2026

✨ PR Description

Purpose: Upgrade MCP SDK dependency from v1.20.1 to v1.25.2 and implement backward compatibility layer to preserve server instructions after SDK breaking change.

Main changes:

  • Updated MCP SDK peer dependency from >=1.17.4 to >=1.20.0 and dev dependency to ^1.25.2
  • Added migrateInstructionsCompat() method to automatically migrate instructions from serverInfo to server options for backward compatibility
  • Updated BrowserContextTransport onmessage signature to support new MessageExtraInfo parameter from SDK v1.26+

Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how

@netanelavr netanelavr requested a review from a team as a code owner February 26, 2026 10:32
@netanelavr netanelavr force-pushed the AI-6060-mcp-sdk-migration branch from bf7b8a9 to c3a7805 Compare March 1, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants