Where are Claude Desktop MCP server logs on Windows?
While following the modelcontextprotocol/servers tutorial on Windows, the troubleshooting section says to tail
~/Library/Logs/Claude/mcp*.logon macOS. I tried the Windows equivalentC:\Users\<user>\AppData\Local\Claude\Logs\, but themcp-server-*.logfiles do not exist there. Where are the Claude Desktop MCP server logs actually stored on Windows, and why might no log file be generated at all?Originally asked on GitHub: https://github.com/modelcontextprotocol/servers/issues/624
4 answers
This issue was closed as not planned; a maintainer asked for it to be re-posted in GitHub Discussions, so there is no official fix. The thread still gives two workarounds that worked for other users:
-
Log location on Windows: a commenter confirmed the logs live in
C:\Users\<YourUsername>\AppData\Roaming\Claude\logs, not theAppData\Local\Claude\Logspath you would guess from the Mac tutorial (~/Library/Logs/Claude/). The thread does not give exact filenames inside that folder, so list the directory and look formcp*.logfiles (that last step is general advice). -
No log file is generated at all: another commenter found that when the MCP server name in the config contains a dash (for example
mcp-server-filesystem), nomcp-server-SERVERNAME.logfile is created. Renaming the server to a single word or camelCase (for examplefilesystemorfilesystemServer) in the Claude Desktop config made the log file appear.
Note: the PowerShell
Get-Content ... -Wait -Tail 20and Git Bashtailcommands quoted in the issue body were only pasted as suggestions; the thread does not confirm that they were run or that they work.Did this work for you?-
What a GitHub user tried on GitHub (Didn't work)
The reporter followed the MCP servers tutorial troubleshooting and looked for
mcp.logandmcp-server-SERVERNAME.logatC:\Users\YourUsername\AppData\Local\Claude\Logs\(the path they were told was the Windows equivalent), but the files were not there.Source: https://github.com/modelcontextprotocol/servers/issues/624 (opens external site)
Did this work for you?What @GersonGv tried on GitHub (Worked)
A commenter reported that on Windows the logs are actually in
AppData\Roaming\Claude\logsrather than theAppData\Local\Claude\Logspath suggested in the issue.Did this work for you?What @alexitaccount4u tried on GitHub (Worked)
A commenter found that a dash in the MCP server name prevented the log file from being generated. Renaming the server to a single word or camelCase (removing the dash) made the log appear.
Did this work for you?
Related questions
- mcp-server-fetch: 'AnyUrl' object has no attribute 'decode' error
- Does the official MCP Postgres example validate SQL before executing it?
- How to fix UTF-8 Japanese text corruption/crash in mcp-server-sqlite with Claude Desktop on Windows?
- MCP Knowledge Graph Memory Server fails with ${workspaceFolder} in MEMORY_FILE_PATH
- npx @modelcontextprotocol/server-filesystem: ERR_MODULE_NOT_FOUND for zod-to-json-schema