Claude Code

How to Add MCP Servers to Claude Code

docs.anthropic.com/en/docs/claude-code

Anthropic'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.json

2. Add a server configuration

Run the following command:

claude mcp add sequential-thinking npx -- -y @modelcontextprotocol/server-sequential-thinking

3. Restart Claude Code

Restart or reload Claude Code to pick up the new MCP server configuration.

Compatible Servers (1915)