Claude Desktop MCP Setup: Complete Tutorial (2026)
Want to supercharge Claude Desktop with external tools and data? The Model Context Protocol (MCP)makes it possible. In this step-by-step tutorial, you'll learn exactly how to set up MCP servers in Claude Desktop — including connecting AI Memory so Claude can search your entire conversation history across ChatGPT, Claude, DeepSeek, and Gemini.
TL;DR — Quick Claude Desktop MCP Setup
- What you need: Claude Desktop app installed (free)
- Config file:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) - Setup time: Under 2 minutes
- AI Memory URL:
https://aimemory.pro/api/mcp - Result: Claude can search all your past AI conversations
What is Claude Desktop?
Claude Desktopis Anthropic's standalone desktop application for interacting with Claude AI. Available on macOS, Windows, and Linux, it provides a native experience for chatting with Claude — but with one crucial advantage over the web version: full MCP (Model Context Protocol) support.
While the web-based Claude interface at claude.ai is great for general conversations, Claude Desktop unlocks the ability to connect to external tools, databases, and data sources through MCP servers. This transforms Claude from a standalone AI into a powerful assistant that can access your entire digital workspace.
Key Features of Claude Desktop
- MCP Server Support — Connect to external tools and data sources
- Native Performance — Faster than the web interface for frequent use
- Offline Access — View past conversations without a browser
- System Tray Integration — Quick access from anywhere on your desktop
- Keyboard Shortcuts — Customizable hotkeys for power users
- Multi-Model Support — Access Claude 3.5 Sonnet, Claude 4, and more
Claude Desktop vs Claude Web
| Feature | Claude Desktop | Claude Web |
|---|---|---|
| MCP Support | ✅ Full support | ❌ Not available |
| External Tools | ✅ Via MCP servers | ❌ Limited to built-in |
| Installation | Desktop app required | Browser only |
| Performance | Faster, native feel | Standard web speed |
| AI Models | Same models | Same models |
What is MCP (Model Context Protocol)?
The Model Context Protocol (MCP) is an open standard created by Anthropic that enables AI assistants to connect to external tools and data sources through a universal interface. Think of it as USB for AI — before USB, every device had its own proprietary connector. Similarly, before MCP, every AI tool integration required custom code.
How MCP Works
MCP uses a client-server architecture. Claude Desktop acts as the MCP client, and external services (like AI Memory) act as MCP servers. Communication happens over a standardized protocol that supports:
- Tools — Functions Claude can call (e.g., search_memory, add_memory)
- Resources — Data Claude can read from the server
- Prompts — Pre-built prompt templates for common tasks
- Sampling — Server-initiated AI completions (advanced use)
Why MCP Matters for Claude Desktop Users
MCP transforms Claude Desktop from a chatbot into a connected AI assistant. Instead of being limited to the current conversation, Claude can now:
- Search your past conversations across ChatGPT, Claude, DeepSeek, and more
- Access external databases and knowledge bases
- Interact with APIs and web services
- Read and write files on your local system
- Connect to development tools like GitHub, Jira, and Slack
As of 2026, over 113 MCP clients and servers are available in the ecosystem, making it the dominant standard for AI tool integration.
Prerequisites for Claude Desktop MCP Setup
Before you begin, make sure you have the following:
- Claude Desktop installed — Download from claude.ai/download
- A Claude account — Free tier works; Pro plan recommended for heavy MCP usage
- A text editor — VS Code, Sublime Text, Notepad++, or any JSON editor
- MCP server URL(s) — The URL(s) of the MCP server(s) you want to connect
⚠️ Important: Valid JSON Required
The Claude Desktop config file must contain valid JSON. A single missing comma or extra bracket will prevent all MCP servers from loading. We recommend using a JSON validator or a code editor with JSON syntax highlighting.
Step-by-Step: Claude Desktop MCP Server Setup
Follow these steps to configure any MCP server in Claude Desktop. The process takes under 2 minutes.
Step 1: Locate Your Configuration File
The Claude Desktop MCP configuration lives in a JSON file. Its location depends on your operating system:
- macOS:
~/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 manually. The file should contain valid JSON.
Finding the File on macOS
Open Terminal and run:
# Navigate to the Claude config directory cd ~/Library/Application Support/Claude/ # Open the config file in your default editor open claude_desktop_config.json # Or create it if it doesn't exist touch claude_desktop_config.json
Finding the File on Windows
Open Command Prompt or PowerShell and run:
# Navigate to the Claude config directory cd %APPDATA%\Claude # Open the config file notepad claude_desktop_config.json
Finding the File on Linux
# Navigate to the Claude config directory cd ~/.config/Claude/ # Open the config file nano claude_desktop_config.json
Step 2: Add MCP Server Configuration
Open the claude_desktop_config.json file and add your MCP server(s) inside the "mcpServers"object. Here's the basic structure:
{
"mcpServers": {
"server-name": {
"url": "https://your-mcp-server-url.com/mcp",
"transport": "http"
}
}
}If the file already has content, merge your new server entry into the existing "mcpServers" object. For example:
{
"mcpServers": {
"existing-server": {
"url": "https://existing-server.com/mcp",
"transport": "http"
},
"ai-memory": {
"url": "https://aimemory.pro/api/mcp",
"transport": "http"
}
}
}Step 3: Save and Restart Claude Desktop
After saving the configuration file, you must completely quit and restart Claude Desktop for the changes to take effect:
- macOS: Press
Cmd+Qor right-click the dock icon → Quit - Windows: Click the X button or right-click the system tray icon → Exit
- Linux: Close the window or use your desktop environment's close command
Simply closing the window (minimizing to tray) may not reload the configuration. Make sure the process fully exits before reopening.
Step 4: Verify the Connection
After restarting Claude Desktop, navigate to Settings → MCP Servers. You should see your configured server(s) listed with status indicators:
- 🟢 Green — Connected and working
- 🟡 Yellow — Connecting or degraded
- 🔴 Red — Connection failed (check config)
If the server shows a green status, start a new conversation and test it. For AI Memory, try asking: “Search my memory for conversations about React”.
Example: Connecting AI Memory MCP Server
One of the most powerful MCP servers you can connect to Claude Desktop is AI Memory. It gives Claude the ability to search through all your saved conversations from ChatGPT, Claude, DeepSeek, Gemini, and other AI platforms.
AI Memory MCP Server Configuration
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"ai-memory": {
"url": "https://aimemory.pro/api/mcp",
"transport": "http"
}
}
}What AI Memory Provides via MCP
Once connected, Claude Desktop gains access to four powerful tools:
| Tool | Description | Example Use |
|---|---|---|
search_memory | Full-text search across all saved conversations | “Find my discussion about Docker networking” |
add_memory | Save new conversations or notes | “Save this conversation about API design” |
get_context | Retrieve relevant context snippets for a topic | “Get context about the database migration” |
list_memories | Browse recent conversations with filtering | “Show my latest ChatGPT conversations” |
Testing the AI Memory Connection
After adding AI Memory to your config, restart Claude Desktop and try these prompts:
- “Search my AI Memory for conversations about machine learning”
- “List my recent memories from ChatGPT”
- “Find context about the project architecture I discussed last week”
- “Save this conversation to my memory”
Claude will automatically call the appropriate MCP tools and return results from your AI Memory database. No additional setup is needed — the MCP protocol handles everything.
Adding Multiple MCP Servers to Claude Desktop
Claude Desktop supports multiple MCP servers simultaneously. Simply add each server as a separate entry in the "mcpServers" object:
{
"mcpServers": {
"ai-memory": {
"url": "https://aimemory.pro/api/mcp",
"transport": "http"
},
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/you/Documents"]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
}
}
}
}Notice that different server types use different transport methods. HTTP-based servers (like AI Memory) use a "url" field, while local servers (like filesystem or GitHub) use a "command" field to launch a local process.
MCP Transport Types
- HTTP (Streamable HTTP) — Remote servers accessed via URL. Best for cloud services like AI Memory. Uses
"url"and"transport": "http". - stdio — Local servers launched as a process. Best for tools that need local file system access. Uses
"command"and"args".
Troubleshooting: Claude Desktop MCP Issues
Encountering problems? Here are the most common Claude Desktop MCP issues and how to fix them.
Problem: MCP Server Not Appearing
Symptoms: The server doesn't show up in Settings → MCP Servers.
Solutions:
- Verify the JSON is valid — use jsonlint.com to check
- Ensure
"mcpServers"is at the top level of the JSON object - Make sure you fully quit and restarted Claude Desktop (not just minimized)
- Check that the config file is in the correct location for your OS
Problem: Server Shows Red / Connection Failed
Symptoms: The server appears but shows a red or error status.
Solutions:
- Verify the server URL is correct and accessible from your browser
- Check your internet connection and firewall settings
- For HTTP servers, ensure the URL includes
https:// - Try restarting Claude Desktop again
- Check if the MCP server itself is experiencing downtime
Problem: JSON Parse Error
Symptoms: Claude Desktop fails to load or shows a config error.
Solutions:
- Check for trailing commas (not allowed in JSON)
- Ensure all strings are wrapped in double quotes, not single quotes
- Verify matching curly braces
{ }and square brackets[ ] - Use a code editor with JSON syntax highlighting to spot errors
Problem: Server Connected but Tools Not Working
Symptoms: Green status but Claude says it can't use the tools.
Solutions:
- Start a new conversation after connecting the server
- Make sure you're using Claude 3.5 Sonnet or later (older models may not support tools)
- Check if the server requires authentication (API key, OAuth, etc.)
- Verify the server is exposing tools correctly (check server documentation)
Problem: Performance Issues / Slow Responses
Symptoms: Claude is slow to respond when using MCP tools.
Solutions:
- Reduce the number of active MCP servers if you have many configured
- Check your network latency to remote MCP servers
- For local servers, ensure your system has enough resources (RAM, CPU)
- Consider using fewer, more focused MCP servers
Pro Tips for Claude Desktop MCP Setup
Get the most out of your Claude Desktop MCP configuration with these expert tips:
1. Use a JSON Editor
Always edit your claude_desktop_config.json in a proper code editor (VS Code, Sublime Text) rather than a plain text editor. JSON syntax highlighting and validation will save you from frustrating typos.
2. Back Up Your Configuration
Once you have a working MCP configuration, back it up. If Claude Desktop updates or you switch machines, you'll want to restore your setup quickly:
# macOS backup cp ~/Library/Application\ Support/Claude/claude_desktop_config.json ~/claude-mcp-backup.json
3. Start with One Server
If you're new to MCP, start with a single server (like AI Memory) and verify it works before adding more. This makes troubleshooting much easier.
4. Name Servers Descriptively
Use clear, descriptive names for your MCP servers in the config. Instead of "server1", use "ai-memory" or "github-tools". This helps Claude understand what each server does.
5. Leverage Claude's Intelligence
You don't need to memorize MCP tool names. Simply describe what you want in natural language, and Claude will figure out which MCP tool to call. For example:
- “Search my memory for the API design discussion”
- “What files are in my Documents folder?”
- “Create a new GitHub issue for the bug we discussed”
6. Monitor Server Health
Regularly check Settings → MCP Servers to ensure all your servers are connected. If a server shows degraded status, it may need reconfiguration or the remote service may be experiencing issues.
7. Combine with Claude Projects
For maximum productivity, combine MCP servers with Claude Projects. Set up a project with specific instructions that reference your MCP tools, and Claude will proactively use them in that context.
Security Considerations for MCP Setup
When setting up MCP servers in Claude Desktop, keep these security best practices in mind:
- Only connect trusted servers — MCP servers can access tools and data. Only connect to servers you trust.
- Use HTTPS URLs — Always use
https://for remote MCP servers to ensure encrypted communication. - Protect API keys— If an MCP server requires an API key, store it securely. Don't share your config file with keys exposed.
- Review tool permissions — Some MCP servers expose write-capable tools. Understand what each tool can do before using it.
- Keep Claude Desktop updated — Anthropic regularly releases security patches for MCP handling.
đź”’ AI Memory Security
AI Memory's MCP server is designed with privacy as a priority. All data is stored locally by default, the MCP endpoint only accesses your own conversations, authentication is handled via API keys, and there is no third-party data sharing. You can also self-host for complete control.
Frequently Asked Questions
Is Claude Desktop free?
Yes, Claude Desktop is free to download and use. You can access Claude's AI capabilities with a free Anthropic account. MCP server support is included in all plans, including free.
Can I use MCP servers on the Claude web app?
No, MCP servers are only supported in Claude Desktop. The web-based Claude interface at claude.ai does not support MCP connections. This is a key reason to use the desktop app.
How many MCP servers can I add?
There's no hard limit on the number of MCP servers you can configure. However, adding too many may impact performance. We recommend starting with 2-5 servers for optimal experience.
Do I need to restart Claude Desktop every time I change the config?
Yes, Claude Desktop reads the configuration file on startup. Any changes to claude_desktop_config.json require a full restart of the application.
Can I use local MCP servers with Claude Desktop?
Yes! Claude Desktop supports both remote HTTP-based MCP servers and local stdio-based servers. Local servers run as processes on your machine and communicate via standard input/output.
Get Started with Claude Desktop MCP Today
Setting up MCP in Claude Desktop takes under 2 minutes and transforms how you interact with AI. Start by connecting the AI Memory MCP server to give Claude access to your entire conversation history across all AI platforms.
Ready to get started? Sign up for AI Memory and add the MCP server URL https://aimemory.pro/api/mcp to your Claude Desktop configuration today.
For more MCP setup guides, check out our complete MCP server setup guide covering Claude Desktop, Cursor, Windsurf, Cline, and more.