Backport: Add missing TasksCallCapability to v1.x (#2137)
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
c68e254bad
commit
f8d98b63a7
1 changed files with 6 additions and 1 deletions
|
|
@ -31,6 +31,7 @@ from mcp.types import (
|
|||
ServerResult,
|
||||
ServerTasksCapability,
|
||||
ServerTasksRequestsCapability,
|
||||
TasksCallCapability,
|
||||
TasksCancelCapability,
|
||||
TasksListCapability,
|
||||
TasksToolsCapability,
|
||||
|
|
@ -79,7 +80,7 @@ class ExperimentalHandlers:
|
|||
capabilities.tasks.cancel = TasksCancelCapability()
|
||||
|
||||
capabilities.tasks.requests = ServerTasksRequestsCapability(
|
||||
tools=TasksToolsCapability()
|
||||
tools=TasksToolsCapability(call=TasksCallCapability())
|
||||
) # assuming always supported for now
|
||||
|
||||
def enable_tasks(
|
||||
|
|
|
|||
Loading…
Reference in a new issue