Skip to content
AgenticAIWiki

← Chapter 36. Configuring MCP

From .mcp.json to a running server

config.mcp.jsonin the repo, sharedClaude Codeexpands at startupjson// .mcp.json (committed, project scope){ "mcpServers": { "tracker": { "command": "npx", "args": ["-y", "@example/tracker-mcp"], "env": { "TRACKER_TOKEN": "${TRACKER_TOKEN}", "TRACKER_URL": "${TRACKER_URL:-https://tracker.example.com}" } } }}

Swipe to change step

Step 1 of 7. The team commits .mcp.json at the project root. Everyone gets the same servers. It must work for each person without holding anyone's secrets. .mcp.json (in the repo, shared), highlighted. Claude Code (expands at startup). arrow from .mcp.json to Claude Code, labelled config.

Keys: → or J next, ← or K back, Home and End jump, Space toggles auto-play when the diagram has focus.