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

Hi everyone!

This issue appears to be related to the mcp-remote library rather than the Asana MCP server itself. I ran into similar problems when connecting to the MCP server with this tool via npx, and it only worked for me after explicitly specifying the package version (0.1.29).

Since I couldn’t directly reproduce the same issue, my best guess is that it’s either a version-specific bug or related to this GitHub issue. I’d recommend trying the following troubleshooting steps:

  1. Run
    npx mcp-remote https://mcp.asana.com/sse
    and see what happens. If you encounter an error, try explicitly specifying the version, for example:
    npx mcp-remote@0.1.29 https://mcp.asana.com/sse

  2. Remove the ~/.mcp-auth directory and try authenticating again.

  3. Check whether mcp-remote is installed globally and which version you have by running: npm ls -g If it is installed globally, try removing it and then rerun the npx command.

If none of the above helps, it may be best to raise the issue directly with the mcp-remote team on GitHub. Alternatively, feel free to follow up here and I can check with our MCP team to see if they’re aware of anything or have additional recommendations.

Thanks,
Dominik