refactor: replace lowlevel Server decorators with on_* constructor kwargs#1985
Merged
maxisbey merged 26 commits intomainmodelcontextprotocol/python-sdk:mainfrom Feb 12, 2026
sketch/lowlevel-server-v2-kwargsmodelcontextprotocol/python-sdk:sketch/lowlevel-server-v2-kwargsCopy head branch name to clipboard
Merged
refactor: replace lowlevel Server decorators with on_* constructor kwargs#1985maxisbey merged 26 commits intomainmodelcontextprotocol/python-sdk:mainfrom sketch/lowlevel-server-v2-kwargsmodelcontextprotocol/python-sdk:sketch/lowlevel-server-v2-kwargsCopy head branch name to clipboard
maxisbey merged 26 commits intomainmodelcontextprotocol/python-sdk:mainfrom
sketch/lowlevel-server-v2-kwargsmodelcontextprotocol/python-sdk:sketch/lowlevel-server-v2-kwargsCopy head branch name to clipboard
Commits
Commits on Feb 11, 2026
refactor: replace lowlevel Server decorators with on_* constructor kwargs
Show description for 2a5ebeccommitted- committed
fix: address PR review comments on migration docs and type hints
Show description for a7779e1committed- committed
refactor: replace _create_handler_kwargs with private methods on MCPServer
Show description for e7a6e5fcommitted- committed
- committed
- committed
feat: add on_* handler kwargs to enable_tasks for custom task handlers
Show description for 032ebb2committed- committed
- committed
- committed
- committed
- committed
fix: advertise subscribe capability when handler is registered
Show description for 178d41fcommitted- committed
fix: update tests to use new Server constructor kwargs pattern
Show description for f4c256fcommittedfix: migrate experimental task server tests to new handler pattern
Show description for b3f817fcommittedfix: migrate tests to new Server constructor kwargs pattern
Show description for c72c2dccommittedfix: skip partial task capability tests
Show description for 793b144committedfix: migrate examples and snippets to new Server constructor kwargs pattern
Show description for 8da8b7bcommittedfix: update README.v2.md prose to match new low-level Server API
Show description for 92f0de5committedfix: improve test coverage across lowlevel server and experimental tasks
Show description for f61ca1fcommitted- committed
Commits on Feb 12, 2026
- committed
fix: improve migration guide accuracy and document additional breaking changes
Show description for 903866ccommitted