python-sdk
python-sdk copied to clipboard
Server initialize response update to last spec (add title, description)
To match the last protocol spec, the Implementation schema must be updated and new attribute propagated on server constructor.
Motivation and Context
To match the last protocol specification update.
How Has This Been Tested?
End To End test, also added to the test suite
Breaking Changes
n/a
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation update
Checklist
- [x] I have read the MCP Documentation
- [x] My code follows the repository's style guidelines
- [x] New and existing tests pass locally
- [x] I have added appropriate error handling
- [ ] I have added or updated documentation as needed
Additional context
Also fix the version attribute which was not flowing to the _mcp_server object so was always defaulted to package version.