Document ~/.mcp-auth (#11)

To help people who get stuck with `mcp-remote`

Co-authored-by: Jeremy Morrell (Cloudflare) <jmorrell@cloudflare.com>
This commit is contained in:
Brendan Irvine-Broque 2025-03-31 07:58:18 -07:00 committed by GitHub
parent c6f98ff4b7
commit 88fa18b1d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -169,6 +169,17 @@ this might look like:
* For bash on WSL:<br/>`tail -n 20 -f "C:\Users\YourUsername\AppData\Local\Claude\Logs\mcp.log"`
* Powershell: <br/>`Get-Content "C:\Users\YourUsername\AppData\Local\Claude\Logs\mcp.log" -Wait -Tail 20`
## Debugging
If you encounter the following error, returned by the `/callback` URL:
```
Authentication Error
Token exchange failed: HTTP 400
```
You can run `rm -rf ~/.mcp-auth` to clear any locally stored state and tokens.
### "Client" mode
Run the following on the command line (not from an MCP server):