# How to add MCP servers to Claude Desktop and claude.ai

Claude Desktop reads MCP servers from claude_desktop_config.json, under the "mcpServers" key. A local server’s entry is a command with args. Remote servers can also be added in Customize → Connectors → Add → Add custom connector.

Last checked 25 Nov 2026. Page: https://ai-powered.com/clients/claude-desktop

## Quick facts

- Local servers: Yes (stdio)
- Remote servers: Streamable HTTP: Yes · SSE: Yes
- Sign-in: OAuth: Yes · Headers: Partly (Connectors can sign in with OAuth. Request headers (API keys) are in beta for a limited set of organizations.)
- Tool approval: Yes
- Plans: Custom connectors work on Free, Pro, Max, Ultra, Team and Enterprise plans; Free accounts can add one. On Team and Enterprise, an Owner adds the connector and members connect to it.
- Platforms: macOS, Windows, Linux and web

## Claude Desktop config files

| Scope | System | Path |
| --- | --- | --- |
| For you | macOS | `~/Library/Application Support/Claude/claude_desktop_config.json` |
| For you | Windows | `%APPDATA%\Claude\claude_desktop_config.json` |
| For you | Linux | `~/.config/Claude/claude_desktop_config.json` |

## Servers that work in Claude Desktop

- [REA](https://ai-powered.com/mcp/rea): CLI and MCP server that lets coding agents reverse engineer apps and binaries
- [Browser Use](https://ai-powered.com/mcp/browser-use): Browser agents and cloud browsers for AI, with an MCP server for web tasks
- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): MCP server for AI clients to scrape sites with HTTP and stealth browser sessions
- [HyperFrames by HeyGen](https://ai-powered.com/mcp/hyperframes-by-heygen): Hosted MCP connector for creating and rendering videos from HTML through AI chat
- [Context7](https://ai-powered.com/mcp/context7): Version-specific library docs and code examples piped into coding agents via MCP
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): MCP server and CLI that let coding agents drive and inspect a live Chrome browser
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Local MCP server that builds a code knowledge graph for AI coding agents
- [GitHub](https://ai-powered.com/mcp/github): Official MCP server connecting AI assistants to GitHub repos, issues and workflows
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): MCP toolkit giving coding agents symbol-level code retrieval and editing
- [ffmpeg-skill](https://ai-powered.com/mcp/ffmpeg-skill): Local FFmpeg video and audio editing tools for coding agents over MCP
- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): MCP server for managing and automating Home Assistant from AI assistants
- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Open-source analytics app where an AI agent builds charts and dashboards from your data

## Troubleshooting

- A local server doesn’t show up: Check that claude_desktop_config.json is valid JSON and uses absolute paths, then quit Claude Desktop completely and open it again.
- A local server fails to start: Run the same command in a terminal to see its error, and read mcp-server-<name>.log in the logs folder.
- ENOENT with ${APPDATA} in the path on Windows: Add "APPDATA": "C:\Users\<you>\AppData\Roaming" to the server’s env, and make sure npm is installed globally.
- A custom connector can’t reach the server: Connectors connect from Anthropic’s cloud, not your computer. The server must be public on HTTPS port 443, or allow Anthropic’s IP ranges.
- You need to change a connector’s sign-in or URL: Authentication settings can’t be edited. Remove the connector and add it again.
- A local server fails with “npx” (or uvx, docker) not found: Apps started from a dock or menu may not see your terminal’s PATH. Use the full path of the command (run which npx in a terminal to find it), then restart Claude Desktop.
- You can’t tell whether the server or Claude Desktop is at fault: Test the server on its own with the MCP Inspector (npx @modelcontextprotocol/inspector). If it lists tools there, check the Claude Desktop setup.

## Safety

- Local servers run with your user account’s permissions. Only give them access to folders you are happy to share.
- Custom connectors reach unverified services: only add servers from organisations you trust and review the scopes you grant.
- Choose “Always allow” only for trusted tools, and set tools you don’t need to Blocked on the connector’s page.
- A local server runs on your computer with your access to files and the network. Add only servers whose source you trust.

## Questions

### Where is claude_desktop_config.json?
Open Settings from the Claude menu (not the account settings inside the window), go to Developer and click Edit Config. The file is in ~/Library/Application Support/Claude on macOS, %APPDATA%\Claude on Windows and ~/.config/Claude on Linux.

### Can I use local servers on claude.ai?
No. claude.ai and the mobile apps only use remote servers added as custom connectors. Local servers run in Claude Desktop.

### How many custom connectors can I add on the Free plan?
One. Paid plans have no stated limit.

### Can I add a remote server to claude_desktop_config.json?
Remote servers are added as custom connectors in Customize → Connectors. They then work in Claude Desktop, claude.ai and the mobile apps.

### What is a .mcpb file?
A desktop extension: a local server packaged as an MCP Bundle. Drag it onto Settings → Extensions in Claude Desktop and click Install.

### Can Claude Desktop sign in to MCP servers with OAuth?
Yes. Connectors can sign in with OAuth. Request headers (API keys) are in beta for a limited set of organizations.

## Sources

- [MCP docs: connect to local MCP servers](https://modelcontextprotocol.io/docs/develop/connect-local-servers)
- [Claude docs: add a connector that isn’t in the directory](https://claude.com/docs/connectors/custom/remote-mcp)
- [Claude Help Center: custom connectors using remote MCP](https://support.claude.com/en/articles/11175166)