How to Add an MCP Server in Claude Desktop

Claude Desktop reads MCP servers from claude_desktop_config.json — ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows. Add the server under a top-level mcpServers key, save the file, and restart Claude Desktop. Its tools appear under the hammer icon in any new conversation.

Claude Desktop reads MCP servers from a single JSON config file. Here is the exact path, a working example, and how to confirm the server is connected.