設定範本

Permissions: Strict Allowlist

Whitelist only the bash commands and MCP tools you actually need.

安裝

manual
merge into ~/.claude/settings.json

把這段加入 Claude Code MCP 設定,或直接透過 CLI 執行。

介紹

Locks down tool access for security-sensitive projects. Bash limited to a known list; everything else prompts. Best for client work or regulated environments.

常見使用情境

  • Client work
  • Regulated industries
  • Production access

標籤

securitypermissionsallowlist