What is MCP in Claude Code in plain English?
It is the system that lets Claude Code connect to outside tools and data sources, such as GitHub, Sentry, docs, or databases, so you stop pasting context into chat by hand.
Should I use local, project, or user scope for Claude Code MCP?
Use local scope for a private setup in the current project, project scope when the whole repo should share the configuration through .mcp.json, and user scope for personal tools you want across all projects.
What does .mcp.json do in Claude Code?
It stores project-scoped MCP server definitions in the project root so the configuration can be shared through version control.
Why does Claude Code ask for approval on project-scoped MCP servers?
Because project-scoped servers come from .mcp.json in the repo, and Claude Code requires explicit approval before using shared servers from version-controlled project config.
Can I put API keys in .mcp.json?
You should not. Use environment variable expansion instead so secrets stay out of version control.
What environment variable syntax works in .mcp.json?
The official docs show ${VAR} and ${VAR:-default}. Expansion works in command paths, args, env values, URLs, and headers.
What if my Claude Code MCP config will not parse?
One common cause is a required environment variable being missing with no default value. Check the variables your config references.
What command helps with authenticated remote MCP servers?
Use /mcp inside Claude Code to handle authentication flows for remote servers that require OAuth.