SEP-1686: Tasks#1645
Merged
maxisbey merged 54 commits intomainmodelcontextprotocol/python-sdk:mainfrom Nov 28, 2025
maxisbey/SEP-1686_Tasksmodelcontextprotocol/python-sdk:maxisbey/SEP-1686_TasksCopy head branch name to clipboard
Merged
SEP-1686: Tasks#1645maxisbey merged 54 commits intomainmodelcontextprotocol/python-sdk:mainfrom maxisbey/SEP-1686_Tasksmodelcontextprotocol/python-sdk:maxisbey/SEP-1686_TasksCopy head branch name to clipboard
maxisbey merged 54 commits intomainmodelcontextprotocol/python-sdk:mainfrom
maxisbey/SEP-1686_Tasksmodelcontextprotocol/python-sdk:maxisbey/SEP-1686_TasksCopy head branch name to clipboard
Commits
Commits on Nov 26, 2025
- committed
- committed
- committed
- committed
- committed
- committed
- committed
- committed
Add client-side task handler protocols and auto-capability building
Show description for b709d6fcommittedRefactor client task handlers into ExperimentalTaskHandlers dataclass
Show description for 4c0385fcommittedAdd interactive task examples and move call_tool_as_task to experimental
Show description for 78e177bcommittedRename TaskExecutionMode values to match updated spec
Show description for f138fcbcommitted- committed
Add lastUpdatedAt field and related-task metadata for spec conformance
Show description for ec08851committedAdd cancel_task helper and terminal status transition validation
Show description for 71b7324committedAdd model-immediate-response support to run_task helper
Show description for 4dde3fccommittedFix race condition in response routing and simplify handler registration
Show description for 6e2b727committedFix ElicitRequestParams usage in task_session.py
Show description for 3c4f262committed
Commits on Nov 27, 2025
Refactor task architecture: separate pure state from server integration
Show description for 34ad089committedUse call_tool_as_task helper in simple-task-client example
Show description for 800b409committedSimplify simple-task server example using new task API
Show description for 9c535a7committedReplace magic strings with constants for task status and metadata
Show description for e200fbdcommittedClean up task code: fix error codes, imports, type annotations, and add test fixtures
Show description for 8b31b61committedRefactor test_handlers.py to use client_streams fixture
Show description for 76b3a26committedUse typed request classes instead of hardcoded method strings in test_handlers.py
Show description for 499602ecommitted- committed
Remove unnecessary request_params from RequestResponder
Show description for 4eb5e45committedAdd test for task-augmented elicitation (covers client/session.py line 569)
Show description for 2f3b792committedAdd coverage tests and fix gaps
Show description for b184785committed- committed
Add coverage tests for experimental tasks code
Show description for 5830e3ccommittedAdd session method coverage tests
Show description for a118f98committedAdd coverage for remaining branch gaps
Show description for 49543bbcommittedAchieve 100% coverage for experimental tasks
Show description for b529e26committed
Commits on Nov 28, 2025
Add poll_task() method and update examples to use spec-compliant polling
Show description for 98782fccommitted- committed
- committed
Add server→client task-augmented elicitation and sampling support
Show description for 1efe8b0committedRefactor tasks capability checking into isolated module
Show description for 8cd2765committedAdd comprehensive capability tests and improve test coverage
Show description for b7d44facommittedUnify sampling and elicitation code paths with shared validation
Show description for 6eb1b3fcommittedAchieve 100% test coverage for tasks code
Show description for e8c7c8acommittedRefactor example servers to have simpler tool dispatch
Show description for e68f821committedClean up test code patterns
Show description for 05e19decommittedClean up test code: remove useless comments and replace sleeps with events
Show description for fde9dc8committed- authored
Rewrite tasks documentation for new API
Show description for 4516515committedFix outdated references in example READMEs
Show description for 757df38committedSimplify catch-all case in client session match
Show description for 1688c6acommitted- committed
- committed
Align types.py with official MCP schema for tasks
Show description for 14c8fb3committedAddress review feedback
Show description for bbd0ed3committedUse distinct variable names in interactive task client example
Show description for 728c139committed