mcp-server-cloudflare
mcp-server-cloudflare copied to clipboard
Token expired and unhandled exception
╭ Checking for existing Wrangler auth info Step 1 of 3
│
├ If anything goes wrong, try running 'npx wrangler@latest login' manually and retrying.
│
├ Wrangler auth info loaded!
│
├ Access token expired, refreshing...
[DEBUG 2025-03-08T20:50:13.267Z] Unhandled rejection: Error: Failed to refresh access token
Then it fails.
If you follow guidance to run npx wrangler@latest login — and then re-run — does it work?
yep that fixes it but should probably end gracefully.
I have the similar issue but for accessing the cloudflare API, currently zones only return "testMode", however workers works perfectly.
This is relevant to the local stdio based server. We are now maintaining the remote MCP server, which shouldn't have this issue.