Start with Doctor
If you set up with the Earnie CLI, run doctor first. It checks the installation without changing anything:- 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
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 HTTP401. 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?
- Check the key’s permissions and projects on Settings → API keys. See Managing Keys.
- Check the CLI’s own reference for setup, doctor, and uninstall.