Skip to content

Comments

fix(ai): add support for MCP protocol version 2025-06-18#7594

Merged
dancer merged 2 commits intomainfrom
js/mcp
Jul 28, 2025
Merged

fix(ai): add support for MCP protocol version 2025-06-18#7594
dancer merged 2 commits intomainfrom
js/mcp

Conversation

@dancer
Copy link
Collaborator

@dancer dancer commented Jul 28, 2025

background

Users with FastMCP servers (version 2.10.6+) were unable to connect because they use MCP protocol version 2025-06-18, but the AI SDK only supported versions up to 2025-03-26, causing connection failures with "Server's protocol version is not supported" errors.

summary

  • add 2025-06-18 to supported MCP protocol versions
  • update mock transport to use latest protocol version

verification

  • all existing MCP tests pass
  • backward compatibility maintained for 2025-03-26 and 2024-11-05 versions
  • FastMCP server connections now work without errors

tasks

  • updated SUPPORTED_PROTOCOL_VERSIONS array in types.ts
  • set LATEST_PROTOCOL_VERSION to 2025-06-18
  • updated mock transport default protocol version
  • verified all test pass

related issue #7575

@dancer dancer merged commit d92b9a8 into main Jul 28, 2025
9 checks passed
@dancer dancer deleted the js/mcp branch July 28, 2025 09:11
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.

2 participants