Deprecated
The experimental tasks API is deprecated and will be removed in mcp 2.0. Tasks (SEP-1686) were removed from the MCP specification and are expected to return as a separate MCP extension in a future release.
This section documents experimental features in the MCP Python SDK. These features are deprecated and remain available on the 1.x line only for existing users.
Tasks enable asynchronous execution of MCP operations. Instead of waiting for a long-running operation to complete, the server returns a task reference immediately. Clients can then poll for status updates and retrieve results when ready.
Tasks are useful for:
Experimental features are accessed via the .experimental property:
Accessing the .experimental properties emits a DeprecationWarning.
If you rely on these features and have feedback on their deprecation or the planned MCP extension, please open an issue on the python-sdk repository.