How to Install an MCP Server in Claude Code

Run claude mcp add <name> -- <command> in your terminal — for example, claude mcp add glammer -- npx -y @glammer/mcp. Use --scope user to make it available in every project, or --scope project to share it via a committed .mcp.json. Verify with claude mcp list.

The Claude Code CLI adds MCP servers with a single command. Here is the claude mcp add syntax, the three scopes, and how to confirm the server is connected.