
How to Add MCP Servers to Claude Code
docs.anthropic.com/en/docs/claude-codeAnthropic's CLI coding agent. Add MCP servers via `claude mcp add --scope project|user|local`. Project-scoped servers write to .mcp.json at the project root; user/local-scoped servers write to ~/.claude.json.
Setup Guide
1. Locate the config file
.mcp.json2. Add a server configuration
Run the following command:
claude mcp add sequential-thinking npx -- -y @modelcontextprotocol/server-sequential-thinking3. Restart Claude Code
Restart or reload Claude Code to pick up the new MCP server configuration.