Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · claude-docs

One read of Claude Documentationclaude-docs-20261120T183711Z

13 pages moved out of 297 read.

Pages moved 13 significant first
Pages read 297 in this capture
Captured 18:37 UTC
Corpus hash 3edc12f7532f corpus-hash

What this read moved

1-13 of 13

claude-tag/concepts/data-lifecycle Changed · +14 / -3 lines

from line 27
2727 
2828## How long data is kept
2929 
30During the beta there is no automatic retention period for Claude Tag data. Session transcripts, memory, routines, scopes, and account links are kept until one of the actions on this page deletes them. Your organization's custom data retention setting doesn't apply to Claude Tag transcripts or memory. It does apply to artifacts a session published, which follow the same retention rules as your organization's other shared artifacts.
30Routines that haven't ended, memory, scopes, and account links are kept until one of the actions on this page deletes them. Session transcripts are kept the same way, unless a retention period deletes them.
3131 
32Sessions Claude stops using are archived, not deleted. That includes a thread's session after someone sends [`@Claude !restart`](https://claude.com/docs/claude-tag/users/commands#restart-a-stuck-or-wrong-context-session), a session that closed because the thread's first message was deleted, and the channel-level sessions Claude replaces after about an hour of quiet or about a day of age. An archived session keeps its full transcript until the channel's or workspace's data is deleted.
32Claude Tag has its own retention setting, **Retention policy**, in [**Organization settings > Claude Tag**](https://claude.ai/admin-settings/claude-tag). The setting is in beta and available to a limited set of organizations. It's separate from the retention periods under **Data and privacy**, and it applies only to Claude Tag sessions and the sessions they start.
3333 
34Letting a plan lapse, turning Claude Tag off, or no longer using it doesn't delete anything on its own. To delete a workspace's data when you stop using Claude Tag, [disconnect the workspace](https://claude.com/docs/claude-tag/admins/workspaces.md#revoke-a-pairing) or uninstall the app.
34After an Owner sets a period of 30 days or more, the setting can delete sessions that have been inactive for longer than that period, with their transcripts. Some sessions are kept longer.
35 
36* **Included**: archived sessions, sessions that use a member's [personal connectors](https://claude.com/docs/claude-tag/concepts/personal-connectors.md), and ones that the actions on this page leave in place
37* **Not deleted by this setting**: chats, projects, other sessions, memory, and the artifacts a session published
38 
39If a deleted session was still [following another channel](https://claude.com/docs/claude-tag/concepts/how-it-works.md#what-claude-can-do-in-other-channels), [subscribed to a pull request](https://claude.com/docs/claude-tag/users/proactivity.md#follow-a-pull-request), or [watching a published page](https://claude.com/docs/claude-tag/users/use-cases/create-artifacts.md#comment-on-the-page-to-ask-for-changes), that can stop without notice.
40 
41Your organization's custom data retention setting for chats, projects, and artifacts doesn't apply to Claude Tag transcripts or memory. It does apply to artifacts a Claude Tag session published, which follow the same retention rules as your organization's other shared artifacts. If your organization has another retention period that covers cloud sessions, that period can also delete Claude Tag sessions.
42 
43Sessions Claude stops using are archived, not deleted. That includes a thread's session after someone sends [`@Claude !restart`](https://claude.com/docs/claude-tag/users/commands#restart-a-stuck-or-wrong-context-session), a session that closed because the thread's first message was deleted, and the channel-level sessions Claude replaces after about an hour of quiet or about a day of age. An archived session keeps its full transcript until the channel's or workspace's data is deleted, or until a retention period for sessions deletes the session.
44 
45Apart from a retention period for sessions, letting a plan lapse, turning Claude Tag off, or no longer using it doesn't delete anything on its own. To delete a workspace's data when you stop using Claude Tag, [disconnect the workspace](https://claude.com/docs/claude-tag/admins/workspaces.md#revoke-a-pairing) or uninstall the app.
3546 
3647When an action below deletes data, deletion starts right away and completes in the background. Copies can remain in routine backups for a limited period after that before they age out.
3748 

third-party/claude-desktop/admin-console-claude-code Changed · +4 / -4 lines

from line 94
9494 
9595Unlike `managed-settings.json`, the JSON takes only [a fixed list of settings](https://claude.com/docs/third-party/claude-desktop/admin-console-claude-code-reference.md#settings-that-claude-code-applies), and Claude Code ignores the rest. No setting in the JSON can grant a permission, run a command, sign in, or choose a provider or a model. The console doesn't check the JSON against that list. You see what Claude Code ignored when you [check that your settings apply](#check-that-your-settings-apply).
9696 
97The JSON doesn't apply to the Code tab in Claude Desktop. The Code tab follows the fields on the **Desktop 3P** pages.
97The JSON doesn't apply to Code sessions in Claude Desktop. Those sessions follow the fields on the **Desktop 3P** pages.
9898 
9999## Prepare your gateway
100100 
from line 152
152152* **`strictKnownMarketplaces`, `allowManagedPermissionRulesOnly`, `sandbox.filesystem.allowManagedReadPathsOnly`, and Auto mode's deny rules (`autoMode`)**: Claude Code ignores these in the JSON
153153* **A private address for your provider, such as a VPC endpoint**: your connection overrides it, even if you keep managed settings, so requests go to the provider's default address. To keep it, also fill in **Bedrock base URL**, or the same field for another cloud provider, on the **Connection** page. Claude Code in the terminal then uses the provider set on each computer, not your connection, so each computer must keep managed settings that set your provider and the private address.
154154 
155In the Code tab in Claude Desktop, the file's rules stop applying too, unless a field on the **Desktop 3P** pages sets them.
155In Code sessions in Claude Desktop, the file's rules stop applying too, unless a field on the **Desktop 3P** pages sets them.
156156 
157157## Turn on sign-in from Claude Code
158158 
from line 279
279279>
280280> Don't set `enforceAnthropicSignIn` or `requiredMinimumVersion` on a computer that also runs Claude Desktop on your provider.
281281>
282> * **`enforceAnthropicSignIn`**: Claude Code also refuses the sessions that Claude Desktop starts, even when the developer is signed in. This stops the Code tab, Cowork, Chat, and scheduled tasks.
282> * **`enforceAnthropicSignIn`**: Claude Code also refuses the sessions that Claude Desktop starts, even when the developer is signed in. This stops Code sessions, Cowork, Chat, and scheduled tasks.
283283> * **`requiredMinimumVersion`**: Claude Desktop runs its own copy of Claude Code, which updates only with Claude Desktop. While that copy is older than the minimum, none of Claude Desktop's sessions start.
284284>
285> On those computers, deploy `forceLoginOrgUUID` without those keys, and put `"parentSettingsBehavior": "merge"` next to it. That refuses other organizations, but it doesn't require the sign-in. Without `parentSettingsBehavior`, Claude Code ignores the settings that Claude Desktop passes to its sessions, including the Code tab's sandbox.
285> On those computers, deploy `forceLoginOrgUUID` without those keys, and put `"parentSettingsBehavior": "merge"` next to it. That refuses other organizations, but it doesn't require the sign-in. Without `parentSettingsBehavior`, Claude Code ignores the settings that Claude Desktop passes to its sessions, including the sandbox for Code sessions.
286286 
287287To require the sign-in, first turn on sign-in from Claude Code. If you removed your managed settings, you then deploy one small file, the only one that you still deploy. If you kept them, you add the keys to them. These are the keys:
288288 

third-party/claude-desktop/code Changed · +13 / -6 lines

#### Devices that skip the corporate launcher

from line 18
1818| - | - |
1919| `inferenceProvider` and all provider credential keys (`inferenceGateway*`, `inferenceAnthropicApiKey`, `inferenceVertex*`, `inferenceBedrock*`, `inferenceFoundry*`, `inferenceCredentialHelper*`) | Selects the inference backend and supplies credentials. Code sessions use the same provider and endpoint as Cowork sessions, and the same credentials unless [your organization's launcher](#start-code-sessions-through-a-corporate-launcher) starts them. |
2020| `inferenceModels` | Populates the model picker. The first entry is the default for new Code sessions. |
21| `autoModeEnabled` | Controls **Auto mode**, which needs a [model that supports it](https://code.claude.com/docs/en/permission-modes#eliminate-prompts-with-auto-mode). When the key isn't set, Code sessions offer **Auto mode** and new sessions start in it unless the user has already chosen another mode or a Claude Code `permissions.defaultMode` applies. While **Auto mode** is available, its safety classifier, not a prompt, also decides shell commands in **Plan** mode. Set it to `false` to remove **Auto mode** from Code and Cowork. Set it to `true` to also offer the mode in Cowork, where it appears as **Automatically approve**. In Code sessions, a separately deployed Claude Code [managed-settings file](#interaction-with-claude-code%E2%80%99s-own-managed-settings) that sets `disableAutoMode` to `"disable"` also keeps **Auto mode** hidden, whatever this key is set to. To change what **Auto mode** allows and blocks, see [Tune the Auto mode classifier](#tune-the-auto-mode-classifier). For who reviews actions on a gateway deployment, see [Auto mode checks](https://claude.com/docs/third-party/claude-desktop/gateway.md#auto-mode-checks). |
21| `autoModeEnabled` | Controls **Auto mode**, which needs a [model that supports it](https://code.claude.com/docs/en/permission-modes#eliminate-prompts-with-auto-mode). When the key isn't set, Code sessions offer **Auto mode** and new sessions start in it unless the user has already chosen another mode or a Claude Code `permissions.defaultMode` applies. On Claude Opus 4.6 and Claude Sonnet 4.6, users can pick **Auto mode**, but it isn't the default. While **Auto mode** is available, its safety classifier, not a prompt, also decides shell commands in **Plan** mode. Set it to `false` to remove **Auto mode** from Code and Cowork. Set it to `true` to also offer the mode in Cowork, where it appears as **Automatically approve**. In Code sessions, a separately deployed Claude Code [managed-settings file](#interaction-with-claude-code%E2%80%99s-own-managed-settings) that sets `disableAutoMode` to `"disable"` also keeps **Auto mode** hidden, whatever this key is set to. To change what **Auto mode** allows and blocks, see [Tune the Auto mode classifier](#tune-the-auto-mode-classifier). For who reviews actions on a gateway deployment, see [Auto mode checks](https://claude.com/docs/third-party/claude-desktop/gateway.md#auto-mode-checks). |
2222| `autoModeClassifierModel` | Sets the model for Claude Code's built-in safety check in **Auto mode**. Claude Code managed settings that set `CLAUDE_CODE_AUTO_MODE_MODEL` can take priority. See [Choose the Auto mode classifier model](#choose-the-auto-mode-classifier-model). |
2323| `scheduledTasksEnabled` | When `false`, the routines list in Code is hidden and Code sessions start without Claude Code's in-session scheduling tools, so the `/loop` command cannot schedule recurring work. Cowork's scheduled tasks are turned off by the same key. |
2424| `disabledBuiltinTools` | Removes the listed tools from Code sessions. A `Read(…)` rule applies to Claude's file tools, and [only in part to shell commands](#file-path-rules-and-shell-commands). Tools your provider doesn't support, such as WebSearch on Amazon Bedrock, are removed automatically in addition to your list. To stop Claude from starting nested sessions (separate sessions for a task), add `mcp__ccd_session__start_session` and `mcp__ccd_session__hand_off_to_session`. Claude then can't start a nested session, even at a user's request or from inside one. In the [in-app configuration window](https://claude.com/docs/third-party/claude-desktop/in-app-configuration.md#set-up-a-device-without-mdm) or the [Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/admin-console.md#start-from-an-existing-configuration-file), where the tool picker doesn't list these names, import your full configuration as JSON with the names added. Otherwise, add them to your MDM profile or bootstrap server's response. |
from line 66
6666 
6767Under `blockReadsOutsideWorkingDirectories`, sandboxed shell commands can still read system locations such as `/usr`, the session's plugin and attachment folders (which become read-only), and the user's git configuration files (`~/.gitconfig` and the `config`, `ignore`, and `attributes` files under `~/.config/git`), which can themselves hold credentials such as tokens in remote URLs. Other files under the home folder outside the working directories are hidden from them, including `~/.ssh`, stored git credentials, included git configuration files, signing keys, and the target of a symlinked git configuration file, so git operations that need those files fail in the session until the user re-opens the paths. In a local session Claude also cannot read a file attached or `@`-mentioned from outside the working directories, so users should move such files into the session's folder or an allowed folder first.
6868 
69While `blockReadsOutsideWorkingDirectories` is on and Claude Code's [`sandbox.autoAllowBashIfSandboxed`](https://code.claude.com/docs/en/settings-reference#sandbox-autoallowbashifsandboxed) is off, a sandboxed command that reads outside the working directories can ask for approval first, [even in bypass permissions mode](https://code.claude.com/docs/en/permission-modes#actions-no-mode-auto-approves). Claude Code managed settings can replace the sandbox and other policy values that Claude Desktop supplies. Before you set `sandbox.autoAllowBashIfSandboxed` in those settings, read [Interaction with Claude Code's own managed settings](#interaction-with-claude-code%E2%80%99s-own-managed-settings).
69In **Manual** and **Accept edits** modes, many sandboxed shell commands ask the user first, because they go through Claude Code's regular permission flow. Claude Code's [`sandbox.autoAllowBashIfSandboxed`](https://code.claude.com/docs/en/settings-reference#sandbox-autoallowbashifsandboxed) setting is off by default. When it's `true`, most sandboxed commands run without asking. Claude Code managed settings can replace the sandbox and other policy values that Claude Desktop supplies. Before you set `sandbox.autoAllowBashIfSandboxed` in those settings, read [Interaction with Claude Code's own managed settings](#interaction-with-claude-code%E2%80%99s-own-managed-settings).
7070 
71An allowed root that is or contains the home directory, such as `~` or `/Users`, leaves the home directory readable, so list folders below it. The block guards against content a session reads steering Claude into the user's files, not against the user, who can re-open any path, up to their whole home folder, with `sandbox.filesystem.allowRead` (shell commands) or `permissions.additionalDirectories` (file tools and shell commands) in their own Claude Code settings, while a settings file tracked in a git repository cannot.
71While `blockReadsOutsideWorkingDirectories` is on and `sandbox.autoAllowBashIfSandboxed` is off, a sandboxed command that reads outside the working directories can ask for approval first, [even in bypass permissions mode](https://code.claude.com/docs/en/permission-modes#actions-no-mode-auto-approves). An allowed root that is or contains the home directory, such as `~` or `/Users`, leaves the home directory readable, so list folders below it. The block guards against content a session reads steering Claude into the user's files, not against the user, who can re-open any path, up to their whole home folder, with `sandbox.filesystem.allowRead` (shell commands) or `permissions.additionalDirectories` (file tools and shell commands) in their own Claude Code settings, while a settings file tracked in a git repository cannot.
7272 
7373### Plugin files under `allowedWorkspaceFolders`
7474 
from line 166
166166 
167167Code sessions still use the provider and endpoint in Claude Desktop's configuration, but Claude Desktop passes no inference credential and no [`inferenceCustomHeaders`](https://claude.com/docs/third-party/claude-desktop/configuration#inferencecustomheaders) to Claude Code when the launcher starts it. The launcher must set a credential in Claude Code's environment, such as `ANTHROPIC_AUTH_TOKEN` for a gateway or the variable that your provider's credential uses. It must also pass on the `ANTHROPIC_BASE_URL` that it receives, or set your gateway's address in its place. With no credential, the session still starts, and each reply fails with a message that Claude Code has no working credentials. Cowork, the connection test, and session titles don't go through the launcher. They use the credential in Claude Desktop's configuration, so a passing connection test doesn't show that the launcher supplies one.
168168 
169A session doesn't start if Claude Desktop can't use the launcher you named: for example, if the file is missing or isn't executable, or the value doesn't follow Claude Code's [launcher value format](https://code.claude.com/docs/en/corporate-launcher#format-of-the-launcher-value).
169A session doesn't start if Claude Desktop can't use the launcher you named. For example:
170170 
171* **The launcher file or value**: the file is missing or isn't executable, or the value doesn't follow Claude Code's [launcher value format](https://code.claude.com/docs/en/corporate-launcher#format-of-the-launcher-value).
172* **The `--version` run on an SSH host**: Claude Desktop's [remote server](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions.md#how-a-remote-session-works) on the host runs the launcher with the Claude Code engine's path and `--version`. It does so, with a time limit, when Claude Desktop places the engine on the host or checks the one that is there. Have the launcher run that path with `--version` and exit with Claude Code's status. Claude Desktop hands this run none of the variables that it sets for a session, such as `ANTHROPIC_BASE_URL`, so the launcher must not fail this run because they are missing. If the run doesn't end with status 0 within the limit, the session doesn't start. If the run failed before the limit, Claude Desktop shows the card `Your organization's launcher on <host> didn't start Claude Code during setup`.
173 
174#### Devices that skip the corporate launcher
175 
171176To keep users from turning the launcher off, set `claudeCodeProcessWrapperEnabled` in the device's [managed profile](https://claude.com/docs/third-party/claude-desktop/admin-console.md#devices-with-a-managed-profile), which users can't change. The key is an [app-behavior key](https://claude.com/docs/third-party/claude-desktop/mdm.md#update-keys-and-managed-precedence), so add every other app-behavior key you use, such as the update keys, to the same profile. If the profile sets any other kind of key, also [keep the device on its managed profile](https://claude.com/docs/third-party/claude-desktop/admin-console.md#keep-a-device-on-its-managed-profile).
172177 
178An SSH host's managed settings alone can't make Claude Desktop's sessions use the launcher. Any device where `claudeCodeProcessWrapperEnabled` is `false` or missing, managed by you or not, doesn't use a launcher that the host's settings name. If the inference credential in that device's configuration is a [kind that is refused on a remote host](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions.md#inference-credentials-on-the-remote-host), Claude Desktop refuses the SSH session at the start. Otherwise, it starts the Claude Code engine on the host directly, with that credential.
179 
173180## Tune the Auto mode classifier
174181 
175182In [**Auto mode**](https://claude.com/docs/third-party/claude-desktop/configuration.md#automodeenabled), which Cowork shows as **Automatically approve**, a safety classifier reviews Claude's actions and blocks the ones it judges risky. To tell it what your organization trusts, or to add block and allow rules, set [`autoModeRules`](https://claude.com/docs/third-party/claude-desktop/configuration#automoderules) where your devices [get their configuration](https://claude.com/docs/third-party/claude-desktop/configuration-format.md#which-configuration-source-applies-on-a-device). The key takes the value of Claude Code's [`autoMode` settings](https://code.claude.com/docs/en/auto-mode-config), and applies to Cowork sessions and to Code sessions, including those on an SSH host.
from line 303
296303>
297304> Claude runs a connector tool named in `permissions.allow` with no classifier review, whatever the call's arguments and even if the server marks the tool as destructive. A `permissions.ask` or `permissions.deny` rule for the same tool still applies. Keep `parentSettingsBehavior` set to `"merge"` in that file, so that a `toolPolicy` of `"ask"` for the tool goes on asking. In a Code session, an allow rule for a [Claude in Chrome](https://claude.com/docs/third-party/claude-desktop/browser.md#claude-in-chrome) tool doesn't end the review: the safety classifier still reviews calls such as a navigation, typing, or running a script, and where the classifier can't run, Claude Code asks the user.
298305>
299> List only tools that you would let run unattended, and leave destructive ones out. The rule matches by name. If a user's own MCP server, such as a local MCP server that the user adds to Claude Desktop, has the same server name, the rule also covers a tool of the same name on it.
306> List only tools that you would let run unattended, and leave destructive ones out. The rule matches by name. If a user's own MCP server has the same server name, the rule also covers a tool of the same name on it.
300307 
301308## Claude Code mods
302309 

third-party/claude-desktop/extensions Changed · +8 / -4 lines

from line 55
5555 
5656Give each remote server's final address in `url`. Claude Desktop doesn't follow HTTP redirects from a managed MCP server, or from its OAuth authorization server when it fetches that server's metadata or requests and refreshes tokens. If one of these requests is answered with a redirect, for example to the same address with a trailing slash, the server doesn't connect, and **Test this connection** reports that redirects are not followed. Remote servers that [organization plugins](#organization-plugins-admin) declare in `.mcp.json` follow the same redirect rule.
5757 
58> [!NOTE]
59>
60> If a user adds a local MCP server under **Settings → Developer** with the same or a similar name as one of your servers, Claude Desktop uses your server and doesn't start the user's server in Chat, Cowork, or Code. **Settings → Developer** shows the user's server as **Replaced by organization’s server**. To use both, the user renames their server in the file that **Edit config** opens.
61 
5862### OAuth sign-in
5963 
6064For a remote server entry with `oauth` set, Claude Desktop signs each user in through the system browser and receives the authorization code on a fixed loopback address. Register this redirect URI on the OAuth client, or allow it on your authorization server if clients register themselves:
from line 75
7175 
7276#### How OAuth sign-in works
7377 
74Claude Desktop starts sign-in only when the MCP server answers an unauthenticated request with HTTP `401`. A redirect to a web sign-in page does not start sign-in, so a gateway in front of the server must answer an unauthenticated MCP request with `401` rather than `302`.
78Claude Desktop starts sign-in when the MCP server answers an unauthenticated request with HTTP `401`. A redirect to a web sign-in page does not start sign-in, so a gateway in front of the server must answer an unauthenticated MCP request with `401` rather than `302`.
7579 
7680At launch, Claude Desktop connects to every managed server without user interaction. A server with a stored token connects silently, and Claude Desktop refreshes the token first when it is near expiry. A server with no usable token appears under **Customize → Connectors** with a button that starts sign-in, and no browser window opens until the user selects it.
7781 
from line 380
376380 
377381> [!NOTE]
378382>
379> Each entry in `org-plugins/` must carry a valid manifest: a `.claude-plugin/plugin.json`, or a top-level `SKILL.md` whose frontmatter declares `agents` or `mcpServers` (a skill folder that also acts as a plugin). A plain skill folder does not qualify on its own. To distribute a single skill, place it under `skills/<name>/SKILL.md` in a plugin that has a `plugin.json`. A directory with no valid manifest is not loaded and never appears in the user's plugin browser. The diagnostic report's plugin section shows the rejected entry and why. To distribute an MCP connector, declare it in a plugin's `.mcp.json` or use [`managedMcpServers`](#managed-mcp-servers-admin). Claude Desktop doesn't start a desktop extension (`.mcpb`) that a plugin in `org-plugins/` names in its manifest.
383> Each entry in `org-plugins/` must carry a valid manifest: a `.claude-plugin/plugin.json`, or a top-level `SKILL.md` whose frontmatter declares `agents` or `mcpServers` (a skill folder that also acts as a plugin). A plain skill folder does not qualify on its own. To distribute a single skill, place it under `skills/<name>/SKILL.md` in a plugin that has a `plugin.json`. A directory with no valid manifest is not loaded and never appears in the user's plugin browser. The diagnostic report's **MCP servers** section shows the rejected entry and why. To distribute an MCP connector, declare it in a plugin's `.mcp.json` or use [`managedMcpServers`](#managed-mcp-servers-admin). Claude Desktop doesn't start a desktop extension (`.mcpb`) that a plugin in `org-plugins/` names in its manifest.
380384 
381385See the [plugins reference](https://code.claude.com/docs/en/plugins) for the full file format of each component, including the hooks schema.
382386 
from line 427
423427 
424428A plugin can declare remote MCP servers in its `.mcp.json` file, and Claude Desktop shows each one as a connector. For a plugin from one of your [marketplaces](#plugin-marketplaces-admin), or a plugin that a user added, Claude can use these servers in the Cowork sessions, Chat conversations, and Code sessions that load the plugin. If a server requires OAuth sign-in, Claude can use it in Cowork sessions, Chat conversations, and local Code sessions after the user [signs in](#sign-in-to-a-plugin-server). The user signs in once for **Code** and once for the rest of Claude Desktop.
425429 
426In a marketplace plugin or a user-added plugin, a remote server's entry in `.mcp.json` needs no `oauth` field, even if the server requires OAuth sign-in. If you set `oauth`, make it an object, as [MCP in Claude Code](https://code.claude.com/docs/en/mcp#authenticate-with-remote-mcp-servers) shows, and not `true` as in the `org-plugins/` directory. Claude Code skips a server whose entry says `"oauth": true`. If users sign in outside **Code**, leave `clientId` out of the object, as described under [Requirements for plugin server sign-in outside Code](#requirements-for-plugin-server-sign-in-outside-code).
430In a marketplace plugin or a user-added plugin, a remote server's entry in `.mcp.json` needs no `oauth` field, even if the server requires OAuth sign-in. If you set `oauth`, make it an object, as [MCP in Claude Code](https://code.claude.com/docs/en/mcp#authenticate-with-remote-mcp-servers) shows, and not `true` as in the `org-plugins/` directory. Claude Code skips a server whose entry says `"oauth": true`. If users sign in outside **Code**, leave `clientId` out of the object, as described under [Requirements for plugin server sign-in outside Code](#requirements-for-plugin-server-sign-in-outside-code). If a server takes its token from a script, set `headersHelper` on a [`managedMcpServers` entry that replaces the plugin server](#replace-a-plugin-server-with-a-managed-mcp-server), not in the plugin's `.mcp.json` file.
427431 
428432Claude Code reads this `.mcp.json` file and skips a server whose entry it can't read. Claude Desktop still shows a skipped server as a connector, but Claude can't use it. To check a plugin's entries before you publish it, run [`claude plugin validate <plugin-folder>`](https://code.claude.com/docs/en/plugins/cli-reference#plugin-validate) in your terminal, on the plugin's own folder and not the marketplace's folder. The command checks the entries against the version of Claude Code that runs it, so it can pass an entry that the version in your users' Claude Desktop skips.
429433 
from line 502
498502 
499503### Replace a plugin server with a managed MCP server
500504 
501If a [`managedMcpServers`](#managed-mcp-servers-admin) entry has the same `url` or the same name as a plugin's remote server, Claude Desktop uses your entry in place of the plugin server. Give the entry a `transport`, the plugin server's `url`, and `oauth`, as described under [OAuth sign-in](#oauth-sign-in). Each user clicks **Connect** next to your entry's name under **Customize > Connectors** and signs in once for Cowork sessions, Chat conversations, and Code sessions.
505If a [`managedMcpServers`](#managed-mcp-servers-admin) entry has the same `url` or the same name as a plugin's remote server, Claude Desktop uses your entry in place of the plugin server. Give the entry a `transport`, the plugin server's `url`, and `oauth`, as described under [OAuth sign-in](#oauth-sign-in). If the server takes a token from a script instead of an OAuth sign-in, give the entry `headersHelper` in place of `oauth`, as described under [Short-lived credentials with a headers helper](#short-lived-credentials-with-a-headers-helper). With `oauth`, each user clicks **Connect** next to your entry's name under **Customize > Connectors** and signs in once for Cowork sessions, Chat conversations, and Code sessions.
502506 
503507### Limit plugin servers and end sign-ins
504508 

third-party/claude-desktop/ssh-remote-sessions Changed · +5 / -5 lines

from line 190
190190On devices where users applied the configuration locally, set [the key of the same name](https://code.claude.com/docs/en/settings-reference#disabledesktoplocalsessions) in a [Claude Code managed-settings file](https://code.claude.com/docs/en/settings#settings-files) or OS policy on the device instead.
191191 
192192* If the device already has Claude Code managed settings, add the key to those and leave `parentSettingsBehavior` as it is, set or unset. Changing it changes how those settings combine with the policy that Claude Desktop supplies.
193* If the device has none yet, also set `parentSettingsBehavior` to `"merge"` in the managed settings that you create. Without `"merge"`, the new managed settings replace the policy that Claude Desktop supplies to Claude Code on the device (see [Interaction with Claude Code's own managed settings](https://claude.com/docs/third-party/claude-desktop/code.md#interaction-with-claude-code%E2%80%99s-own-managed-settings) on the Code page).
193* If the device has none yet, also set `parentSettingsBehavior` to `"merge"` in the managed settings that you create. Without `"merge"`, the new managed settings replace the policy that Claude Desktop supplies to Claude Code on the device (see [Interaction with Claude Code's own managed settings](https://claude.com/docs/third-party/claude-desktop/code.md#interaction-with-claude-code%E2%80%99s-own-managed-settings) on the Code page). Once the device has these managed settings, an unset [`remoteFileDownloads`](#file-downloads-from-the-remote-host) means `limited` on that device.
194194 
195195If you set the key in both Claude Desktop's configuration and Claude Code's managed settings, `true` in either one turns local Code sessions off.
196196 
from line 510
510510 
511511The app also uses the built-in client in these cases, and on Windows in the cases under [Prepare Windows devices for the OpenSSH client](#prepare-windows-devices-for-the-openssh-client):
512512 
513* **The device can't start the OpenSSH client**: while `sshTransport` is unset or `auto` and `sshClientPath` is unset, the built-in client makes every connection until Claude Desktop restarts. If the device can't start `ssh-keygen` either, connections fail at the host key check (see [SSH host key verification failed](#ssh-host-key-verification-failed)). Requires Claude Desktop 2.7032.0 or later.
513* **The device can't start the OpenSSH client**: while `sshTransport` is unset or `auto` and `sshClientPath` is unset, the app uses the built-in client for every connection until Claude Desktop restarts. If the device can't start `ssh-keygen` either, connections fail at the host key check (see [SSH host key verification failed](#ssh-host-key-verification-failed)). Requires Claude Desktop 2.7032.0 or later.
514514* **Claude Desktop is installed from the Microsoft Store**: the built-in client makes the connection unless `sshTransport` is `system-openssh`. With `system-openssh`, the device's OpenSSH client makes the connection, but the app can't show its prompts for a password, a one-time code, or a key passphrase, or its question about a host key that isn't on record. Use a sign-in method that needs no prompt, such as a key held by the SSH agent, and have users connect to each host once from a terminal before adding it in the app, so that the host's key is in the user's `known_hosts` file.
515515 
516516Claude Desktop writes the following into the SSH user's home directory on the host. Each user who connects gets their own copy.
from line 614
614614* **Repeated sign-ins**: each time Claude Desktop connects or reconnects to a host, it signs in at least twice, to run commands and to transfer files, and once more for each terminal that opens. A Windows host takes at least one more sign-in each time. On a Windows device, each sign-in is a separate `ssh` process. They stay open together, so a per-user login limit on the host has to leave room for them. Each process connects to the host by name, so a name that stands for several machines, such as a load balancer or round-robin DNS, must send all connections from one device to the same machine. Claude Desktop repeats a typed password or key passphrase itself for the other sign-ins of that connection. A host that asks for a one-time code, a push approval, or a security key touch asks again at each sign-in.
615615* **Key files that other accounts can read**: `ssh` ignores a private key file that any account but the user, SYSTEM, or Administrators can read. After a sign-in fails over one, Claude Desktop tightens the file's access list where it can, and connects again. `ssh.log` records the list before and after.
616616* **Host keys that aren't on record**: where the app can show a prompt, it asks the user whether to trust the key, and records a trusted key in the user's `known_hosts` file. To distribute host keys instead, see [SSH configuration on the device](#ssh-configuration-on-the-device).
617* **Saved passwords**: when the session's host asks for the account password, the sign-in dialog has a **Remember password for `<host>`** checkbox. To turn saved passwords off, set [`disableSshSavedPasswords`](https://code.claude.com/docs/en/desktop#managed-settings) to `true` in Claude Code's managed settings on the device, by the steps for `disableDesktopLocalSessions` under [Interaction with Claude Code managed settings on the device](#interaction-with-claude-code-managed-settings-on-the-device). The dialog then has no checkbox, and the app stops using passwords that it saved earlier. It doesn't delete them, and the user's settings no longer offer to forget one. Removing the connection in the app still deletes its saved password. Deliver the setting before devices start to use the OpenSSH client. Neither the Enterprise Admin Console nor a bootstrap server can deliver it.
617* **Saved passwords**: when the session's host asks for the account password, the sign-in dialog has a **Remember password for `<host>`** checkbox. To turn saved passwords off, set [`disableSshSavedPasswords`](https://code.claude.com/docs/en/desktop#managed-settings) to `true` in Claude Code's managed settings on the device, by the steps for `disableDesktopLocalSessions` in those settings under [Interaction with Claude Code managed settings on the device](#interaction-with-claude-code-managed-settings-on-the-device). The dialog then has no checkbox, and the app stops using passwords that it saved earlier. It doesn't delete them, and the user's settings no longer offer to forget one. Removing the connection in the app still deletes its saved password. Deliver the setting before devices start to use the OpenSSH client. Neither the Enterprise Admin Console nor a bootstrap server can deliver it.
618618 
619619Check what the device's OpenSSH client needs on Windows:
620620 
from line 758
758758 
759759With the built-in client, the connection test reports this failure as "Host key changed or not trusted". With that client, connections also fail at the host key check when the app can't run `ssh-keygen`, even when the host's key is in `known_hosts`. The built-in client looks up the host's key with `ssh-keygen`, which it looks for first in the folder of the program that [`sshClientPath`](https://claude.com/docs/third-party/claude-desktop/configuration#sshclientpath) names, then on the user's `PATH`.
760760 
761* **A blocked `ssh-keygen`**: where the device refuses to start the `ssh-keygen` of its OpenSSH client, for example under an application control policy, allow that `ssh-keygen` to run. Where a Windows or Linux device refuses to start the one beside the program that `sshClientPath` names, the connection fails with the card [Ask your IT administrator to fix the configured SSH program](#ask-your-it-administrator-to-fix-the-configured-ssh-program) instead of this failure. The connection test then reports "The SSH program your organization configured can't be used".
762* **A Windows device with no `sshClientPath` and no `ssh-keygen.exe` on the user's `PATH`**: on a device without Microsoft's OpenSSH client, for example, the app uses the built-in client for every connection, whatever `sshTransport` says. Claude Desktop 6.6395.0 or later then runs the `ssh-keygen.exe` that Git for Windows installs in `Program Files\Git\usr\bin`. If Claude Desktop finds none or can't run it, the user sees this failure or one of the cards under [Ask your IT administrator to set sshTransport to system-openssh](#ask-your-it-administrator-to-set-sshtransport-to-system-openssh). Where the user sees one of those cards, the connection test reports "Host key can't be checked". Before Claude Desktop 6.6395.0, the user sees this failure whether or not the device has Git for Windows.
761* **A blocked `ssh-keygen`**: where the device refuses to start the `ssh-keygen` of its OpenSSH client, for example under an application control policy, allow that `ssh-keygen` to run. Where a Windows or Linux device refuses to start the `ssh-keygen` beside the program that `sshClientPath` names, the connection fails with the card [Ask your IT administrator to fix the configured SSH program](#ask-your-it-administrator-to-fix-the-configured-ssh-program) instead of this failure. The connection test then reports "The SSH program your organization configured can't be used".
762* **A Windows device with no `sshClientPath` and no `ssh-keygen.exe` on the user's `PATH`**: if the device also has no usable OpenSSH client, such as Microsoft's, the app uses the built-in client for every connection, whatever `sshTransport` says. Claude Desktop 6.6395.0 or later then runs the `ssh-keygen.exe` that Git for Windows installs in `Program Files\Git\usr\bin`. If Claude Desktop finds none or can't run it, the user sees this failure or one of the cards listed under [Ask your IT administrator to set sshTransport to system-openssh](#ask-your-it-administrator-to-set-sshtransport-to-system-openssh). Where the user sees one of those cards, the connection test reports "Host key can't be checked". Before Claude Desktop 6.6395.0, the user sees this failure whether or not the device has Git for Windows.
763763 
764764To check a Windows device on which connections fail, look for `ssh-keygen.exe` beside the program that `sshClientPath` names, if you set it. Then open a new Command Prompt or PowerShell window as the user who runs Claude Desktop, and run `where.exe ssh-keygen`. If neither place has `ssh-keygen.exe`, apply one of these fixes, then quit and reopen Claude Desktop:
765765 

claude-tag/admins/healthcare Changed · +1 / -1 lines

from line 95
9595 
9696Anyone in a channel can ask Claude what it remembers there and tell it to correct or delete a note. An Owner can view, edit, and delete the memory notes of the workspace or of a channel. Go to [**Claude's access > Channels**](https://claude.ai/admin-settings/claude-tag?access=channels), open the workspace's page (or a channel's page, when that channel has memory of its own), open its **⋯** menu, and select **View memory files**. The **Memory** tab of the [**Activity** page](https://claude.com/docs/claude-tag/admins/audit.md) opens the same files.
9797 
98By default, your Slack conversations with Claude aren't used to train Anthropic's models. Anthropic's [model training policy](https://privacy.anthropic.com/en/articles/7996885-how-do-you-use-personal-data-in-model-training) describes when data is used. Claude Tag data is kept until one of the admin actions in [Data lifecycle and deletion](https://claude.com/docs/claude-tag/concepts/data-lifecycle.md) deletes it, and during the beta you can't set a shorter retention period.
98By default, your Slack conversations with Claude aren't used to train Anthropic's models. Anthropic's [model training policy](https://privacy.anthropic.com/en/articles/7996885-how-do-you-use-personal-data-in-model-training) describes when data is used. Claude Tag data is kept until one of the admin actions in [Data lifecycle and deletion](https://claude.com/docs/claude-tag/concepts/data-lifecycle.md) deletes it. If a retention period for sessions has been set for your organization, see [How long data is kept](https://claude.com/docs/claude-tag/concepts/data-lifecycle.md#how-long-data-is-kept).
9999 
100100For the full list of what is stored and what each admin action deletes, see [Data lifecycle and deletion](https://claude.com/docs/claude-tag/concepts/data-lifecycle.md) and [What Claude Tag remembers](https://claude.com/docs/claude-tag/users/memory.md).
101101 

claude-tag/concepts/how-it-works Changed · +1 / -1 lines

from line 212
212212 
213213### What survives between replies
214214 
215A thread is durable, but the sandbox behind it is not. Durable means the thread stays in Slack, and everything Claude read and said in it is kept in the session's transcript on Anthropic's side, so the session can pick up where it left off whenever someone replies. Deleting messages or the thread in Slack doesn't remove them from that transcript. The sandbox is the computer where Claude runs commands and keeps working files for a task. A few minutes after a session finishes its turn, its sandbox is released, and the same session resumes in a fresh one when the next message arrives. A thread's session keeps resuming this way for as long as people use the thread. Claude replaces it with a new session in two cases.
215A thread is durable, but the sandbox behind it is not. Durable means the thread stays in Slack, and everything Claude read and said in it is kept in the session's transcript on Anthropic's side, so the session can pick up where it left off whenever someone replies, for [as long as the session is kept](https://claude.com/docs/claude-tag/concepts/data-lifecycle.md#how-long-data-is-kept). Deleting messages or the thread in Slack doesn't remove them from that transcript. The sandbox is the computer where Claude runs commands and keeps working files for a task. A few minutes after a session finishes its turn, its sandbox is released, and the same session resumes in a fresh one when the next message arrives. A thread's session keeps resuming this way for as long as people use the thread. Claude replaces it with a new session in two cases.
216216 
217217| When | What Claude does |
218218| :- | :- |

third-party/claude-desktop/admin-console Changed · +2 / -2 lines

from line 164
164164 
165165The **Permission policies** page, under **People** in the left navigation, applies different settings to users in specific groups. You can add policies after you save the organization-wide settings on the **Connection** page, and each group can have one policy. Click **Add permission policy**, pick a group, and set only the settings that should differ. Every other setting comes from the organization-wide settings.
166166 
167A policy can, for example, turn Code on or off, narrow the model list and the managed MCP servers to a subset by name, and change built-in tool settings, network allowlists, telemetry, token limits, the banner, and **Claude.ai data import**. The inference connection (the provider, its endpoint, and how users authenticate to it) is organization-wide, and a policy can't add models or managed MCP servers that the organization-wide settings don't define.
167A policy can, for example, turn Code on or off, narrow the model list and the managed MCP servers to a subset by name, and change built-in tool settings, network allowlists, telemetry, token limits, the banner, and **Claude.ai data import**. The inference connection (the provider, its endpoint, and how users authenticate to it) is organization-wide, and a policy can't add models or managed MCP servers that the organization-wide settings don't define. A policy's list of plugin marketplaces replaces the organization-wide list, so add to the policy each marketplace that the group needs.
168168 
169169Policies are ranked in the order shown on the page, and you drag them to change the ranking. When a user belongs to several listed groups, each kind of setting follows its own rule:
170170 
from line 488
488488On Claude Desktop 2.37337.0 or later, a user who belongs to any organization that uses the admin console can move a device to that organization's configuration by signing in. The organization doesn't have to be yours. To prevent the move, or to allow it only for your organization, set one of these keys in the device's [managed profile](#devices-with-a-managed-profile):
489489 
490490* **Prevent the move:** set `deploymentMode` to `3p` in a profile that says what the app connects to, or to `1p` in a profile that leaves the device on standard Claude Desktop. The app ignores the admin console, and a device that already moved leaves the console's configuration at its next launch. Devices on versions before 4.16336.0 also need `disableDeploymentModeChooser`, as described under [Restrict a device to one deployment mode](https://claude.com/docs/third-party/claude-desktop/mdm.md#restrict-a-device-to-one-deployment-mode).
491* **Allow only your organization:** set [`forceLoginOrgUUID`](https://claude.com/docs/cowork/hipaa-setup#what-each-claude-desktop-key-does) to your Claude organization's ID. This ID isn't [`deploymentOrganizationUuid`](https://claude.com/docs/third-party/claude-desktop/configuration#deploymentorganizationuuid), which is a UUID you generate. Devices already on your organization's admin console configuration stay on it. The app ignores the admin console configuration of any other organization and limits standard Claude Desktop sign-in on the device to your organization.
491* **Allow only your organization:** set [`forceLoginOrgUUID`](https://claude.com/docs/cowork/hipaa-setup#what-each-claude-desktop-key-does) to your Claude organization's ID. This ID isn't [`deploymentOrganizationUuid`](https://claude.com/docs/third-party/claude-desktop/configuration#deploymentorganizationuuid), which is a UUID you generate. Devices already on your organization's admin console configuration stay on it. The app ignores the admin console configuration of any other organization and limits standard Claude Desktop sign-in on the device to your organization. You can set the key in the same profile as an inference provider. The device runs on that provider unless a user signs in with a claude.ai account.
492492 
493493You can use `forceLoginOrgUUID` to help prevent shadow IT, which here means people using personal Claude accounts or other organizations' accounts in Claude Desktop on work computers. A user who signs in to standard Claude Desktop with an account that isn't in your organization sees a page that reads "This account is not approved by your enterprise admin" and can only log out.
494494 

third-party/claude-desktop/connectors-m365 Changed · +1 / -1 lines

from line 32
3232 
3333Setup requires a Global Administrator or Cloud Application Administrator in your Entra tenant.
3434 
35The hosted M365 server has not been evaluated for HIPAA compliance. If your organization follows HIPAA compliance, use the [local connector](#local-connector) instead.
35The hosted Microsoft 365 server has not been evaluated for HIPAA compliance. If your organization follows HIPAA compliance, use the [local connector](#local-connector) instead.
3636 
3737### How the connection works
3838 

third-party/claude-desktop/data-storage Changed · +1 / -1 lines

from line 42
4242| `claude-code-sessions/` | Code session records holding each session's working folder, settings, title, and sometimes a short summary. The conversation transcripts themselves are in Claude Code's own store at `~/.claude/projects/`, outside this directory. |
4343| `claude-code/`, `claude-code-vm/` | Claude Code binary and VM workspace data for Code sessions. |
4444| `vm_bundles/` | Cached copy of the VM workspace bundle that Cowork uses, plus the data disk the app creates to hold Cowork sessions' home directories inside the VM. |
45| `cowork_plugins/` | User-installed and [org-provisioned](https://claude.com/docs/third-party/claude-desktop/extensions.md#organization-plugins-admin) plugins. Created on first plugin install. |
45| `local-agent-mode-sessions/.../cowork_plugins/` | User-installed and [org-provisioned](https://claude.com/docs/third-party/claude-desktop/extensions.md#organization-plugins-admin) plugins. Created on first plugin install. |
4646| `plugin-mcp-auth/`, `connectors/*/plugin-mcp/` | On Windows and Linux, the `.credentials.json` file that holds the user's sign-ins to plugin servers, made outside **Code**. See [Credentials](#credentials). |
4747| `IndexedDB/`, `Local Storage/`, `Session Storage/` | Renderer-side UI state (window layout, recent folders, preferences). |
4848 

third-party/claude-desktop/local-access Changed · +1 / -1 lines

from line 14
1414| `["~/Documents/Claude", "/Volumes/Shared/Projects"]` | Users may attach only folders **inside** one of the listed roots. |
1515| `[]` | No folders may be attached. The agent can still create files in its own sandbox scratch space, but cannot read or write the user's filesystem. |
1616 
17A leading `~` expands to the user's home directory, so a single profile can express per-user roots like `~/Documents/Claude` across the fleet. A path may also reference one of a fixed set of environment-variable tokens, such as `%OneDrive%` or `%USERNAME%`, listed in the [configuration reference](https://claude.com/docs/third-party/claude-desktop/configuration.md#allowedworkspacefolders). An entry that references any other `%VAR%`, or one that is unset on the device, is ignored.
17A leading `~` expands to the user's home directory, so a single profile can express per-user roots like `~/Documents/Claude` across the fleet. A path may also reference one of a fixed set of environment-variable tokens, such as `%OneDrive%` or `%USERNAME%`, listed in the [configuration reference](https://claude.com/docs/third-party/claude-desktop/configuration.md#allowedworkspacefolders). An entry that references any other `%VAR%`, or one that is unset on the device, adds no folder.
1818 
1919Each entry is either a plain path string or an object with these fields:
2020 

third-party/claude-desktop/mdm Changed · +2 / -0 lines

from line 106
106106 
107107When a managed source sets any key other than the [app-behavior keys and the keys treated like them](#update-keys-and-managed-precedence), the managed configuration takes effect, the in-app configuration window becomes read-only, and locally authored values in `configLibrary/` are ignored.
108108 
109If you also deploy Claude Code's own managed settings to the same devices, see [Interaction with Claude Code's own managed settings](https://claude.com/docs/third-party/claude-desktop/code.md#interaction-with-claude-code%E2%80%99s-own-managed-settings) for how the two combine.
110 
109111### Restrict a device to one deployment mode
110112 
111113Claude Desktop on 3P runs on the inference provider or bootstrap server in your configuration. In standard Claude Desktop, users sign in to claude.ai. To stop users from switching a device between the two, set [`deploymentMode`](https://claude.com/docs/third-party/claude-desktop/configuration#deploymentmode) in the managed source:

third-party/claude-desktop/network-proxy Changed · +1 / -1 lines

from line 104
104104* **SOCKS proxies in Cowork's sandboxed shell.** On macOS and Windows, the sandboxed shell skips SOCKS proxies. Its commands connect directly to a host for which a PAC script returns only SOCKS proxies, and to every host when the OS proxy settings name only a SOCKS proxy. Have the script return a `PROXY` or `HTTPS` entry for each host that must go through a proxy, or [pin a proxy from managed configuration](#pin-a-proxy-from-managed-configuration).
105105* **Cowork's sandboxed shell when every host is allowed.** With a list of hosts in [`coworkEgressAllowedHosts`](https://claude.com/docs/third-party/claude-desktop/web-tools), the shell's commands reach the network only through a filter inside the sandbox, and a program that ignores proxy variables has no route around it. When the list contains `*`, that filter is off and commands make their own connections. On macOS and Windows they get the proxy setting only as `HTTPS_PROXY`, `HTTP_PROXY`, and `NO_PROXY`, so a program that ignores those variables connects directly.
106106* **Marketplace credential helpers.** Unless the environment that starts Claude Desktop already sets proxy variables, a plugin marketplace's [`credentialHelper`](https://claude.com/docs/third-party/claude-desktop/extensions#how-a-marketplace-credential-helper-runs) script gets `HTTPS_PROXY` and `HTTP_PROXY` for the marketplace's host. They're empty for a direct connection. When a proxy is set, `NO_PROXY` lists `localhost`, `127.0.0.1`, and `::1`. If that host's proxies are all SOCKS proxies, or Claude Desktop can't resolve a proxy, the script gets no proxy variables. The same variables apply to every host the script calls, so if the server that issues your token needs a different proxy, set it inside the script.
107* **Programs that ignore proxy variables.** The agent passes `HTTPS_PROXY`, `HTTP_PROXY`, and `NO_PROXY` to the programs it launches on the device, but a program that does not honor those variables connects directly if the network allows it. The only complete control for this case is blocking direct egress at the network layer.
107* **Programs that ignore proxy variables.** The agent passes `HTTPS_PROXY`, `HTTP_PROXY`, and `NO_PROXY` to programs it launches on the device, such as hooks, but a program that does not honor those variables connects directly if the network allows it. The only complete control for this case is blocking direct egress at the network layer.
108108 
109109> [!WARNING]
110110>
Feedback