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:
parent
c6f98ff4b7
commit
88fa18b1d1
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
@ -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"`
|
* 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`
|
* 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
|
### "Client" mode
|
||||||
|
|
||||||
Run the following on the command line (not from an MCP server):
|
Run the following on the command line (not from an MCP server):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue