Add MCP to Claude Code Safely

By Rogier Muller11.01.26
Add MCP to Claude Code Safely

Do not add an MCP server to Claude Code just because one developer made it work locally. Decide who owns the integration, what data Claude Code may touch, and whether the setup belongs in a personal MCP desktop flow or a team convention. In a Claude Code workshop, I want that decision written down before anyone teaches the agent to call a new system.

MCP gives Claude Code a structured way to reach systems outside the repo, such as issue trackers, design tools, docs, databases, and source control. That is useful for Claude Code teams because the agent can work with the same operational context humans use. It also means a casual setup command can become a production habit faster than the team expected.

Start with ownership before setup

When someone writes claude code add mcp in a setup note, I treat it as the start of an integration review, not the whole job. The command or UI path matters less than the boundary around the server.

Name one owner for the MCP server. That owner does not need to maintain the external system, but they should know why Claude Code needs it, what credentials it uses, and how the team should disable it.

For a personal experiment, local config is fine. For a shared workflow, link the decision to your Team conventions so a new teammate can see whether the server is expected, optional, or forbidden.

Rolling this out in your team?

We train engineering teams on their own codebase in two days. Claude Code setup, shared rules and review included.

Choose the narrowest useful server

Start read-only unless the workflow clearly needs write access. A server that can read Jira tickets, GitHub issues, or design metadata is already powerful enough to improve planning and review. Write actions need a separate reason.

A concrete example: in a Next.js repo with a Prisma schema, I would let Claude Code read linked issues and pull request context before I let it update tickets or comment on PRs. The first version helps the agent understand acceptance criteria. The second version can create noise or leak half-checked conclusions.

This is the Design step in our methodology: decide the boundary before you delegate the work. The boundary is not bureaucracy. It keeps the agent from turning a narrow coding task into a broad operations actor.

Record the MCP decision where teammates will find it

Do not hide the rule in one person’s shell history. Put a small decision record in the repo, an engineering handbook, or the same place you keep Claude Code conventions.

I would not make CLAUDE.md carry the whole integration policy unless repository memory is already where your team stores durable rules. A short pointer is fine, such as “Use the GitHub MCP server read-only; see the MCP decision record for scope.” Keep the credential and setup detail somewhere safer than always-on agent context.

For a wider pattern, compare this with the team-level integration approach in Claude Code MCP Integration for Teams. This article is narrower: one server, one owner, one decision.

Paste this decision record before adding a server

Use this as the lightweight artifact. It is intentionally short enough to survive real work.

# MCP server decision record

Server name:
External system:
Owner:
Claude Code users:
Config location: personal / repo / managed team config
Default access: read-only / write-capable
Allowed actions:
Blocked actions:
Credential source:
Data sensitivity notes:
How to disable:
Review date:

Decision:
- Add now
- Add for one developer only
- Hold until permissions are narrower
- Reject for this repo

The important line is “blocked actions.” If the team cannot name anything the server must not do, the scope is probably too vague.

Use this decision table for the first rollout

Choice Use it when Limit
Personal MCP desktop setup One developer is exploring a server or proving a workflow It should not become an assumed team dependency
Repo-level convention The server supports normal work in one repo Keep secrets and credentials out of repository memory
Managed team configuration Several repos or developers need the same integration Requires clearer ownership and rollout communication
No MCP server yet The workflow can be handled by pasted context or a slash command Slower, but safer when access boundaries are unclear

For a first rollout, I usually prefer one repo and read-only access. After a week of real use, review whether the server saved time, created reviewable evidence, and stayed inside the boundary. If the answer is unclear, do not promote it to the whole team.

Further reading

Try it on one server

Pick one MCP server your team already wants, fill in the decision record, and run it read-only in one repo before expanding. If you want to practise that rollout with review habits included, use our hands-on training on Claude Code team workflows.

Train your team on Claude Code

Two days on your team's own repository, onsite or remote, with a written proposal before you commit.

Book a call

Prefer to measure first? Take the free team check.