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

6 pages for --strict-mcp-config.

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

Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …rs](/docs/en/mcp.md#use-mcp-servers-from-claude-ai). Maps to the CLI `--strict-mcp-config` flag | | `permission_mode` | `PermissionMode \| None` | `None` | Permission mode for tool usage | | `continue… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …settings, and fallback model remain in effect: * `--mcp-config` and `--strict-mcp-config` * `--settings` * `--setting-sources` * `--add-dir` * `--plugin-dir` * `--fallback-model` * `--allow-dangerous… CLI reference Claude Code CLI · in the page cli-reference …| | `--strict-mcp-config` | Only use MCP servers from `--mcp-config`, ignoring all other MCP configurations.… Control MCP server access for your organization Claude Code CLI · in the page managed-mcp …tials at connection time. ### Servers passed with `--mcp-config` or `--strict-mcp-config` When a session receives servers through `--mcp-config` while a `managed-mcp.json` that Claude Code can read… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …ags) or the SDK's `settingSources` option. * Start the session with [`--strict-mcp-config`](/docs/en/cli-reference#cli-flags). Claude Code then uses only the MCP servers you pass with `--mcp-config`.… Create custom subagents Claude Code CLI · in the page sub-agents …ain session also cover servers declared in subagent frontmatter: * [`--strict-mcp-config`](/docs/en/cli-reference) and [`--bare`](/docs/en/cli-reference) * [Enterprise managed MCP configuration](/doc…
Feedback