§05.04

MCP in Claude Code vs Claude Desktop

claude mcp add registers a server from the terminal; Claude Desktop edits a JSON config from Settings. Same protocol, two setup flows and one scope trick.

published 02 Sept 2026 updated 06 Sept 2026 checked against docs 06 Sept 2026 3 min in MCP Markdown

On this page5 sections
  1. 1. Claude Code: one command
  2. 2. Scope is the real difference
  3. 3. Claude Desktop: a config file behind a button
  4. 4. Move one you already have
  5. 5. Verify it worked

Both apps are MCP clients, so one server works in either without changes. The difference is where the server list lives: Claude Code takes a CLI command and remembers a scope; Claude Desktop takes a JSON file you open from Settings → Developer → Edit Config.

1. Claude Code: one command

claude mcp add --transport stdio airtable -- npx -y airtable-mcp-server

Registers a local server that Claude Code launches as a child process — everything after -- is the command to start it. Full walkthrough: install an MCP server in Claude Code.

A hosted server drops the -- and takes a URL:

claude mcp add --transport http notion https://mcp.notion.com/mcp

Connects over HTTP instead of spawning a process; add --header "Authorization: Bearer …" when it needs a token, and see remote MCP servers for the OAuth flow.

2. Scope is the real difference

--scope decides who else gets the server:

ScopeStored inShared
local (default)~/.claude.json, this project onlyno
project.mcp.json in the repoyes, via git
user~/.claude.json, every projectno

project is the one Desktop has no equivalent for: commit .mcp.json and every teammate gets the same tools, each approving it once.

3. Claude Desktop: a config file behind a button

Open Settings → Developer → Edit Config, which opens claude_desktop_config.json:

{ "mcpServers": { "airtable": { "command": "npx", "args": ["-y", "airtable-mcp-server"] } } }

The same stdio server spelled as JSON. Quit Desktop completely and reopen it — the file is read only at launch.

4. Move one you already have

claude mcp add-from-claude-desktop

Imports servers already configured in Desktop so you don’t retype them.

5. Verify it worked

claude mcp list prints every server with a health status, and /mcp inside a session opens the panel to authenticate one. In Desktop, open the connectors menu under the message box and pick Manage connectors.

If it fails: a stdio server needs the -- separator, server names accept only letters, digits, hyphens and underscores, and a project-scoped server stays inert until you approve it interactively. More fixes: MCP troubleshooting.


Sources: Claude Code MCP docs and local MCP servers on Claude Desktop.

← All MCP plates · Search all guides

↑↓ move↵ openalt+↵ copy first command

Keyboard

⌘/ctrl+K or /
Search all guides
alt+↵
In search: copy the guide's first command
j / k
Move through a list of guides
c
On a guide: copy its first command
t
Toggle light / dark
?
This list