Claude Code for teams: what to set up before you scale it
Before you give Claude Code to every engineer, put five things in place: a project instruction file, shared permission rules, a few hooks, a reviewed list of MCP servers and a clear review practice. Each one lives in a file you can commit, so the whole team gets the same behavior. The details below follow Anthropic's Claude Code documentation as of November 2026.
The five building blocks at a glance
| Building block | What it does | Where it lives | Enforced? |
|---|---|---|---|
CLAUDE.md | Gives Claude persistent project instructions | Repository root or .claude/, plus user and organization levels | No, it is context |
| Permission rules | Allow, ask or deny specific tool calls | .claude/settings.json, user settings, managed settings | Yes, by Claude Code |
| Hooks | Run your commands at set points in a session | A hooks block in a settings file | Yes, deterministic |
| MCP servers | Connect Claude to external tools and data | .mcp.json for project scope | Approval prompt, plus admin lists |
| Review practice | Keeps human judgment on every change | Branch protection and CI | By your existing process |
Permissions: what Claude may do without asking
Permission rules come in three kinds. Allow rules let a tool run without approval, ask rules prompt every time, and deny rules block the call. Rules are evaluated deny first, then ask, then allow, so a broad deny cannot be undone by a narrower allow.
Commit shared rules in the project's .claude/settings.json so every developer starts from the same baseline. For controls that nobody should be able to change locally, administrators deploy managed settings, which user and project settings cannot override. Decide early which permission modes you accept: the default mode prompts on first use of each tool, while others accept edits automatically, restrict Claude to planning, or skip prompts.
Hooks: rules that always run
Hooks are commands that Claude Code runs at specific lifecycle points, such as before a tool call, after one succeeds, or when a session starts. Because they run every time, they suit rules that cannot depend on the model's judgment.
- Block edits to protected files such as
.envor lock files with aPreToolUsehook. - Run the formatter after every file edit with a
PostToolUsehook. - Send a notification when Claude is waiting for input.
- Log tool use to a shared audit service.
MCP servers: connections to your tools
MCP servers give Claude Code access to issue trackers, databases, documentation and internal APIs. A server added at project scope is stored in .mcp.json at the repository root and shared through version control, and Claude Code asks each user for approval before using it.
Anthropic's documentation recommends that one central team configures MCP servers and checks the file into the codebase. It also warns that servers which fetch external content can expose you to prompt injection. Keep the list short, prefer servers you control or trust, and use organization allowlists if you need a hard boundary.
Review practices: keep humans in the loop
- Agent-written changes go through the same pull request review and branch protection as any other change.
- Tests and linters run in CI on every pull request, so problems surface before a reviewer spends time.
- If you add Claude Code to CI through Anthropic's GitHub Action, limit who can trigger it and cap turns and runtime.
- Start new users on codebase questions and small fixes before larger tasks, as Anthropic's rollout guidance suggests.
- Review the instruction file and permission rules on a schedule, the same way you review other shared configuration.
Have BlackCard set it up with you
BlackCard puts these five building blocks in place for small and mid-size companies: the instruction files, the permission rules, the hooks, the MCP servers and the review practice, configured in your own repositories. The same senior team then rolls Claude Code out from a pilot team to every engineer and trains them hands-on in their own codebase. Book a free 15-minute call to go through your setup, in English or German.
Common questions
Can we use an existing AGENTS.md instead of CLAUDE.md?
Yes. Claude Code's documentation describes using a repository's existing AGENTS.md as project instructions, which helps teams that already maintain one for other coding tools. Check the memory page of the documentation for how the two files interact.
What should we configure first?
Start with the project instruction file and a small set of permission rules in one pilot repository. Add hooks once you see which mistakes repeat, then MCP servers when the team has a concrete need for an external system.