diff --git a/docs/doc/developer/mcp/setup.mdx b/docs/doc/developer/mcp/setup.mdx index 152e99305d8..f28a04a90e0 100644 --- a/docs/doc/developer/mcp/setup.mdx +++ b/docs/doc/developer/mcp/setup.mdx @@ -52,7 +52,8 @@ The fastest way to get started — no installation required. **Config file location:** - macOS: `~/Library/Application Support/Claude/claude_desktop_config.json` - - Windows: `%APPDATA%\Claude\claude_desktop_config.json` + - Windows PowerShell: `$env:APPDATA\Claude\claude_desktop_config.json` + - Windows cmd: `%APPDATA%\Claude\claude_desktop_config.json` Go to **Cursor Settings → MCP** and add a new server: diff --git a/docs/doc/developer/mcp/troubleshooting.mdx b/docs/doc/developer/mcp/troubleshooting.mdx index 9fa880985ec..133dffb7356 100644 --- a/docs/doc/developer/mcp/troubleshooting.mdx +++ b/docs/doc/developer/mcp/troubleshooting.mdx @@ -86,8 +86,8 @@ description: "Debug and fix common MCP connection issues" # macOS tail -n 20 -f ~/Library/Logs/Claude/mcp-server-omi.log - # Windows - type %APPDATA%\Claude\logs\mcp-server-omi.log + # Windows PowerShell + Get-Content "$env:APPDATA\Claude\logs\mcp-server-omi.log" -Tail 20 -Wait ``` diff --git a/mcp/README.md b/mcp/README.md index da85d9e293d..d608a9f22f6 100644 --- a/mcp/README.md +++ b/mcp/README.md @@ -98,8 +98,17 @@ cd path/to/servers/src/omi npx @modelcontextprotocol/inspector uv run mcp-server-omi ``` -Running `tail -n 20 -f ~/Library/Logs/Claude/mcp-server-omi.log` will show the logs from the server and may -help you debug any issues. +To follow Claude Desktop logs while debugging: + +```bash +# macOS +tail -n 20 -f ~/Library/Logs/Claude/mcp-server-omi.log +``` + +```powershell +# Windows PowerShell +Get-Content "$env:APPDATA\Claude\logs\mcp-server-omi.log" -Tail 20 -Wait +``` ## Advanced