Skip to content

Conversation

@BobDickinson
Copy link
Contributor

Fixed test failures induced by MCP SDK update (added session id generator to Streamable test server). Cleanup up some port usage to avoid potential issues (always use port 0 for test servers). Added stdout/stderr to cli status assertion failures to make CLI test failures easier to debug from test output.

Summary

MCP SDK v1.26.0 had security fix: Security advisory (GHSA-345p-7cg4-v4c7) which broke our StreamableHTTP test server (which lacked session id generation). This PR fixes that and adds better test failure output and better test server port management.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • Test updates

Testing

  • Tested in UI mode
  • Tested in CLI mode
  • Tested with STDIO transport
  • Tested with SSE transport
  • Tested with Streamable HTTP transport
  • Added/updated automated tests
  • Manual testing performed

Checklist

  • Code follows the style guidelines (ran npm run prettier-fix)
  • Self-review completed
  • Code is commented where necessary
  • Documentation updated (README, comments, etc.)

…ator to Streamable test server). Cleanup up some port usage to avoid potential issues (always use port 0 for servers). Added stdout/stderr to cli status assertion failures to make CLI test failures easier to debug from test output.
Copy link
Member

@cliffhall cliffhall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@cliffhall cliffhall merged commit 98f0587 into modelcontextprotocol:main Feb 6, 2026
6 checks passed
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