Skip to content

One-shot CLI cannot call a legacy tool with taskSupport: "required" #2649

Closed

Description

@cliffhall

Problem

Found during the v2.10.0 release smoke (#2623) and recorded in its ledger. The behavior predates 2.9.0. Against a legacy-era server whose tool declares taskSupport: "required", the one-shot CLI fails:

Tool "simple_task" requires task support. Use callToolStream() instead of callTool().

It exits 1. mcpdo can call the same tool with tools/call --task; without --task it fails the same way. The CLI has no equivalent flag and never takes the streaming path.

Reproduce

node test-servers/build/server-composable.js --config test-servers/configs/tasks-legacy-http.json   # note its port
mcp-inspector --cli --server-url http://127.0.0.1:<port>/mcp --transport http --method tools/call --tool-name simple_task

Expected

The CLI can call a task-required tool, either automatically (use the task path when the tool requires it) or through a --task flag matching mcpdo, and it prints the task's result.

Priority

Medium (rubric total 6): Severity 3 (a real tool cannot be called from the CLI; mcpdo is the workaround), Urgency 1, +1 bug, +1 milestoned.

Activity

  1. added this to the v2.11.0 milestone on Oct 7, 2026
  2. added
    bugSomething isn't working
    v2Issues and PRs for v2
    on Oct 7, 2026
  3. self-assigned this
    on Oct 12, 2026
  4. cliffhall commented on Oct 12, 2026

    @cliffhall
    MemberAuthor

    Fixed by #2699, merged into v2/main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv2Issues and PRs for v2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions