MCP server keeps trying to re-auth while I'm away and then timing out

Hi there, I’ve had the aforementioned problem quite a few times since I started dabbling with the MCP server (the day it came back online after the recent maintenance).

What appears to be happening is that, sometime overnight when I’m not at my computer, the MCP server is re-requesting authorisation and opening up the browser page that does this. Then when I get back to my computer, the page doesn’t actually work to re-auth the server, presumably because the request has long since timed out. When I then try to use the MCP server, every tool use just hangs and eventually times out; it doesn’t open the auth page in the browser again.

I have managed to work around this by manually deleting the ~/.mcp-auth directory (I’m on Mac) which then correctly opens the auth page on the next use, and things work fine from there.

OS: MacOS Sequoia 15.5 (24F74)
IDE: Cursor 1.1.3
MCP configuration:

    [...]
    "asana": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.asana.com/sse"
      ]
    },
    [...]

I tried to find a bug reporting area but this is the closest thing I could find, so here you go.

1 Like

Hello @Fane - Welcome to our community forum!

I’ve gone ahead and moved your post into our Developers/API category and also labeled this post as a bug.

Thank you!

1 Like