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

349 pages for /mcp.

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

Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …connecting your first server, start with the [MCP quickstart](/docs/en/mcp-quickstart.md) for a step-by-step walkthrough. This page is the full reference. ## What you can do with MCP With MCP server… Connect to MCP servers Claude Code CLI · in the page mcp-quickstart …configure MCP servers in Claude Code, see the [MCP reference](/docs/en/mcp.md). ## Before you begin Make sure you have: * [Claude Code installed](/docs/en/quickstart.md) and authenticated * A termi… Enterprise network configuration Claude Code CLI · in the page network-config …| `mcp-proxy.anthropic.com` | [MCP connectors from claude.ai](/docs/en/mcp.md#use-mcp-servers-from-claude-ai), including connectors an organization administrator configures. Connector traffic routes t… Overview Claude Code CLI · in the page overview …your tools with MCP** > > The [Model Context Protocol (MCP)](/docs/en/mcp.md) is an open standard for connecting AI tools to external data sources. With MCP, Claude Code can read your design docs in… Choose a permission mode Claude Code CLI · in the page permission-modes …rmissions) * Connector tools your organization [set to `ask`](/docs/en/mcp#organization-controls-on-connector-tools), in sessions where that setting reaches Claude Code * Tools that require user inter… Configure permissions Claude Code CLI · in the page permissions …skUserQuestion`, MCP tools marked [`requiresUserInteraction`](/docs/en/mcp#require-approval-for-a-specific-tool), [reads from network paths](#network-paths), and connector tools [your organization set… Platforms and integrations Claude Code CLI · in the page platforms …k sessions | For integrations not listed here, [MCP servers](/docs/en/mcp.md) and [connectors](/docs/en/desktop.md#connect-external-tools) let you connect almost anything: Linear, Notion, Google Driv… Add components to a plugin Claude Code CLI · in the page plugins/components …null} { "agent": "security-reviewer" } ``` An [MCP server](/docs/en/mcp.md) gives Claude tools from an external system. Declare it in `.mcp.json` at the plugin root. This one starts a local server… Create a Claude Code plugin Claude Code CLI · in the page plugins/create …y-plugins-blocked-by-managed-settings). To check an MCP server, run `/mcp` in the session to see the server's status. When the server is healthy, `/mcp` lists it as connected. If it isn't, see [MCP s… Host and maintain a marketplace Claude Code CLI · in the page plugins/host-marketplace …tial, by the [same rule it applies to an MCP `headersHelper`](/docs/en/mcp#which-variables-a-helper-can-read). `ANTHROPIC_API_KEY` and `MY_REGISTRY_TOKEN` are both removed, so have the command read it… Plugin loading reference Claude Code CLI · in the page plugins/loading …servers it declares go through the [same per-server approval](/docs/en/mcp.md) as a project `.mcp.json` * MCP servers it declares as an [MCP bundle](/docs/en/plugins/manifest-reference.md#mcpservers),… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …. For server config fields, see [plugin-provided MCP servers](/docs/en/mcp.md#plugin-provided-mcp-servers). Claude Code loads `.mcp.json` at the plugin root first, then each declared shape in order.… Use the mods API Claude Code CLI · in the page plugins/mods/api …status` and the number. > [!TIP] > > When [MCP tool search](/docs/en/mcp.md#scale-with-mcp-tool-search) defers a registered tool, Claude sees its name but not its description until it searches for i… Mods overview Claude Code CLI · in the page plugins/mods/overview …](/docs/en/hooks.md), [Skills](/docs/en/skills.md), and [MCP](/docs/en/mcp.md). A plugin can hold all of them, so a mod can ship in the same plugin as a skill and an MCP server. ## Mods built into Cl… Mods reference Claude Code CLI · in the page plugins/mods/reference …me for an MCP tool when Claude loads it through [tool search](/docs/en/mcp.md#scale-with-mcp-tool-search), with `e.description` set to the text Claude reads for the loaded tool. | `{ description }`, o… Plugins overview Claude Code CLI · in the page plugins/overview …en/sub-agents.md), [Hooks](/docs/en/hooks-guide.md), or [MCP](/docs/en/mcp.md). Use a plugin when you want several skills, subagents, hooks, or MCP servers packaged as one unit. Install one to get a… Plugin security and trust Claude Code CLI · in the page plugins/security …and LSP servers**: Claude Code connects to the [MCP servers](/docs/en/mcp.md) an enabled plugin declares and gives Claude their tools. A stdio MCP server runs as a process that Claude Code starts on… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …server config for "<server>": <error>`, or the server is listed but `/mcp` never shows it connected. #### `Invalid MCP server config for "<server>": <error>` The server's configuration passes the s… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …isor` keeps the cached prefix intact. Whether an [MCP server](/docs/en/mcp.md) change does this depends on whether [tool search](/docs/en/mcp.md#scale-with-mcp-tool-search) defers the session's MCP to… Prompt library Claude Code CLI · in the page prompt-library …endpoint started returning 500s an hour ago' }, nextHref: '/en/mcp', src: 'workflows' }, { id: 'diagnose-from-a-console', sdlc: 'operate', cat: 'Incident', roles: ['ops',… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …local environment remotely**: your filesystem, [MCP servers](/docs/en/mcp.md), tools, and project configuration all stay available, and typing `@` autocompletes file paths from your local project. *… Automate work with scheduled tasks Claude Code CLI · in the page routines …a prompt, one or more repositories, and a set of [connectors](/docs/en/mcp.md), packaged once and run automatically. Scheduled tasks execute on Anthropic-managed cloud infrastructure, or on your organ… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …permissions.md) for path or domain gate them instead. * [MCP](/docs/en/mcp.md) servers, [command hooks](/docs/en/hooks.md#command-hook-fields), and [plugin monitors](/docs/en/plugins/components.md#mon… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …ts**: command [hooks](/docs/en/hooks.md), local [MCP servers](/docs/en/mcp.md), [plugin monitors](/docs/en/plugins/components.md#monitors), [LSP servers](/docs/en/tools-reference.md#lsp-tool-behavior)… Run prompts on a schedule Claude Code CLI · in the page scheduled-tasks …MCP servers | Connectors configured per task | [Config files](/docs/en/mcp.md) and connectors | Inherits from session | | Permission prompts | [Auto mode](/docs/en/routines.md#permission-prompts-durin… Security Claude Code CLI · in the page security …mcp.json` have their own approval prompt, and [Project scope](/docs/en/mcp.md#project-scope) lists the sessions that skip it * Note: A `-p` session shows neither prompt. [What runs before you trust… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …hat-vary-by-provider). ## MCP servers To make [MCP servers](/docs/en/mcp.md) available in every session, add them at image build time with the same `claude mcp add` command used on a desktop install… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …ed: language runtimes, compilers, package managers, and [MCP](/docs/en/mcp.md) sidecars. The recipes below use `--capacity 4`, so one container serves up to four concurrent sessions from the same loc… Claude Code settings Claude Code CLI · in the page settings …| `~/.claude.json`, under the [project's entry](/docs/en/mcp#local-scope) | | **Plugins** | `~/.claude/settings.json` | `.claude/settings.json` | `.claude/settings.local.j… All settings Claude Code CLI · in the page settings-reference …ps`](#allowallclaudeaimcps) | Load the [claude.ai connectors](/docs/en/mcp.md) Claude Code fetches itself alongside a deployed [`managed-mcp.json`](/docs/en/managed-mcp#exclusive-control-with-managed-… Extend Claude with skills Claude Code CLI · in the page skills …ile in `.claude/commands/` * A plugin skill * An [MCP prompt](/docs/en/mcp.md#use-mcp-prompts-as-commands) Claude Code labels synced skills so you can tell where they came from. The `/skills` menu an… Create custom subagents Claude Code CLI · in the page sub-agents …through the Skill tool | | `mcpServers` | No | [MCP servers](/docs/en/mcp.md) available to this subagent. Each entry is either a server name referencing an already-configured server (e.g., `"slack"`)… Enterprise deployment overview Claude Code CLI · in the page third-party-integrations …ion into the codebase so that all users benefit. [Learn more](/docs/en/mcp.md). ## Next steps Once you've chosen a deployment option and configured access for your team: 1. **Roll out to your team*… Tools reference Claude Code CLI · in the page tools-reference …ts a tool name. To add custom tools, connect an [MCP server](/docs/en/mcp.md). To extend Claude with reusable prompt-based workflows, write a [skill](/docs/en/skills.md), which runs through the exist… Troubleshooting Claude Code CLI · in the page troubleshooting …won't start at all, run `claude doctor` from your shell instead. Run `/mcp` to check MCP server status. ## Performance and stability These sections cover issues related to resource usage, responsive… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …: [add and manage servers](#connect-to-external-tools-with-mcp) with `/mcp` in the chat panel | | Checkpoints | Yes | Yes | | `!` Bash shortcut | Yes | No | | Tab completion | Yes | No | ### Run CLI… Week 14 · March 30 – April 3, 2026 Claude Code CLI · in the page whats-new/2026-w14 …cOS and a Pro or Max plan; otherwise, `computer-use` won't appear in `/mcp`. Run `/mcp`, find `computer-use`, and toggle it on. Then ask Claude to verify a change end to end: ```text title="Claude Co… Week 19 · May 4–8, 2026 Claude Code CLI · in the page whats-new/2026-w19 …ool subprocess environment, matching the `session_id` passed to hooks`/mcp` now shows the tool count for connected servers and flags servers that connected with 0 tools`--channels` now works with cons… Week 26 · June 22–26, 2026 Claude Code CLI · in the page whats-new/2026-w26 …e a configured MCP server from your shell instead of the interactive `/mcp` menu. `claude mcp login` runs the server's OAuth flow directly, and `claude mcp logout` clears the stored credentials. Run… What's new Claude Code CLI · in the page whats-new/index …e a configured MCP server from your shell instead of the interactive `/mcp` menu, and clear its stored credentials later with `claude mcp logout`. Also this week: **shell mode responds to command out… Run parallel sessions with worktrees Claude Code CLI · in the page worktrees …settings, hooks, skills, agents, commands, and [`.mcp.json`](/docs/en/mcp#project-scope) servers from the main checkout's root. Hook commands run in that root, and `${CLAUDE_PROJECT_DIR}` points at i… Build for Claude Claude Documentation · in the page build/overview …what good output looks like * **[An MCP App](/docs/connectors/building/mcp-apps/getting-started.md)**: include one when you want the connector to show interactive UI in the conversation * **Commands a… Admin controls Claude Documentation · in the page claude-science/admin-controls …to Anthropic (in research preview; see [MCP tunnels](/docs/connectors/mcp-tunnels/overview)). * **Another company's product**: the company that makes the product usually builds and runs its connector… Connect Amplitude Claude Documentation · in the page claude-tag/admins/connections/amplitude …on connects to the MCP server for Amplitude's US data center, `https://mcp.amplitude.com/mcp`. Choose Amplitude sign-in when Claude should also build or change content in Amplitude, such as creating a… Authentication for connectors Claude Documentation · in the page connectors/building/authentication …omer's URL must match, such as `^https://[a-z0-9-]+\.mcp\.example\.com/mcp$`. Each user enters their own URL when they connect, and Claude accepts it only if it matches. Keep the host part of the patt… Directory connectors vs custom connectors Claude Documentation · in the page connectors/building/directory-vs-custom …ilable | Not available | | **[External link](/docs/connectors/building/mcp-apps/external-links.md) confirmation** | Can allowlist destinations to skip the modal | Always shows the modal | | **Appears… Enterprise Managed Auth for connectors Claude Documentation · in the page connectors/building/enterprise-managed-auth …t_id=your-registered-client-id &scope=openid profile &resource=https://mcp.example.com ``` The `assertion` parameter carries the signed JWT. The `client_id` is the value Claude is registered under at… Build an MCP server for Claude Claude Documentation · in the page connectors/building/index …l itself, see [Model Context Protocol (MCP)](/docs/connectors/building/mcp.md) for a short orientation > * If you want to build a minimal server first and watch Claude call it, see [Build your first M… Lazy authentication for MCP servers Claude Documentation · in the page connectors/building/lazy-authentication …rce_metadata="https://example.com/.well-known/oauth-protected-resource/mcp", scope="orders:read" {"error":"invalid_token","error_description":"Authentication required for this tool"} ``` The `401` s… Build your first MCP server for Claude Claude Documentation · in the page connectors/building/quickstart …nd their versions: ```text theme={null} [email protected] /path/to/mcp-quickstart +-- @modelcontextprotocol/[email protected] `-- [email protected] ``` This page was verified with those versions. ## Write the…
Feedback