ClaudeWave
4 min read · 4/14/2026

How to Install an MCP Server in Claude Desktop

Step-by-step guide: install any MCP server in Claude Desktop or Claude Code in under 2 minutes. Mac, Windows, and Linux covered.

Step 1 — Find the config file

Every MCP-capable Claude client reads a JSON config file at startup. Here's where to find it:

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Linux: ~/.config/Claude/claude_desktop_config.json

If the file doesn't exist, create it with an empty JSON object: {}

Step 2 — Add your server config

On any MCP server page on ClaudeWave, click the Copy config button. Paste inside your existing config, merging the mcpServers object:

{"mcpServers":{"existing-server":{...},"new-server":{"command":"npx","args":["-y","@example/mcp-server"]}}}

Placeholders like <api_token> must be replaced with real values. Environment variables are more secure than hardcoding secrets — some servers read from env.

Step 3 — Restart Claude Desktop

Fully quit the app (Cmd+Q on Mac). Reopen. The new MCP server should appear in the tools list (bottom-right of the chat input).

If it doesn't show up, check the logs: Claude Desktop → Settings → Developer → Open Logs. You'll see connection errors, missing commands, or permission issues.

Alternative — Claude Code CLI

If you use Claude Code (the terminal CLI), you can add MCP servers with: claude mcp add <name> <command>. The config is persisted to ~/.claude.json. Restart not required — next claude invocation picks it up.

Troubleshooting

'Command not found' — install the runtime. For npx: brew install node. For uvx: pip install uv. For Docker: install Docker Desktop.

'Permission denied' — your server may need filesystem access. On Mac, grant permission in System Settings → Privacy & Security → Files and Folders → Claude.

'No tools available' — the server started but returned zero tools. Check the server's README for required env vars (API keys, paths, etc).

FAQ

Can I use MCP servers without Claude Desktop?
Yes — any MCP-compatible client works: Claude Code CLI, Cursor, Zed, Continue, Warp. The config format is almost identical across them.
How do I update an MCP server?
npx and uvx auto-fetch the latest version each launch. For docker, docker pull <image>. For manually installed servers, git pull + npm install (or pip install --upgrade).
Can I run multiple MCP servers at once?
Yes. Add as many as you want to the mcpServers object. Claude coordinates them automatically. Our Stack Builder generates combined configs for you.
Want more guides like this?
Browse the Claude directory