RubricHQ MCP Server
The RubricHQ MCP server connects your AI assistant to your RubricHQ workspace through the Model Context Protocol. Once it’s connected, you can ask your assistant to do anything you’d do in the dashboard, in plain words:
- “Create five scenarios that try to get my support agent to skip identity checks.”
- “Run the smoke suite against Acme Support and tell me why it failed.”
- “Which production calls failed yesterday, and what went wrong?”
- “Ask Co-Pilot which agent has the worst latency this week.”
The assistant picks the right RubricHQ tools, runs them, and explains the results: transcripts, metric verdicts, pass rates and Co-Pilot answers.
The server is published on npm as @rubrichq/mcp-server. It runs on your computer and talks to api.rubrichq.io with your API key. You need Node.js 20 or later.
Set up
Create an API key
In RubricHQ, open the workspace you want to use, then go to Settings → API Keys → Create key. Copy the key; it’s shown only once.
An API key belongs to one workspace, so the key you choose decides which workspace your assistant works in. See Workspaces.
Add the server to your assistant
Claude Code
Claude Desktop
Cursor
Codex
VS Code
Other clients
Check it with claude mcp list, or type /mcp inside Claude Code.
Check that it works
Ask your assistant:
You should get your workspace’s agents back. If not, see Troubleshooting.
What you can do
Example prompts
Write a test suite from an agent's prompt
Run a suite and explain the failures
Many clients also offer this as a ready-made prompt: Test an agent (test_agent).
Review production calls
Also available as the ready-made prompt Review production calls (review_production_calls).
Create a metric and try it on past calls
Ask Co-Pilot
Workspaces
Every tool works in the workspace your API key was created in. Nothing else can be reached by default.
- To use another workspace, ask for it by ID (“list agents in workspace 44”). This works only if the person who created the key is a member of that workspace; otherwise RubricHQ answers “not found”.
- Co-Pilot always answers for the key’s own workspace.
- Working in several workspaces regularly? Add the server once per workspace under different names, each with a key from that workspace, for example
rubrichq-acmeandrubrichq-globex.
Credits and safety
- Tools that place calls or run AI evaluation spend credits: running scenarios and suites, re-scoring, sending production calls and asking Co-Pilot. Your assistant sees this in each tool’s description and should tell you before it starts something large.
- If your workspace runs out of credits, nothing is started and nothing is charged. Your assistant tells you to add credits under Settings → Billing. See Troubleshooting.
- Deleting or archiving is marked as destructive, so clients that support it ask you to confirm first.
- Want the assistant to look but never change anything? Turn on read-only mode.