Search the documentation
11 pages for --mcp-config.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…o its MCP servers, settings, and fallback model remain in effect: * `--mcp-config` and `--strict-mcp-config` * `--settings` * `--add-dir` * `--plugin-dir` * `--fallback-model` * `--allow-dangerously-…
Claude Code changelog
Claude Code CLI · in the page
changelog
…or invalid agent definitions; it now exits with a clear error, like `--mcp-config` * Fixed `/status` showing "Found invalid entries in: ." with no filename when `~/.claude.json` has an invalid MCP…
CLI reference
Claude Code CLI · in the page
cli-reference
…-and-effort). Accepts `--settings`, `--add-dir`, `--plugin-dir`, and `--mcp-config` like the top-level `claude` command. Opening agent view requires an interactive terminal | `claude agents --json`…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…yaml theme={null} claude_args: "--max-turns 5 --model claude-sonnet-5 --mcp-config /path/to/config.json" ``` Common arguments: * `--max-turns`: limit the number of conversation turns * `--model`: mo…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…-or-json>` | | MCP servers | `--mcp-config <file-or-json>` | | Custom agents | `--agents <json>`…
Control MCP server access for your organization
Claude Code CLI · in the page
managed-mcp
…vers, including plugin-provided servers and servers passed with the [`--mcp-config` CLI flag](/docs/en/cli-reference#cli-flags). The file also suppresses the claude.ai connectors Claude Code fetches i…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…| Reject the `--plugin-dir`, `--plugin-url`, `--agents`, and `--mcp-config` flags at startup. In cloud sessions, Claude Code drops the MCP servers the server delivered through `--mcp-config`,…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…-output-format stream-json` runs, Claude Code also reports a skipped `--mcp-config` entry in the `system/init` event's [`mcp_server_errors` field](/docs/en/headless#stream-responses), so scripts can d…
Manage sessions
Claude Code CLI · in the page
sessions
…lag from the original launch is restored. If the session depended on `--mcp-config`, `--settings`, `--plugin-dir`, `--fallback-model`, or directories added with `--add-dir`, pass them again when you r…
Claude Code settings
Claude Code CLI · in the page
settings
…erride a user- or policy-level `true`. Servers passed explicitly via `--mcp-config` are unaffected. To deny individual connectors instead of all of them, use [`deniedMcpServers`](/docs/en/managed-mcp)…
Week 20 · May 11–15, 2026
Claude Code CLI · in the page
whats-new/2026-w20
…ispatch flags (<code>--add-dir</code>, <code>--settings</code>, <code>--mcp-config</code>, <code>--plugin-dir</code>, <code>--permission-mode</code>, <code>--model</code>, <code>--effort</code>, <code…