Short answer
Claude Desktop logs are in ~/Library/Logs/Claude on macOS, %APPDATA%\Claude\logs on Windows and ~/.config/Claude/logs on Linux. For MCP problems open mcp.log, which records every server connection and failure, and mcp-server-<name>.log, which holds that one server's own errors. Help, Troubleshooting, Show Logs opens the folder the app really uses.
Claude Desktop writes its logs to ~/Library/Logs/Claude on a Mac, %APPDATA%\Claude\logs on Windows and ~/.config/Claude/logs on Linux. For a broken MCP server, the two files to open are mcp.log, which records every connection and failure, and mcp-server-<name>.log, which holds whatever that one server printed before it died.
Where are the Claude Desktop logs?
These are the paths in the official MCP debugging guide, checked on 30 November 2026.
| System | Logs folder |
|---|---|
| macOS | ~/Library/Logs/Claude |
| Windows | %APPDATA%\Claude\logs |
| Linux | ~/.config/Claude/logs |
%APPDATA% expands to C:\Users\<you>\AppData\Roaming. Paste the whole path into the File Explorer address bar or the Run dialog (Win + R) and Windows fills in your user name. On a Mac, ~/Library is hidden in Finder, so use Go, Go to Folder (Shift + Command + G) and paste the path.
The logs sit next to the config file, not inside it. If you came here from editing claude_desktop_config.json, the config file location post has the matching paths for that file.
How do I open the logs from inside the app?
Two routes, and both avoid typing a path:
- Help, Troubleshooting, Show Logs in Finder (Show Logs in File Explorer on Windows). This is the route Anthropic's own Claude Desktop data storage docs point to, and it opens the folder the running app actually uses.
- Developer, Open MCP Log File. The Developer menu appears in the menu bar after Help, Troubleshooting, Enable Developer Mode. In Claude Desktop 7.37 it also has Reload MCP Configuration, which rereads the config without a restart.
On Windows, prefer the first route over a typed path. A Microsoft Store install runs inside a package that can redirect the app's files to %LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\..., the same redirection that sends the config file somewhere unexpected. If %APPDATA%\Claude\logs is empty or its newest file is weeks old, that is the sign you are looking at the wrong folder.
Which log file tells me what?
A Mac running Claude Desktop 7.37 has more files in that folder than the docs mention. These are the ones worth knowing:
| File | What it records | Open it when |
|---|---|---|
mcp.log | Every MCP server starting, connecting, failing and disconnecting | A server is missing from the connectors list |
mcp-server-<name>.log | That one server's own output on stderr | A server shows up, then errors or vanishes |
main.log | The app itself, including config validation | The app will not start, or your config seems ignored |
claude.ai-web.log | The chat window | The interface misbehaves, not a tool |
cowork_vm_node.log | The sandbox Cowork runs in | Cowork tasks fail to start |
Old copies roll over to main1.log, main2.log and so on. Always check the date on the last lines before you trust what a file says: an old file can sit in the folder long after the app stopped writing to it.
How do I watch the MCP logs live?
Start the command, then quit and reopen Claude Desktop in another window, and you see each server's startup as it happens.
# macOS
tail -n 20 -F ~/Library/Logs/Claude/mcp*.log
# Linux
tail -n 20 -F ~/.config/Claude/logs/mcp*.logOn Windows, in PowerShell:
Get-Content "$env:APPDATA\Claude\logs\mcp.log" -Tail 20 -WaitQuitting means quitting. Closing the window leaves the app running and nothing gets reread. Use the tray icon on Windows or Command + Q on a Mac.
What do the common errors in mcp.log mean?
Each line starts with a timestamp, a level and the server's name in brackets, so search for the name you gave the server in the config.
`spawn npx ENOENT`, or `spawn node ENOENT`. Claude Desktop could not find the command. It does not load your shell profile, so a node installed through nvm or a version manager is invisible to it. Put the full path to the binary in command.
`Server disconnected` straight after start. The server launched and then exited. The reason is almost never in mcp.log. Open mcp-server-<name>.log and read the last few lines: a missing environment variable, a wrong path in args, or a package that failed to install.
`MCP error -32001: Request timed out`. The server is running but did not answer in time. Slow first runs of npx -y are a common cause, because the package downloads on launch. Running it once in a terminal first usually clears it.
Nothing about your server at all. Claude Desktop never tried to start it, which means it never read your entry. That is a config problem, not a server problem: invalid JSON, the wrong copy of the file on Windows, or the app not fully quit. main.log sometimes says which.
`${APPDATA}` appearing inside a path. The variable was not expanded. The MCP guide's fix is to add the expanded value, for example "APPDATA": "C:\\Users\\you\\AppData\\Roaming\\", to that server's env block.
Why is there no log for my remote MCP server?
Because there is nothing local to log. mcp-server-<name>.log captures a server's stderr, and only a server Claude Desktop starts on your machine over stdio has one. The MCP guide says it plainly: for servers using Streamable HTTP, stderr is not captured by the client.
So for a server with an HTTPS address, added under Settings, Connectors, look in mcp.log for the connection attempt and the HTTP status, and look on the server for the rest. A 401 means the sign-in or token is no longer accepted, a 404 usually means the URL path is wrong, and a timeout means the server never answered.
This is the case for a shared notes vault. Baalda, a team second brain built on plain markdown files that several people edit at once, serves each vault over MCP at /api/mcp. Each person connects with their own login or their own token from Vault settings, MCP, and the assistant gets the same folder permissions as that person. That has a useful side effect when you read the logs: a 401 in one person's mcp.log points at that one person's token, not at the vault, and revoking or reissuing it fixes only them. Connecting Claude Desktop to a vault covers the setup, and what a team second brain is covers why the notes live there in the first place.
What the logs cannot tell you is whether the assistant read the right note. A clean mcp.log means the connection works. It says nothing about the content.
Can I see more than the logs show?
Yes. Claude Desktop can open Chrome DevTools on its own window. Create a file called developer_settings.json containing {"allowDevTools": true}:
# macOS
echo '{"allowDevTools": true}' > ~/Library/Application\ Support/Claude/developer_settings.json# Windows
'{"allowDevTools": true}' | Set-Content "$env:APPDATA\Claude\developer_settings.json"Restart the app, then press Command + Option + I on a Mac or Ctrl + Alt + I on Windows. Two DevTools windows open, one for the content and one for the title bar. The Console panel shows client errors and the Network panel shows the messages going to and from each server.
For testing a server on its own, outside Claude Desktop, the MCP Inspector is faster than reading logs at all. If the server you are debugging is the official filesystem one, the MCP filesystem server post covers why it exits on start and what its flags do.