Search the documentation
9 pages for --strict.
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
…ctors](/docs/en/mcp#use-mcp-servers-from-claude-ai). Maps to the CLI `--strict-mcp-config` flag…
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` * `--add-dir` * `--plugin-dir` * `--fallback-model` * `--allow-dangerously-skip-permissions`…
Claude Code changelog
Claude Code CLI · in the page
changelog
…r malformed commands with a dangling `&&` or `||` operator * Fixed `--strict-mcp-config` sessions prompting to approve `.mcp.json` servers they would never load, which left background sessions waiti…
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
…ns exited with the same error a workstation shows. If a user passes `--strict-mcp-config`, Claude Code exits at startup on a workstation and in a cloud session alike, because that flag asks to replac…
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 plugins
Claude Code CLI · in the page
plugins
…warnings` if there are warnings. Warnings don't fail validation; add `--strict` to treat them as errors. Approved plugins are pinned to a specific commit SHA in the [`anthropics/claude-plugins-commun…
Plugins reference
Claude Code CLI · in the page
plugins-reference
…-object value, and `claude plugin validate` reports a warning. Pass `--strict` to treat warnings as errors. Use it in CI to catch a misspelled field name or a field left over from another tool's mani…
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…