Skip to content

Fix Invalid data in Session#241

Merged
Nyholm merged 1 commit intomodelcontextprotocol:mainfrom
sveneld:issue-with-session
Feb 11, 2026
Merged

Fix Invalid data in Session#241
Nyholm merged 1 commit intomodelcontextprotocol:mainfrom
sveneld:issue-with-session

Conversation

@sveneld
Copy link
Contributor

@sveneld sveneld commented Feb 11, 2026

Motivation and Context

During the testsing of my application I got an error

/vendor/mcp/sdk/src/Server/Session/Session.php in Mcp\Server\Session\Session::readData at line 174
/vendor/mcp/sdk/src/Server/Session/Session.php in Mcp\Server\Session\Session::set at line 75
/vendor/mcp/sdk/src/Server/Protocol.php in Mcp\Server\Protocol::handleRequest at line 163
/vendor/mcp/sdk/src/Server/Protocol.php in Mcp\Server\Protocol::processInput at line 130
/vendor/mcp/sdk/src/Server/Transport/BaseTransport.php in Mcp\Server\Transport\BaseTransport::handleMessage at line 133

How Has This Been Tested?

OAuth implementation

Breaking Changes

No

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Signed-off-by: Volodymyr Panivko <sveneld300@gmail.com>
Copy link
Contributor

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

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

Thank you

@Nyholm Nyholm merged commit 8f8af90 into modelcontextprotocol:main Feb 11, 2026
16 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