Connect Claude Code to tools via MCP changedmcp
Nearest release: v2.1.332, published 3 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 24 Nov 2026 18:45 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 24 Nov 2026 19:07 UTC.
Upstream edited
Recorded here
Lines+12added
Lines−3removed
From line
544
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits124to this page, all time
#### Check or stop an MCP task in the cloud
The whole hunk
from line 544, old and new numbered
/
from line 544
544544
545545* The server supports tasks
546546* The server is an HTTP, stdio, or claude.ai connector server connected on [protocol revision 2026-07-28](#mcp-client-runtimes). Setting [`MCP_SDK_GENERATION=v1` or `MCP_PROTOCOL_NEGOTIATION=legacy`](https://code.claude.com/docs/en/env-vars) rules that out
547* The session [fetches feature flags](https://code.claude.com/docs/en/env-vars.md#features-that-need-feature-flag-fetching), so not on a third-party provider such as Amazon Bedrock, and not with telemetry or flag fetching turned off
548547* Anthropic has turned MCP tasks on for your kind of session:
549548 * Terminal CLI sessions, [Agent SDK](https://code.claude.com/docs/en/agent-sdk/overview.md) sessions, and [GitHub Actions](https://code.claude.com/docs/en/github-actions.md) runs have them on v2.1.304 or later
550549 * For the VS Code extension and local sessions in the desktop app, see [MCP tasks in VS Code and the desktop app](#mcp-tasks-in-vs-code-and-desktop)
550* If [feature-flag fetching is off](https://code.claude.com/docs/en/env-vars.md#features-that-need-feature-flag-fetching), for example on Amazon Bedrock or with telemetry turned off, you need an interactive terminal session on Claude Code v2.1.317 or later
551551* The call comes from the main conversation, not from a [subagent](https://code.claude.com/docs/en/sub-agents.md)
552552* Either the session is interactive, or an [Agent SDK](https://code.claude.com/docs/en/agent-sdk/overview.md) session or a `claude -p` run reading `--input-format stream-json` has:
553553 * [`CLAUDE_AUTO_BACKGROUND_TASKS`](https://code.claude.com/docs/en/env-vars) at `1`
from line 560
560560
561561#### MCP tasks in VS Code and the desktop app
562562
563MCP tasks work in the [VS Code extension](https://code.claude.com/docs/en/vs-code.md) and local [desktop app](https://code.claude.com/docs/en/desktop.md) sessions only if Anthropic has turned them on for your account or organization. Update the extension or app to its latest version first.
563MCP tasks can work in the [VS Code extension](https://code.claude.com/docs/en/vs-code.md) and in local [desktop app](https://code.claude.com/docs/en/desktop.md) sessions. In both, you need Claude Code v2.1.331 or later and a session that [fetches feature flags](https://code.claude.com/docs/en/env-vars.md#features-that-need-feature-flag-fetching).
564564
565565Use a terminal session in these cases:
566566
from line 571
571571Once the server accepts the job, you can see or stop the task in VS Code's [`/tasks`](https://code.claude.com/docs/en/vs-code#monitor-background-processes) or the desktop app's [**Background tasks** pane](https://code.claude.com/docs/en/desktop.md#watch-background-tasks). If no row appears while Claude waits on the call, or the tool fails, check these causes:
572572
573573* **`CLAUDE_CODE_MCP_AUTO_BACKGROUND_MS` at `0` or `CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND` at `1`**: remove it, for example from `env` in [`settings.json`](https://code.claude.com/docs/en/settings), and start a new session
574* **Tasks not turned on for your account**: no setting shows this, so use a terminal session if nothing above applies
574* **Claude Code earlier than v2.1.331**: check the version in [VS Code](https://code.claude.com/docs/en/vs-code.md#install-the-extension) or the [desktop app](https://code.claude.com/docs/en/desktop.md#claude-code-version-in-the-code-tab), then update the extension or app and start a new session. If the latest update still carries an earlier version, use a terminal session until an update brings v2.1.331 or later.
575* **First session after an update**: MCP tasks [can be missing in that session](https://code.claude.com/docs/en/env-vars.md#first-session-after-an-install-or-upgrade), so start another one
575576
577If the call still doesn't become a task after these checks, use a terminal session. If it doesn't become one there either, see [What a call needs to become an MCP task](#requirements-for-mcp-tasks).
578
576579#### MCP tasks in cloud sessions and claude.ai chats
577580
578581MCP tasks work in the cloud with [claude.ai connectors](#use-mcp-servers-from-claude-ai) that support them on [protocol revision 2026-07-28](#mcp-client-runtimes). Calls from the main conversation can become tasks in these places:
from line 600
597600* [Project](https://code.claude.com/docs/en/claude-projects.md) threads
598601* Incognito chats
599602* Claude Code's [cloud scheduled tasks](https://code.claude.com/docs/en/routines.md)
603
604#### Check or stop an MCP task in the cloud
605
606To check on or stop a running MCP task, ask Claude in the cloud session or claude.ai chat that started it, for example `stop the export task`. In a claude.ai chat on a computer, you can also hover over the tool call that started the task and select **Stop** if it appears.
607
608The server may still finish the job after either kind of stop, so ask Claude to check the task afterward. If the job still runs, look for a way to cancel it in the server's other tools or in the service that runs it.
600609
601610#### Get an MCP task's result in the cloud
602611
No line in this hunk matches that.