diff --git a/src/fastmcp/server/tasks/capabilities.py b/src/fastmcp/server/tasks/capabilities.py index fa4ddf24d..b1a5d97fb 100644 --- a/src/fastmcp/server/tasks/capabilities.py +++ b/src/fastmcp/server/tasks/capabilities.py @@ -24,7 +24,7 @@ def get_task_capabilities() -> ServerTasksCapability: cancel=TasksCancelCapability(), requests=ServerTasksRequestsCapability( tools=TasksToolsCapability(call=TasksCallCapability()), - prompts={"get": {}}, - resources={"read": {}}, + prompts={"get": {}}, # type: ignore[call-arg] # extra_data for forward compat + resources={"read": {}}, # type: ignore[call-arg] # extra_data for forward compat ), )