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

18 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 | | `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… Claude Code changelog Claude Code CLI · in the page changelog …prints the line to paste and never changes the exit code, even with `--strict` * Added `upstream_request_id` to the Claude apps gateway's `inference` audit event: the request ID from Amazon Bedrock,… 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`.… Plugin commands reference Claude Code CLI · in the page plugins/cli-reference …validate <path> [options] ``` | Flag | Description | | :- | :- | | `--strict` | Treat warnings as errors, so unrecognized fields and missing metadata that the runtime tolerates fail the run | | `--j… Create a Claude Code plugin Claude Code CLI · in the page plugins/create …, agent, and command file, and exits `0` on `Validation passed`. Add `--strict` to fail on warnings too. Exit codes and directory handling are on the [plugin commands reference](/docs/en/plugins/cli-r… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …kebab-case, or a missing `version`, `description`, or `author`. Pass `--strict` to turn warnings into failures in CI * **`Validation failed`**: the manifest has a type mismatch, a path that is missing… Marketplace reference Claude Code CLI · in the page plugins/marketplace-reference …place file itself. It prints errors and warnings. For exit codes and `--strict`, see [plugin validate](/docs/en/plugins/cli-reference#plugin-validate). A message names a plugin entry by its index, wr… Mods reference Claude Code CLI · in the page plugins/mods/reference …orts errors, the events it handles, and the mods API calls it makes. `--strict` treats warnings as errors and `--json` prints a machine-readable report. | | [`claude plugin test [directory]`](/docs/en… Publish and distribute a plugin Claude Code CLI · in the page plugins/publish …pdates). **3. Validate** In your shell, run `claude plugin validate --strict ./your-plugin`. A clean run prints `✔ Validation passed`. * **In CI**: keep `--strict`, which also fails the run with ex… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …found` and `Unknown field '<key>'`, which stop it only when you pass `--strict`. Other warnings, such as a missing description, aren't listed. | Message | Cause | Fix | | :- | :- | :- | | `File not f… 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… CLI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/cli …ocolVersion, capabilities, instructions}`. | | `tools/list` | None | `--strict` turns its schema portability check into a gate (see [CI gates](#ci-gates)). | | `tools/call` | `--tool-name`, plus optio… Configuration and flags Model Context Protocol · in the page docs/2026-07-28/tools/inspector/configuration …t`, `--output`, `--output-format`, `--app-info`, `--advertise-apps`, `--strict`, `--verify`, `--require-digests`, `--completion <shell>` (`bash`, `zsh`, or `fish`) | | **Auth** | `--use-stored-auth`,… CLI client Model Context Protocol · in the page docs/draft/tools/inspector/cli …ocolVersion, capabilities, instructions}`. | | `tools/list` | None | `--strict` turns its schema portability check into a gate (see [CI gates](#ci-gates)). | | `tools/call` | `--tool-name`, plus optio… Configuration and flags Model Context Protocol · in the page docs/draft/tools/inspector/configuration …t`, `--output`, `--output-format`, `--app-info`, `--advertise-apps`, `--strict`, `--verify`, `--require-digests`, `--completion <shell>` (`bash`, `zsh`, or `fish`) | | **Auth** | `--use-stored-auth`,…
Feedback