Claude Desktop MCP Config: File Location & Setup Guide
The Claude Desktop config file is at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
If that's all you needed, you're done. If you want the full setup guide — how to add MCP servers, common config mistakes, and troubleshooting — keep reading.
I spent two hours staring at Claude Desktop wondering why my MCP server wouldn't connect. The config looked perfect. The server ran fine standalone. But Claude showed no tools. The problem? A single trailing comma in my JSON config that Claude silently ignored. This is everything I wish the docs had told me upfront.
New to MCP? Start with Introduction to MCP to understand what it is and how it works.


