FAQ
Have the MCP host control which servers connect and obtain informed consent for data sharing and side effects. Have the server or destination authorize each sensitive operation using the actual caller's identity and the operation's scope.
FAQ
Give each Claude client tool one coherent business action, a descriptive name, and a JSON Schema input_schema for its inputs.
FAQ
Use a Claude Code subagent for a bounded task that benefits from separate context, a specific set of tools, or distinct instructions. Define its purpose and explicitly list the tools it needs.
FAQ
For most conflicting scalar values in Claude Code terminal settings, the order is managed policy, --settings, local project, shared project, then user. Arrays normally merge.
FAQ
Use Claude Code plan mode to inspect a repository and review a proposal before granting edit authority. In the terminal, start with claude --permission-mode plan.
FAQ
Claude Code evaluates matching permission rules in deny, ask, then allow order. A narrower allow cannot override a matching deny. Use ask rules for actions that need confirmation and reserve allow rules for reviewed routine work.
FAQ
For a deterministic pre-execution check, use a Claude Code PreToolUse command hook matched to the intended tool. It receives event JSON on stdin and can allow the call to proceed through permissions or block it before execution.
FAQ
Use claude -p for a non-interactive CI step and configure the permission mode and permitted actions before it runs. Use a dedicated CI identity, a minimal checkout and narrowly scoped credentials.
FAQ
Your application executes client tools requested through the Claude Messages API. Anthropic executes supported server tools on its infrastructure.
FAQ
Put durable repository conventions in CLAUDE.md, apply path-specific guidance through matching rules in .claude/rules/, and use a Skill for an on-demand procedure.
FAQ
Delegate when a worker can deliver a focused result that the coordinator can verify, and isolating that work materially helps.
FAQ
Give the Claude subagent a specific deliverable, the relevant inputs, the allowed actions, acceptance criteria and an expected return shape.