Skip to main content
Most MCP problems fall into four groups: the client can’t reach Earnie, Earnie rejects the key, the client’s configuration is out of step, or a tool refuses a request. This page covers each, using the messages Earnie actually returns.

Start with Doctor

If you set up with the Earnie CLI, run doctor first. It checks the installation without changing anything:
Doctor reports:
  • whether the CLI is compatible with your Earnie deployment
  • whether your key is valid, and where it came from (the stored login or EARNIE_API_KEY)
  • the project it would use
  • each Earnie tool’s visibility, and why a tool is missing if it is
It ends with a suggested fix, such as the earnie mcp setup command to run. To check only the connection and key, without a repository, run earnie mcp doctor --global.

Connection Problems

Authentication Problems

Earnie rejects a missing or invalid key with HTTP 401. The response names the reason: If a client keeps retrying with a bad key, Earnie starts answering 429 — “too many authentication attempts”. Fix the key, then wait for the time given in the Retry-After header.
Using Cursor’s install link? Its configuration reads the key from an environment variable named EARNIE_API_KEY. If that variable isn’t set in the environment Cursor starts from, Cursor sends no key. Set the variable, then restart Cursor.

Configuration Problems

Doctor reports these when it finds the client’s configuration out of step with the CLI:
Windows and WSL use different home directories. The Windows build of earnie, including when run from Git Bash, writes to %USERPROFILE%, for example %USERPROFILE%\.claude.json. A WSL build writes to your Linux home directory, which Claude Code and VS Code on Windows don’t read. If setup can’t find a client you expect, check which earnie binary ran.

Tool Problems

Still Stuck?

What’s Next

With your agent connected, every review it runs is recorded as a Self-check. See Self-Checks to learn how to read one.