
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` command.
Setup Guide
1. Locate the config file
~/.claude/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.