Skip to navigation

Troubleshooting

Connection problems, errors and what your assistant's messages mean.

Connection problems

  • 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:

    RUBRICHQ_API_KEY=your_api_key npx -y @rubrichq/mcp-server

    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.log on macOS, %APPDATA%\Claude\logs\mcp-server-rubrichq.log on Windows.

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.

The key isn’t reaching the server. Make sure it’s inside the env block of the RubricHQ entry, spelled exactly RUBRICHQ_API_KEY.

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.

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 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:

MessageWhat happenedWhat to do
Out of credits (402)The workspace has no credits left. Nothing was started and nothing was charged.Add credits under Settings → Billing, then ask again.
Read-only account (403)The workspace’s plan or trial has ended, so it can be read but not changed.Upgrade under Settings → Billing.
Not on your plan (403)That feature isn’t included in your plan.Upgrade, or contact us.
Plan limit reachedYou’ve hit a limit such as the number of agents or metrics on an agent.Remove something you don’t need, or upgrade.
Not found (404)The ID doesn’t exist in this workspace, or belongs to a workspace this key can’t reach.Check the ID, or the workspace (see above).
Not found in this workspace (422)You referenced an agent, metric or persona from another workspace when creating or changing a scenario. Nothing was saved.Use IDs from the same workspace.
Invalid or missing fields (422)A required field is missing or a value isn’t allowed. The message names the field.Your assistant usually fixes this itself and retries.
Busy, try again (429)Too many requests, or Co-Pilot is already answering in this chat.Wait a moment and try again.

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 attention note saying so. Re-score it with rerun_call_metrics after 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.