Guides › Claude Desktop

How to add MCP servers to Claude Desktop (local and remote)

Claude Desktop runs on macOS, Windows and Linux. It can start local MCP servers from a config file on your computer, and it can connect to remote MCP servers as "custom connectors".

Checked against the official docs on 2026-11-26. Apps change often; the sources are linked at the bottom.

Where the config file lives

macOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\Claude\claude_desktop_config.json
Linux~/.config/Claude/claude_desktop_config.json
Top-level keymcpServers

Add a local server (runs on your computer)

  1. Open the config file
    Click the Claude menu in your system menu bar (not the settings inside the chat window), choose Settings…, open the Developer tab and click Edit Config. This creates the file if it doesn't exist yet.
  2. Add the server under "mcpServers"
    Each server gets a name, the command that starts it and its arguments. Use absolute paths for folders. Put API keys in env.
    {
      "mcpServers": {
        "filesystem": {
          "command": "npx",
          "args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/you/Desktop"]
        },
        "github": {
          "command": "docker",
          "args": ["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"],
          "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "<your-token>" }
        }
      }
    }
  3. Fully quit and reopen Claude
    Closing the window is not enough. Quit from the menu bar or tray, then start Claude again. It only reads the file at startup.
  4. Check that it loaded
    Click the Add files, connectors, and more (/) button in the chat box, point at Connectors and choose Manage connectors. Your server and its tools should be listed.

Add a remote server (a URL)

  1. Open Connectors
    Go to Customize → Connectors, click + Add (or Add, then Custom → Web) and choose to add a custom connector.
  2. Enter a name and the server URL
    Paste the server's HTTPS URL, for example https://mcp.linear.app/mcp, and click Continue.
  3. Choose how to sign in
    Review the sign-in settings Claude detected. Most hosted servers use OAuth. If the server uses an API key instead, add it as a request header.
  4. Connect
    Click Add, then Connect and finish the sign-in.
  • Custom connectors connect from Anthropic's cloud, not from your computer, so the server must be reachable on the public internet. A server on localhost or behind a VPN won't work this way (why and what to do).
  • Custom connectors are available on Free, Pro, Max, Team and Enterprise plans. Free accounts can add one custom connector. On Team and Enterprise plans an owner adds the connector first, then each member connects.

Tips

  • Logs: macOS ~/Library/Logs/Claude, Windows %APPDATA%\Claude\logs, Linux ~/.config/Claude/logs. The mcp*.log files show why a server failed.
  • On Windows, if a log mentions ${APPDATA} in a path, see this fix.
  • Since v7.37095.0 (November 24, 2026), tool calls to local servers set up in the app no longer stop with "Request timed out" after 60 seconds; in Chat and Cowork a call can run for up to 3 minutes by default (timeout fixes).

Common problems in Claude Desktop

Sources

Weekly MCP digest
New servers, breaking changes, and fresh fixes. One email a week.