Troubleshooting
Connection problems
RubricHQ doesn't appear in my assistant
-
Restart the client completely. Claude Desktop in particular has to be quit, not just closed.
-
Check the config is valid JSON. A missing comma or brace stops every server in the file from loading.
-
Check Node.js with
node --version. You need version 20 or later. -
Try the server by hand. In a terminal, run:
It should print
[rubrichq-mcp] v0.1.0 connected to https://api.rubrichq.io(with the current version) and keep running (press Ctrl+C to stop). An error here tells you what’s wrong. -
Claude Desktop logs:
~/Library/Logs/Claude/mcp-server-rubrichq.logon macOS,%APPDATA%\Claude\logs\mcp-server-rubrichq.logon Windows.
"spawn npx ENOENT" or "command not found: npx"
Your client can’t find Node.js. Install it from nodejs.org and restart the client. If you installed Node with a version manager such as nvm, the client may not see it: use the full path instead, for example "command": "/Users/you/.nvm/versions/node/v22.11.0/bin/npx". Find it with which npx.
"RUBRICHQ_API_KEY is not set"
The key isn’t reaching the server. Make sure it’s inside the env block of the RubricHQ entry, spelled exactly RUBRICHQ_API_KEY.
"Invalid token" (401)
The key is wrong, was revoked, or its workspace was archived. Create a new key under Settings → API Keys, update your config and restart the client.
I'm seeing the wrong workspace
The server uses the workspace the API key was created in. Create a key in the workspace you want, or see Several workspaces.
Co-Pilot answers or waits time out
Co-Pilot answers can take up to a few minutes, and some clients stop waiting for a tool sooner. In Codex, set tool_timeout_sec = 300 (see Codex setup). In Claude Code, start it with MCP_TOOL_TIMEOUT=300000 claude.
Waiting for runs is never a problem: wait_for_run and wait_for_test_run return after their own time limit with finished: false, and your assistant simply waits again.
What errors mean
When something fails, your assistant gets a plain explanation from RubricHQ and passes it on. The common ones:
Out of credits
RubricHQ checks credits before starting anything that costs them. What you see depends on when credits run out:
- Before starting a scenario, suite, re-score or Co-Pilot question: the request is refused with “out of credits”, and nothing is charged.
- During a suite: runs that already started finish normally. Runs that couldn’t start are marked failed with the reason “insufficient credits — no call was placed”, and the suite’s verdict lists them. Re-run those scenarios after adding credits.
- When sending a production call: the call is still saved, but it isn’t scored. Your assistant gets an
attentionnote saying so. Re-score it withrerun_call_metricsafter adding credits.
Your assistant also gets an attention note whenever a run or call failed, a metric couldn’t be scored, or a wait ended before the result was ready, so problems aren’t missed in long results.
Still stuck?
Email support@rubrichq.io with the error message and the name of your client.