Set up your app
Adding MCP servers to Claude Desktop
By Sophie Filer · Updated 1 Nov 2026
Claude Desktop reads local MCP servers from claude_desktop_config.json. Remote servers can also be added as connectors in Settings without touching the file.
- Config file
claude_desktop_config.json- Open it from
- Settings → Developer → Edit Config
- Local servers
- Yes
- Remote URLs
- As connectors
At a glance
- Step 1
1. Pick a server
Find one on the shelf and open its page.
- Step 2
2. Open the config
Settings → Developer → Edit Config.
- Step 3
3. Paste and save
Add it inside
"mcpServers". - Step 4
4. Quit and reopen
Quit fully from the menu bar or tray, not just the window.
Local servers: edit the config file
- Step 1: In Claude Desktop open Settings, then Developer, then Edit Config. Claude creates the file if it does not exist yet and shows it in your file manager.
- Step 2: Add your server inside "mcpServers" and save the file.
- Step 3: Quit Claude Desktop completely (from the menu bar or system tray, not just the window) and open it again.
- Step 4: Open the tools menu in the message box to see the server and its tools.
| System | Config file |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp@latest"]
}
}
}Each server page on MCP Shelf has a Claude Desktop tab with the block to paste. If you already have servers, add the new entry inside the same "mcpServers" braces, with a comma after the one before it.
Servers that need an API key
Put the key in an "env" block next to the command. Claude Desktop passes those values to the server when it starts it. The file sits in your user folder rather than in a project, so it does not end up in git, but anyone with access to your account can read it.
{
"mcpServers": {
"firecrawl": {
"command": "npx",
"args": ["-y", "firecrawl-mcp"],
"env": { "FIRECRAWL_API_KEY": "fc-your-key" }
}
}
}One-click installs: desktop extensions
Some servers are packaged as a desktop extension, a single .mcpb file (older ones end in .dxt). Open Settings, then Extensions, to browse the directory or install a file you downloaded. Claude Desktop brings its own Node.js for these and shows a form for any keys, so you never edit the JSON.
Remote servers: add a connector
For servers with a URL, use Settings → Connectors → Add custom connector and paste the URL. Claude handles sign-in if the server needs it. Custom connectors depend on your plan.
The config file only starts programs, so a "url" entry there is ignored. If you cannot add a connector, or the server wants a fixed key header that connectors cannot send, mcp-remote bridges a URL into a local command:
{
"mcpServers": {
"context7": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.context7.com/mcp"]
}
}
}If nothing appears
- Check the JSON is valid; a single stray comma breaks the whole file, and every server in it disappears.
- Use full paths for commands and files. Claude Desktop does not start from your project folder.
- On macOS, if npx or uvx is "not found", give the full path (run
which npxin a terminal to get it). - On Windows, if a server started with npx fails, run it through cmd:
"command": "cmd"with"/c", "npx"at the start of args. If the log mentions ${APPDATA}, add"APPDATA": "C:\\Users\\you\\AppData\\Roaming\\"to the env block. - Read the logs: mcp.log covers connections, and mcp-server-NAME.log holds everything that server printed.
| System | Log folder |
|---|---|
| macOS | ~/Library/Logs/Claude |
| Windows | %APPDATA%\Claude\logs |
| Linux | ~/.config/Claude/logs |
tail -n 20 -F ~/Library/Logs/Claude/mcp*.logFor the exact error messages and what each one means, see Fixing MCP server errors. To rule Claude out, test the same config in MCP Inspector.
Popular servers to try in Claude Desktop
| Server | What it gives your assistant | You need |
|---|---|---|
| Sequential Thinking | A numbered scratchpad the model fills in, revises and branches while it works. | Node.js 24 or newer (the package asks for it) |
| Context7 | Pulls current, version-specific library docs into the conversation. | Node.js 22.13 or newer for the ctx7 setup command, or Node.js 18 or newer for the local server alone |
| Playwright MCP | Microsoft's browser automation server: navigate, click, type, read. | Node.js 18 or newer |
| GitHub | GitHub's own server for repos, issues, pull requests and Actions. | A GitHub account |
| Blender MCP | Prompt-driven modelling in a running copy of Blender. | Blender 3.0 or newer |
| Serena | IDE-style "find symbol" and "edit symbol" for an agent, backed by language servers. | uv, which installs Serena and the Python 3.13 it runs on |
| MCP Toolbox for Databases | Google's toolbox for Postgres, MySQL, BigQuery, Spanner and other databases. | Node.js 18 or newer |
| Framelink Figma MCP | Feeds Figma layout and styling to coding agents so the UI matches the design. | A Figma personal access token |
Questions
Is claude_desktop_config.json the same format as Cursor's mcp.json?
Yes, the "mcpServers" block is identical, so entries copy across unchanged.
The config file does not exist. Should I create it?
Use Settings → Developer → Edit Config and Claude Desktop creates it in the right folder. If you make it by hand, start with { "mcpServers": {} } and add servers inside the braces.
Do I need to restart Claude Desktop after every change?
Yes. It reads the file only at start-up, and closing the window is not enough: quit it from the menu bar or system tray, then open it again.
Do servers in Claude Desktop also work in Claude Code?
Not automatically: they keep separate lists. In Claude Code, claude mcp add-from-claude-desktop copies them across on macOS and WSL.
Plant Your First Pea
Every server on the shelf has a tab with the exact config for your app.
For bots & AI agents
Machine-readable versions of this guide and MCP Shelf. Fetch these instead of parsing this page.
This guide (.md)llms.txtllms-full.txtai.txtFull catalog (.md)API specMCP serverMCP manifestDeveloper docs