Skip to content

Conversation

@naji247
Copy link
Member

@naji247 naji247 commented Dec 4, 2025

Support both (SDK 1.23-) and (SDK 1.24+) property
names in RegisteredTool to maintain backwards compatibility.

Changes:

  • Update RegisteredTool type to accept either callback or handler
  • Add utility functions to abstract property name detection
  • Extract MCP SDK compat helpers into dedicated module
  • Preserve original property name when wrapping tools
  • Remove 1.24 version restriction from CI compatibility workflow

Tested with MCP SDK versions 1.23.0 and 1.24.2.

  Support both  (SDK 1.23-) and  (SDK 1.24+) property
  names in RegisteredTool to maintain backwards compatibility.

  Changes:
  - Update RegisteredTool type to accept either callback or handler
  - Add utility functions to abstract property name detection
  - Extract MCP SDK compat helpers into dedicated module
  - Preserve original property name when wrapping tools
  - Remove 1.24 version restriction from CI compatibility workflow

  Tested with MCP SDK versions 1.23.0 and 1.24.2.
@naji247 naji247 requested a review from kashishhora December 4, 2025 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants