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.
Security Best Practices
Model Context Protocol · in the page
docs/2025-11-25/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/2026-07-28/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/2026-07-28/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/2026-07-28/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/2026-07-28/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…
MCP Inspector
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector
…ocol/inspector --cli` | A scriptable, machine-readable client for CI, shell pipelines, and coding agents. | | **TUI** | `npx @modelcontextprotocol/inspector --tui` | An interactive terminal UI, for wh…
Authorization
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/authorization
…nown `MCP_INSPECTOR_API_TOKEN`, and the same value is exported in the shell below; without it, the handoff's `deepLink` carries no `autoConnect` token and the web client rejects it. ```bash theme={nu…
CLI client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/cli
…nts the result, and exits. That makes it a good fit for CI pipelines, shell one-liners, and coding agents that need to verify a server change immediately. ```bash theme={null} npx @modelcontextprotoc…
Configuration and flags
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/configuration
…se-apps`, `--strict`, `--verify`, `--require-digests`, `--completion <shell>` (`bash`, `zsh`, or `fish`) | | **Auth** | `--use-stored-auth`, `--stored-auth-only`, `--relogin`, `--no-revoke`, `--wait-f…
mcpdo connection client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/mcpdo
…the connection open, so you can run many commands against it from any shell, the way `ssh-agent` keeps keys loaded. | | `mcp-inspector --cli` | `mcpdo` | | - | - | - | | **Lifecycle** | Connect, one…
Recipes
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/recipes
…ne call at a time, so commands against the same connection from other shells wait their turn. The daemon that holds the connection starts automatically and exits about a minute after the last connect…
Security
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/security
…er exec` for a container, and wherever you stored it for launching (a shell profile, an `.env` file, a Compose file). `MCP_INSPECTOR_SECRET_KEY_FILE` narrows that to whoever can read the key file, but…
Local Server Security
Model Context Protocol · in the page
docs/2026-07-28/tutorials/security/local-server-security
…d server may inherit the environment of whatever launched it. If your shell profile exports cloud credentials and API tokens globally, every server you run can potentially read all of them. * **Pass…
Security Best Practices
Model Context Protocol · in the page
docs/2026-07-28/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/draft/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/draft/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/draft/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/draft/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…
MCP Inspector
Model Context Protocol · in the page
docs/draft/tools/inspector
…ocol/inspector --cli` | A scriptable, machine-readable client for CI, shell pipelines, and coding agents. | | **TUI** | `npx @modelcontextprotocol/inspector --tui` | An interactive terminal UI, for wh…
Authorization
Model Context Protocol · in the page
docs/draft/tools/inspector/authorization
…nown `MCP_INSPECTOR_API_TOKEN`, and the same value is exported in the shell below; without it, the handoff's `deepLink` carries no `autoConnect` token and the web client rejects it. ```bash theme={nu…
CLI client
Model Context Protocol · in the page
docs/draft/tools/inspector/cli
…nts the result, and exits. That makes it a good fit for CI pipelines, shell one-liners, and coding agents that need to verify a server change immediately. ```bash theme={null} npx @modelcontextprotoc…
Configuration and flags
Model Context Protocol · in the page
docs/draft/tools/inspector/configuration
…se-apps`, `--strict`, `--verify`, `--require-digests`, `--completion <shell>` (`bash`, `zsh`, or `fish`) | | **Auth** | `--use-stored-auth`, `--stored-auth-only`, `--relogin`, `--no-revoke`, `--wait-f…
mcpdo connection client
Model Context Protocol · in the page
docs/draft/tools/inspector/mcpdo
…the connection open, so you can run many commands against it from any shell, the way `ssh-agent` keeps keys loaded. | | `mcp-inspector --cli` | `mcpdo` | | - | - | - | | **Lifecycle** | Connect, one…
Recipes
Model Context Protocol · in the page
docs/draft/tools/inspector/recipes
…ne call at a time, so commands against the same connection from other shells wait their turn. The daemon that holds the connection starts automatically and exits about a minute after the last connect…
Security
Model Context Protocol · in the page
docs/draft/tools/inspector/security
…er exec` for a container, and wherever you stored it for launching (a shell profile, an `.env` file, a Compose file). `MCP_INSPECTOR_SECRET_KEY_FILE` narrows that to whoever can read the key file, but…
Local Server Security
Model Context Protocol · in the page
docs/draft/tutorials/security/local-server-security
…d server may inherit the environment of whatever launched it. If your shell profile exports cloud credentials and API tokens globally, every server you run can potentially read all of them. * **Pass…
Security Best Practices
Model Context Protocol · in the page
docs/draft/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 App
Model Context Protocol · in the page
extensions/apps/build
…ps/skills/create-mcp-app ~/.claude/skills/create-mcp-app ``` ```powershell Windows theme={null} Copy-Item -Recurse ext-apps\plugins\mcp-apps\skills\create-mcp-app $env:USERPROFILE\.claude\skills\crea…
Quickstart: Publish an MCP Server to the MCP Registry
Model Context Protocol · in the page
registry/quickstart
…z mcp-publisher && sudo mv mcp-publisher /usr/local/bin/ ``` ```powershell Windows theme={null} $arch = if ([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture -eq "Arm64") { "ar…