Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

329 pages for shell.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Claude Tag for Claude Code users Claude Documentation · in the page claude-tag/concepts/for-claude-code-users …ludes your `~/.claude` directory, your personal `settings.json`, your shell environment, and the MCP servers you configured locally. They still apply when you run Claude Code in your terminal. ### Ad… Open external links from MCP Apps Claude Documentation · in the page connectors/building/mcp-apps/external-links …sms`, `intent`, `android-app`, browser-extension schemes, and Windows shell schemes such as `search-ms` and `shell`. ## User-activation requirement Claude bypasses the modal only when the `ui/open-l… Get started with MCP Apps Claude Documentation · in the page connectors/building/mcp-apps/getting-started …ommand, replacing `https://example.com/mcp` with your server URL: ```shell theme={null} node -e 'const yourServerUrl = "https://example.com/mcp"; console.log(require("crypto").createHash("sha256").up… Troubleshoot MCP Apps Claude Documentation · in the page connectors/building/mcp-apps/troubleshooting …nector URL. Compute it by running this command with your own URL: ```shell theme={null} node -e 'const yourServerUrl = "https://example.com/mcp"; console.log(require("crypto").createHash("sha256").up… Test your connector Claude Documentation · in the page connectors/building/testing …t credentials. Provide a fully populated account rather than an empty shell, so reviewers can exercise real functionality: list real records, search real data, and exercise write tools on real resourc… Set up an MCP tunnel Claude Documentation · in the page connectors/mcp-tunnels/setup …Tunnels API key into an environment variable so it stays out of your shell history and values file, then install into a dedicated namespace. ```bash theme={null} # Paste the Tunnels API key (input i… Troubleshoot MCP tunnels Claude Documentation · in the page connectors/mcp-tunnels/troubleshooting …n rotated. On Docker Compose, confirm the variable is exported in the shell that ran `docker compose up`. After a token rotation, restart cloudflared on every host with the new value * **A firewall**:… Changelog Claude Documentation · in the page cowork/changelog …iles into hidden or protected folders, such as Homebrew's folders and shell start-up locations, or give a document a hidden or otherwise protected name. * Changed Settings › Import to no longer offer… Set up Cowork (local mode) for a HIPAA-ready organization Claude Documentation · in the page cowork/hipaa-setup …The network setting for Cowork**, in [Limit network access for Cowork shell commands](#limit-network-access-for-cowork-shell-commands) * **Turning Cowork back on** after the configuration is applied,… Monitoring Claude Documentation · in the page cowork/monitoring …tool was called with, in `tool_input` and `tool_parameters`, such as shell commands, file paths, URLs, and search patterns. It also covers the text of a failed tool's error message, in `error` on the… Claude for Government changelog Claude Documentation · in the page government/changelog …minal panel, even in bypass-permissions or Auto mode, while **Blocked shell commands** lists any command. * Improved directory sync (SCIM) so that one tenant's very large sync no longer holds up direc… Manage plugins and connectors Claude Documentation · in the page government/config/plugins-and-connectors …hes: File Explorer's **Compress to ZIP file**, 7-Zip, `tar.exe`, PowerShell 7, and Python's `zipfile` all write them, while Windows PowerShell 5.1's `Compress-Archive` can write backslash paths, which… Available settings Claude Documentation · in the page government/config/settings …ode in a sandbox for data analysis in Chat. Only takes effect where **Shell commands** and **Chat in Claude Desktop** are both on. Without this setting, Claude cannot read Word, Excel, or PowerPoint f… Windows fleet checklist Claude Documentation · in the page government/deploy-desktop/windows-checklist …users from the system account, or provision it from an elevated PowerShell session with `Add-AppxProvisionedPackage` or the equivalent DISM command. The package registers a Windows service that Cowor… Security and data handling Claude Documentation · in the page government/security/security-and-data-handling …the file-analysis steps in Chat, the Claude Desktop application runs shell commands and model-written code inside a dedicated local virtual machine. In Claude for Government, this sandbox is always t… Use Claude for M365 with third-party platforms Claude Documentation · in the page office-agents/third-party-platforms …run the setup wizard from inside Claude. Add the marketplace in your shell: ```bash theme={null} claude plugin marketplace add anthropics/financial-services ``` Install the plugin: ```bash theme={… Plugin pre-submission checklist Claude Documentation · in the page plugins/pre-submission-checklist …uments, such as `node ${CLAUDE_PLUGIN_ROOT}/server.js`, not through a shell, an inline program such as `-c`, or a package-manager script such as `npm run` | Held for a reviewer | **MCP server command… Deploy Claude Desktop on 3P with Amazon Bedrock Claude Documentation · in the page third-party/claude-desktop/bedrock …WS CLI by searching the launch environment's `PATH`, the user's login-shell `PATH`, and standard install locations such as `/usr/local/bin` and `/opt/homebrew/bin` on macOS. If your fleet installs the… Chat in Claude Desktop on 3P Claude Documentation · in the page third-party/claude-desktop/chat …through internal interfaces. * **Run code on the host.** There is no shell access. With advanced file analysis off (the default), the sandbox VM is never started for Chat; with it on, code runs only… Code in Claude Desktop on 3P Claude Documentation · in the page third-party/claude-desktop/code …'s own inference and telemetry connections run outside the sandbox. A shell command or [HTTP hook](https://code.claude.com/docs/en/hooks#http-hook-fields) that calls your inference provider, `api.anth… Configuration reference Claude Documentation · in the page third-party/claude-desktop/configuration …to all providers, and to both Cowork and Code. > > **Typical use:** a shell script that pulls from Keychain, 1Password CLI, or an internal secret broker. Example: > > `security find-generic-password -… Connect to Microsoft 365 Claude Documentation · in the page third-party/claude-desktop/connectors-m365 …nts. To remove a write scope listed here, use Microsoft Graph or PowerShell as described in Microsoft's [Review permissions granted to enterprise applications](https://learn.microsoft.com/en-us/entra/… Write a credential helper Claude Documentation · in the page third-party/claude-desktop/credential-helper …nstead. The helper runs with a `PATH` that includes the user's login-shell `PATH` and standard install locations in addition to the app's launch environment, so a script can invoke tools such as `aws… MCP, plugins, skills, and hooks Claude Documentation · in the page third-party/claude-desktop/extensions …ude Code runs a [hook](https://code.claude.com/docs/en/hooks) in PowerShell when the hook sets neither `shell` nor `args`. Hooks in Cowork sessions run the same way, on the device itself and not in Co… Desktop and filesystem access Claude Documentation · in the page third-party/claude-desktop/local-access …H remote sessions, read-only applies to Claude's file tools only, and shell commands don't enforce it. For SSH remote sessions, see [Read-only folders on the remote host](/docs/third-party/claude-desk… Migrate Claude Desktop from a cloud provider to Claude Enterprise Claude Documentation · in the page third-party/claude-desktop/move-to-claude-enterprise …ts that aren't in that organization. On Windows, in an elevated PowerShell window: ```powershell theme={null} reg add "HKLM\SOFTWARE\Policies\Claude" /v importThirdPartyHistoryIntoOrgUUID /t REG_SZ… Network proxy Claude Documentation · in the page third-party/claude-desktop/network-proxy …, remote MCP connections, and plugin installs. * **Cowork's sandboxed shell**: the isolated environment where commands the agent runs in a Cowork session (`curl`, `pip`, `npm`, and so on) execute. Wi… Overview Claude Documentation · in the page third-party/claude-desktop/overview …ata-handling-by-provider). * **Sandboxed tool execution.** In Cowork, shell commands run in the hardened Cowork VM; file access is scoped to your allowed folders and web fetches to your egress allowli… SSH remote sessions in Claude Desktop on 3P Claude Documentation · in the page third-party/claude-desktop/ssh-remote-sessions …al and policy from your managed configuration. Every file read, edit, shell command, and git operation runs on the host, in the working directory the user chose there. Claude Desktop connects to [mana… Telemetry and egress Claude Documentation · in the page third-party/claude-desktop/telemetry …coworkegressallowedhosts) key controls what the agent's web-fetch and shell tools can reach. This is independent of the perimeter. See [Web Fetch](/docs/third-party/claude-desktop/web-tools#web-fetch)… Web search and web fetch Claude Documentation · in the page third-party/claude-desktop/web-tools …essAllowedHosts` governs client-side egress (Web Fetch and in-sandbox shell network activity). The SDK Web Search tool in the table above executes server-side at your inference provider, so the allowl… Build an MCP client Model Context Protocol · in the page docs/2024-11-05/develop/build-client …files rm main.py # Create our main file touch client.py ``` ```powershell Windows theme={null} # Create project directory uv init mcp-client cd mcp-client # Create virtual environment uv venv # Ac… Build an MCP server Model Context Protocol · in the page docs/2024-11-05/develop/build-server …e={null} curl -LsSf https://astral.sh/uv/install.sh | sh ``` ```powershell Windows theme={null} powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" ``` Make sure to re… Connect to local MCP servers Model Context Protocol · in the page docs/2024-11-05/develop/connect-local-servers …m /Users/username/Desktop /Users/username/Downloads > ``` > > ```powershell Windows theme={null} > npx -y @modelcontextprotocol/server-filesystem C:\Users\username\Desktop C:\Users\username\Downloads… Debugging Model Context Protocol · in the page docs/2024-11-05/tools/debugging …heme={null} tail -n 20 -F ~/Library/Logs/Claude/mcp*.log ``` ```powershell Windows theme={null} type "$env:AppData\Claude\logs\mcp*.log" ``` The logs capture: * Server connection events * Configura… Security Best Practices Model Context Protocol · in the page docs/2024-11-05/tutorials/security/security_best_practices …g, credential theft, or further exploitation **Command Injection via Shell Execution** 1. A malicious MCP server provides a URL containing shell command injection payloads 2. The MCP client uses she… Build an MCP client Model Context Protocol · in the page docs/2025-03-26/develop/build-client …files rm main.py # Create our main file touch client.py ``` ```powershell Windows theme={null} # Create project directory uv init mcp-client cd mcp-client # Create virtual environment uv venv # Ac… Build an MCP server Model Context Protocol · in the page docs/2025-03-26/develop/build-server …e={null} curl -LsSf https://astral.sh/uv/install.sh | sh ``` ```powershell Windows theme={null} powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" ``` Make sure to re… Connect to local MCP servers Model Context Protocol · in the page docs/2025-03-26/develop/connect-local-servers …m /Users/username/Desktop /Users/username/Downloads > ``` > > ```powershell Windows theme={null} > npx -y @modelcontextprotocol/server-filesystem C:\Users\username\Desktop C:\Users\username\Downloads… Debugging Model Context Protocol · in the page docs/2025-03-26/tools/debugging …heme={null} tail -n 20 -F ~/Library/Logs/Claude/mcp*.log ``` ```powershell Windows theme={null} type "$env:AppData\Claude\logs\mcp*.log" ``` The logs capture: * Server connection events * Configura… Security Best Practices Model Context Protocol · in the page docs/2025-03-26/tutorials/security/security_best_practices …g, credential theft, or further exploitation **Command Injection via Shell Execution** 1. A malicious MCP server provides a URL containing shell command injection payloads 2. The MCP client uses she… Build an MCP client Model Context Protocol · in the page docs/2025-06-18/develop/build-client …files rm main.py # Create our main file touch client.py ``` ```powershell Windows theme={null} # Create project directory uv init mcp-client cd mcp-client # Create virtual environment uv venv # Ac… Build an MCP server Model Context Protocol · in the page docs/2025-06-18/develop/build-server …e={null} curl -LsSf https://astral.sh/uv/install.sh | sh ``` ```powershell Windows theme={null} powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" ``` Make sure to re… Connect to local MCP servers Model Context Protocol · in the page docs/2025-06-18/develop/connect-local-servers …m /Users/username/Desktop /Users/username/Downloads > ``` > > ```powershell Windows theme={null} > npx -y @modelcontextprotocol/server-filesystem C:\Users\username\Desktop C:\Users\username\Downloads… Debugging Model Context Protocol · in the page docs/2025-06-18/tools/debugging …heme={null} tail -n 20 -F ~/Library/Logs/Claude/mcp*.log ``` ```powershell Windows theme={null} type "$env:AppData\Claude\logs\mcp*.log" ``` The logs capture: * Server connection events * Configura… Security Best Practices Model Context Protocol · in the page docs/2025-06-18/tutorials/security/security_best_practices …g, credential theft, or further exploitation **Command Injection via Shell Execution** 1. A malicious MCP server provides a URL containing shell command injection payloads 2. The MCP client uses she… Build an MCP client Model Context Protocol · in the page docs/2025-11-25/develop/build-client …files rm main.py # Create our main file touch client.py ``` ```powershell Windows theme={null} # Create project directory uv init mcp-client cd mcp-client # Create virtual environment uv venv # Ac… Build an MCP server Model Context Protocol · in the page docs/2025-11-25/develop/build-server …e={null} curl -LsSf https://astral.sh/uv/install.sh | sh ``` ```powershell Windows theme={null} powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" ``` Make sure to re… Connect to local MCP servers Model Context Protocol · in the page docs/2025-11-25/develop/connect-local-servers …m /Users/username/Desktop /Users/username/Downloads > ``` > > ```powershell Windows theme={null} > npx -y @modelcontextprotocol/server-filesystem C:\Users\username\Desktop C:\Users\username\Downloads… Debugging Model Context Protocol · in the page docs/2025-11-25/tools/debugging …heme={null} tail -n 20 -F ~/Library/Logs/Claude/mcp*.log ``` ```powershell Windows theme={null} type "$env:AppData\Claude\logs\mcp*.log" ``` The logs capture: * Server connection events * Configura…
Feedback