
How to add an MCP server to Claude Desktop
Add local MCP servers to Claude Desktop in claude_desktop_config.json, and hosted ones as custom connectors in Customize, then Connectors.
- Local servers
- Yes
- runs stdio servers
- Hosted servers
- Yes
- connects by URL
- Config
- JSON
- how servers are added
- Picks
- 7
- ranked
Claude Desktop has two ways in. Programs that run on your computer go in claude_desktop_config.json (Settings, Developer, Edit Config), and you must fully quit and reopen the app after each change. Hosted servers with a web address are added as custom connectors, which work on every plan, though Free allows only one. Custom connectors connect from Anthropic's cloud, so the server must be reachable on the public internet.
Good for
- Claude Desktop users who want Claude to work with files and apps on their computer
- People connecting a hosted service like Notion or Linear by its web address
- Anyone whose server will not show up after editing the config file
- Team and Enterprise owners setting up connectors for their organization
Install Claude Desktop
At a glance
- Local servers
- claude_desktop_config.json, under mcpServers
- Open the file
- Claude menu, Settings, Developer, Edit Config
- Config file (Linux)
- ~/.config/Claude/claude_desktop_config.json
- After editing
- Quit the app completely and reopen it
- Hosted servers
- Customize, Connectors, + Add, Add custom connector
- Custom connector plans
- Free (one connector), Pro, Max, Ultra, Team, Enterprise
- Where connectors connect from
- Anthropic's cloud, so the server must be public
- One-click local servers
- Desktop extensions (.mcpb)
- Logs (macOS)
- ~/Library/Logs/Claude/mcp*.log
Add a local MCP server to Claude Desktop
Claude
- 1
Install Node.js if the server uses npx
Many servers start with
npx. Check withnode --version; if it fails, install the LTS version from nodejs.org. - 2
Open the config file
Click the Claude menu in your system menu bar (not the settings inside the chat window), choose Settings..., open Developer and click Edit Config. The file is:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
- 3
Add the server under mcpServers
Each server gets a name, a
commandand itsargs. Keys go inenv. Use full paths, not relative ones.{ "mcpServers": { "filesystem": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/username/Desktop"] } } }To add a second server, add another entry inside the same
mcpServersobject. - 4
Quit Claude Desktop completely and reopen it
Closing the window is not enough. Quit the app (on macOS, Claude menu, Quit) and open it again so it reads the file and starts the server.
- 5
Check that it loaded
Click Add files, connectors, and more (the + at the bottom left of the message box), point to Connectors, choose Manage connectors and select your server to see its tools.
- 6
Ask Claude to use it
Claude asks for your approval before each action the server takes.
PromptWhat files are in my Desktop folder? Group them by type.
Add a remote MCP server to Claude Desktop
Claude
- 1
Get the server address
Hosted servers have an address like
https://mcp.linear.app/mcp. The server must be reachable from the public internet, because Claude connects to it from Anthropic's cloud, not from your computer.Uses Linear
- 2
Open Connectors
Go to Customize, then Connectors. On Team and Enterprise plans an owner adds the connector first under Organization settings, then Connectors, and members click Connect on it.
- 3
Add a custom connector
Click + Add, then Add custom connector. Enter a name and the server URL, then click Continue.
- 4
Choose how it signs in
Review the settings Claude detected. Under Authentication pick Sign in now, Sign in when needed or No sign in. If the service uses an API key instead, add it under Request headers. Click Add.
- 5
Turn it on in a chat
In a conversation, click +, then Connectors, and switch the connector on. Use the Search and tools menu to turn off any tools you do not want Claude to use in that chat.
PromptUsing Linear, list my open issues due this week, highest priority first.Uses Linear
Best MCP servers for Claude Desktop
Official servers with an approved PlugWiki page whose setup for this client is documented by the vendor or client; ordered by GitHub stars, then weekly downloads, then name.
- 1
Context7OfficialHosted or LocalAPI keyCurrent library docs for Claude Desktop, by hosted URL or a local npx command.
64,001 GitHub stars - 2
Playwright MCPOfficialLocalLets Claude open pages and click through sites in a real browser on your computer.
38,887 GitHub stars - 3
Firecrawl MCP ServerOfficialHosted or LocalAPI keyTurns web pages into clean text for Claude, using your Firecrawl key.
190,711/wk downloads a week - 4Canva MCPOfficialHostedOAuth
Search, create and edit Canva designs after you sign in.
- 5
Exa MCP ServerOfficialHosted or LocalOAuthWeb search built for AI, hosted by Exa.
5.2K GitHub stars - 6
LinearOfficialHostedOAuthRead and update Linear issues as a custom connector.
- 7
Notion MCPOfficialHostedOAuthSearch and edit your Notion pages through Notion's hosted server.
MCP servers that work in Claude Desktop
40 · official first, then servers with a page, then by stars
Scrapling MCP ServerOfficialLocalNo sign-inWeb scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
90.6K GitHub stars
Context7OfficialHosted or LocalAPI keyUp-to-date docs for AI agents
64K GitHub stars
Chrome DevTools MCPOfficialLocalMCP server for Chrome DevTools
54.5K GitHub stars
Playwright MCPOfficialLocalPlaywright MCP server
38.9K GitHub stars
GitHub MCP ServerOfficialHosted or LocalOAuthGitHub's official MCP server. Lets an AI assistant read code, manage issues and pull requests, check Actions runs and security alerts. Hosted at api.githubcopilot.com/mcp or run locally with Docker or a Go binary.
34.1K GitHub stars
OpenWork MCP GatewayOfficialHostedOAuthYour OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL.
24.3K GitHub stars
MCP Toolbox for DatabasesOfficialLocaltoken in envMCP Toolbox for Databases enables your agent to connect to your database.
16.8K GitHub stars
apify-mcp-serverOfficialHosted or LocalOAuthExtract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡
14K GitHub stars
SeleniumBase MCPOfficialLocalNo sign-inStealthy browser automation, testing, and web-scraping via CDP Mode.
13.2K GitHub stars
AutoClipOfficialLocalNo sign-inClip long videos into short clips with covers and captions. Local CLI and MCP.
9.9K GitHub stars
Firecrawl MCP ServerOfficialHosted or LocalAPI keyFirecrawl, the context API for AI agents: search, scrape, interact with the web, plus paper search.
7.7K GitHub stars
firecrawl-mcp-serverOfficialLocalAPI keyOfficial Firecrawl MCP server, the context API for AI agents: search, scrape, and interact with the web, plus parse, crawl, map, Agent and Monitor, from any MCP client.
7.7K GitHub stars
MobileBuildMCPOfficialLocalBuild, run and test iOS and macOS apps, drive the simulator and debug with LLDB from your AI assistant. Formerly XcodeBuildMCP.
6.5K GitHub stars
magic-mcpOfficialLocalAPI keyIt's like v0, but in your Cursor / Claude Code / Windsurf: search 10,000+ React/Tailwind components, generate new UI with AI, and publish your own — right from your editor. Magic MCP is now the 21st MCP; this package keeps old configs working. Setup: 21st.dev/mcp
6.3K GitHub stars- Excalidraw MCPOfficialHosted or LocalNo sign-in
Official Excalidraw MCP App server: streams hand-drawn diagrams into the chat with interactive fullscreen editing. Hosted or local.
5.6K GitHub stars
Exa MCP ServerOfficialHosted or LocalOAuthConnect AI agents to Exa for web search, content fetching, and multi-step research.
5.2K GitHub stars
notion-mcp-serverOfficialLocaltoken in envOfficial Notion MCP Server
4.7K GitHub stars
mcp-grafanaOfficialHosted or LocalAn MCP server giving access to Grafana dashboards, data and more.
3.6K GitHub stars- Google Analytics MCP ServerOfficialLocaltoken in env
Google's official Google Analytics MCP server: runs locally and queries GA4 reports and property settings with your Google credentials. Read-only unless you add the --allow-write flag.
3.6K GitHub stars
SupabaseOfficialHosted or LocalOAuthMCP server for interacting with the Supabase platform
3K GitHub stars
Show all 40Show fewer
brightdata-mcpOfficialLocaltoken in envA powerful Model Context Protocol (MCP) server that provides an all-in-one solution for public web access.
2.7K GitHub stars
Perplexity MCP ServerOfficialHosted or LocalOAuthConnector for Perplexity API, to enable real-time, web-wide research.
2.6K GitHub stars
tavily-mcpOfficialLocalProduction ready MCP server with real-time search, extract, map & crawl.
2.5K GitHub stars
Solana MCP by VybeOfficialHostedOAuthSolana MCP developer toolkit: wallets, trades, markets, PnL, transfers, onchain, swaps & API tools.
2.2K GitHub stars
Azure DevOps (ADO)OfficialHostedOAuthThe MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
2.1K GitHub stars
Azure DevOps Local MCP ServerOfficialLocalOAuthThe MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
2.1K GitHub stars
anysearch-mcp-serverOfficialHostedAPI keyUnified real-time search MCP server supporting general web search, vertical domain search, parallel batch search, and full-page URL content extraction.
2.1K GitHub stars
Microsoft Learn MCPOfficialHostedNo sign-inOfficial Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
2K GitHub stars- WordPress MCP AdapterOfficialLocal
The official WordPress plugin that turns a self-hosted site into an MCP server, exposing Abilities API actions from core, plugins and themes over STDIO (WP-CLI) or HTTP.
1.9K GitHub stars
MeiGen-AI-Design-MCPOfficialHosted or LocalOAuthDiscover inspiration and create images and videos with the latest AI models. Works with ChatGPT, Claude, Cursor, and other MCP clients.
1.8K GitHub stars
MATLAB MCP ServerOfficialLocalNo sign-inConnect AI coding agents to MATLAB. Run code, tests, and analysis via MCP.
1.7K GitHub stars
datagouv-mcpOfficialHostedNo sign-inOfficial data.gouv.fr Model Context Protocol (MCP) server that allows AI chatbots to search, explore, and analyze datasets from the French national Open Data platform, directly through conversation.
1.6K GitHub stars
MiniMax-MCPOfficialLocalAPI keyOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
1.6K GitHub stars
mcp-server-qdrantOfficialLocalAPI keyAn official Qdrant Model Context Protocol (MCP) server implementation
1.6K GitHub stars
TerraformOfficialHosted or LocalAPI keyGenerate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise
1.6K GitHub stars
@brave/brave-search-mcp-serverOfficialLocalBrave Search MCP Server: web results, images, videos, rich results, AI summaries, and more.
1.5K GitHub stars
IDA MCPOfficialLocalNo sign-inOfficial Hex-Rays MCP server that lets AI agents open, decompile and annotate binaries in IDA, alongside you in the IDA GUI or headless.
1.5K GitHub stars- X MCP (X API)OfficialHosted or LocalOAuth
X's hosted MCP server for the X API at api.x.com/mcp: AI clients search posts, read users, trends and news, manage bookmarks and publish Articles through your X developer app, directly or via the xurl mcp bridge.
1.4K GitHub stars
Power BI Authoring MCP Server (Local)OfficialLocalOAuthThe Power BI Authoring MCP server lets an AI agent create and change Power BI semantic models.
1.3K GitHub stars
ref-tools-mcpOfficialLocalAPI keyToken efficient search for coding agents over public and private documentation.
1.2K GitHub stars
Common errors and fixes
Server does not show up after editing the config
Cause: The app was not fully restarted, the JSON has a mistake, or a path is relative.
Fix: Fix the JSON, use absolute paths, then quit Claude Desktop completely and reopen it.
claude-desktop Source
Server shows up but its tools fail
Cause: The server program itself errors when it starts or runs.
Fix: Run the same command in a terminal and read mcp-server-NAME.log in the logs folder.
claude-desktop Source
ENOENT error with ${APPDATA} in the path on Windows
Cause: The variable is not expanded for the server.
Fix: Add "APPDATA": "C:\\Users\\you\\AppData\\Roaming\\" to the server's env, and make sure npm is installed globally.
claude-desktop Source
Custom connector will not connect though the URL opens in your browser
Cause: Connectors reach the server from Anthropic's cloud, not your computer.
Fix: Host the server publicly, or allow Anthropic's IP addresses in your firewall.
claude-desktop Source
Extension installed but its tools are missing
Cause: The extension list did not refresh, or a required setting is empty.
Fix: Restart Claude Desktop and fill in every required field in the extension's settings.
claude-desktop Source
Verdict
Claude Desktop runs both local servers from its config file and hosted servers as custom connectors, on every plan. The main limit is the hand-edited JSON file, which needs a full restart after each change, while custom connectors connect from Anthropic's cloud and cannot reach private networks.
Claude Desktop runs both local servers from its config file and hosted servers as custom connectors, on every plan. The main limit is the hand-edited JSON file, which needs a full restart after each change, while custom connectors connect from Anthropic's cloud and cannot reach private networks.
Best for
- Non-developers who want Claude to work with files and apps on their computer
- Anyone connecting a hosted service through Customize, then Connectors
Skip it if
- Your hosted server sits behind a VPN or firewall you cannot open to Anthropic
- You need more than one custom connector on the free plan
Questions
How do I add an MCP server to Claude Desktop?
For a program that runs on your computer, add it to claude_desktop_config.json through Settings, Developer, Edit Config, then quit and reopen the app. For a hosted server, add a custom connector in Customize, then Connectors.
Where is claude_desktop_config.json?
On macOS it is ~/Library/Application Support/Claude/claude_desktop_config.json, on Windows %APPDATA%\Claude\claude_desktop_config.json, and on Linux ~/.config/Claude/claude_desktop_config.json. Edit Config in the Developer settings creates it if it does not exist.
How do I add a remote MCP server to Claude Desktop?
Add it as a custom connector: Customize, Connectors, + Add, Add custom connector, then paste the URL. The config file is for local programs; remote connectors run through your Claude account.
Why is my MCP server not showing up in Claude Desktop?
Quit Claude Desktop fully and reopen it, then check the file for a JSON mistake and make sure every path is absolute. Run the server command in a terminal to see its error, and read mcp.log in the logs folder.
Where are the Claude Desktop MCP logs?
macOS ~/Library/Logs/Claude, Windows %APPDATA%\Claude\logs, Linux ~/.config/Claude/logs. mcp.log covers connections, and mcp-server-NAME.log holds each server's own output.
Is there an easier way than editing JSON?
Yes, desktop extensions. Open Settings, Desktop app, and Manage next to Extensions, then Browse extensions and click Install. A custom .mcpb file installs from Advanced settings, Extension Developer.
Can I add custom connectors on the free plan?
Yes, one. Custom connectors work on Free, Pro, Max, Ultra, Team and Enterprise, and Free users are limited to one.
Why will my custom connector not connect when the URL works in my browser?
Claude connects from Anthropic's cloud, not from your computer. A server on a private network or behind a VPN needs Anthropic's IP addresses allowed in its firewall.
Can I move my Claude Desktop servers into Claude Code?
Yes. On macOS or WSL, run claude mcp add-from-claude-desktop and pick the servers to copy.
Information
updated Nov 1, 2026
- Transports
- stdio, Streamable HTTP
- Config file (macOS)
~/Library/Application Support/Claude/claude_desktop_config.json- Config file (Windows)
%APPDATA%\Claude\claude_desktop_config.json- MCP docs
- modelcontextprotocol.io
Sources
Docs, issue trackers and discussions this page is built from.
Show all 5Hide
- Connect to local MCP servers · modelcontextprotocol.io
- Get started with custom connectors using remote MCP · support.claude.com
- Get started with local MCP servers on Claude Desktop · support.claude.com
- Connect to remote MCP servers · modelcontextprotocol.io
- Connect Claude Code to tools via MCP · code.claude.com