Configuration reference changedthird-party/claude-desktop/configuration
Nearest release: v2.1.329, published 8 hours before 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 20 Nov 2026 02:49 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 20 Nov 2026 03:07 UTC.
Upstream edited
Recorded here
Lines+7added
Lines−5removed
From line
1,169
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits86to this page, all time
The whole hunk
from line 1169, old and new numbered
/
from line 1169
11691169>
11701170> Each entry is a model ID or an object:
11711171>
1172> ```json theme={null}
1172> ```json theme={null} theme={null}
11731173> [
11741174> {"name": "claude-sonnet-5",
11751175> "supports1m": true},
from line 4185
41854185
41864186Each [`managedMcpServers`](#managedmcpservers) entry can carry a `toolPolicy` that sets the approval state per tool:
41874187
4188* `"allow"`: in Cowork sessions, the tool runs without an approval prompt, except that a built-in server's [irreversible actions](https://claude.com/docs/third-party/claude-desktop/built-in-connectors.md#how-built-in-servers-behave) stay at `"ask"` or stricter. In local Code sessions and Code sessions on an SSH host, `"allow"` doesn't pre-approve the tool, so the user can see an approval prompt for it.
4188* `"allow"`: in Cowork sessions, the tool runs without an approval prompt, except that a built-in server's [irreversible actions](https://claude.com/docs/third-party/claude-desktop/built-in-connectors.md#how-built-in-servers-behave) stay at `"ask"` or stricter. In local Code sessions and Code sessions on an SSH host, `"allow"` doesn't pre-approve the tool, so the user can see an approval prompt for it. For a server that a plugin provides, see [Set tool permissions for a plugin server](https://claude.com/docs/third-party/claude-desktop/extensions.md#set-tool-permissions-for-a-plugin-server).
41894189* `"ask"`: every call that Claude makes needs approval; no session-scoped or standing grants are offered. A plugin's [hook](https://claude.com/docs/third-party/claude-desktop/extensions.md#plugin-hooks) can answer the approval prompt in the user's place. To run only the hooks that your Claude Code managed settings provide, see [Turn off user hooks](https://claude.com/docs/third-party/claude-desktop/extensions.md#turn-off-user-hooks).
41904190* `"blocked"`: the tool is removed from Claude's session; connector settings show it as blocked by your organization.
41914191
41924192In Cowork's [**Automatically approve**](#automodeenabled), a safety classifier still reviews calls to a tool set to `"allow"`, and can block them. See [Run vetted connector tools without classifier review](https://claude.com/docs/third-party/claude-desktop/code.md#run-vetted-connector-tools-without-classifier-review). In a task or scheduled run that Cowork has switched to **Manually approve**, for example because its model doesn't support Auto mode, `"allow"` still applies with no classifier review.
41934193
4194Claude's calls to a tool with no policy entry stay under the user's control (built-in connectors apply default policies to some tools): outside [**Auto mode**](#automodeenabled) and bypass permissions mode, the user is prompted and can approve once, approve for the rest of the task (offered for tools that can modify data), or grant a standing approval unless [`mcpPersistentAlwaysAllowEnabled`](#mcppersistentalwaysallowenabled) is `false`. The app reads a `toolPolicy` value other than `"allow"`, `"ask"`, or `"blocked"`, such as `"ask-session"`, as `"blocked"` for that tool and reports a configuration error, so write `"ask"` in place of `"ask-session"`. Managed policies take precedence over user grants, and enforcement happens in the desktop host process, not only in the prompt UI. A deny-by-default posture, `"*": "blocked"` plus exact `"allow"` entries for approved tools, is supported, including in Code sessions. See the [`managedMcpServers` reference](#managedmcpservers) for wildcard matching, precedence rules, and built-in connector defaults.
4194In Cowork's [**Automatically approve**](#automodeenabled) on macOS and Linux, the safety classifier, not a prompt, decides three of Cowork's own actions. They are saving a skill, opening a folder by its path, and creating, changing, or deleting a scheduled task. A scheduled run still asks before it creates, changes, or deletes a scheduled task. Your `"ask"` and `"blocked"` policies still apply.
41954195
4196Claude's calls to a tool with no policy entry stay under the user's control (built-in connectors apply default policies to some tools): outside [**Auto mode**](#automodeenabled) and bypass permissions mode, the user is prompted and can approve once, approve for the rest of the task (offered for tools that can modify data), or grant a standing approval unless [`mcpPersistentAlwaysAllowEnabled`](#mcppersistentalwaysallowenabled) is `false`. The app reads a `toolPolicy` value other than `"allow"`, `"ask"`, or `"blocked"`, such as `"ask-session"`, as `"blocked"` for that tool and reports a configuration error, so write `"ask"` in place of `"ask-session"`. Managed policies take precedence over user grants, and enforcement happens in the desktop host process, not only in the prompt UI. A deny-by-default posture, `"*": "blocked"` plus exact `"allow"` entries for approved tools, is supported, including in Code sessions. It doesn't work on a [marketplace plugin's own server](https://claude.com/docs/third-party/claude-desktop/extensions.md#set-tool-permissions-for-a-plugin-server), where the stricter of the two values applies. See the [`managedMcpServers` reference](#managedmcpservers) for wildcard matching, precedence rules, and built-in connector defaults.
4197
41964198> [!WARNING]
41974199>
4198> Approval prompts, and the safety classifier's review in **Auto mode**, cover calls that Claude makes. Claude Code gives neither to a call from a [mod](https://claude.com/docs/third-party/claude-desktop/code.md#what-a-mod-can-do-without-approval), which is code that a plugin runs inside Claude Code. A mod's call to a tool with no policy entry, or to one set to `"allow"`, can run without the user's approval. To stop mods from calling a tool, set it to `"blocked"`.
4200> Approval prompts, and the safety classifier's review in **Auto mode**, cover calls that Claude makes. Claude Code gives neither to a call from a [mod](https://claude.com/docs/third-party/claude-desktop/code.md#what-a-mod-can-do-without-approval), which is code that a plugin runs inside Claude Code. A mod's call to a tool with no policy entry, or to one set to `"allow"`, can run without the user's approval. To stop a mod's own calls to a tool, set it to `"ask"` or `"blocked"`.
41994201
42004202### Tool approvals on scheduled tasks
42014203
from line 4218
42164218The time limit doesn't cover:
42174219
42184220* **Folder access, browser, and other built-in tool approvals:** these approvals never expire.
4219* **Account-wide grants in Cowork:** the account-wide **Always allow** and **Allow for all tasks** grants never expire. Of the two keys, only `mcpPersistentAlwaysAllowEnabled` affects them.
4221* **Account-wide grants in Cowork:** the account-wide **Always allow** and **Allow for all tasks** grants never expire. Of the two keys, `mcpPersistentAlwaysAllowEnabled` affects them. While `mcpScheduledTaskApprovalLifetimeDays` is set, scheduled runs don't use an **Allow for all tasks** approval for a [plugin's own server](https://claude.com/docs/third-party/claude-desktop/extensions.md#approvals-that-users-keep-for-a-plugin-server).
42204222* **Claude Code allow rules in Code sessions:** an allow rule in Claude Code's own settings files, such as one saved when a user chose **Always allow** before the key was set, keeps allowing the tool, even with a value of `0`, until someone removes it. For a scheduled task, look in the project's `.claude/settings.local.json` file.
42214223
No line in this hunk matches that.