Judgment plugin
The official Judgment plugin for Cursor, Claude Code,
and Codex. One repo installs:
-
The Judgment MCP server at https://mcp.judgmentlabs.ai: read Issues,
traces, judges, labels, datasets, and test runs from your editor. Trace
queries go through discover_schema and sql_query. The same server can
read current docs with search_docs and read_doc_page, and server
procedures with get_skill.
-
Skills under skills/. Each skill is a SKILL.md that points at the
docs:
| Skill | When to use it |
|---|
judgment-setup | Integrate Judgment, add tracing, and check first traces and trace health. |
judgment-mcp | Query traces and other live project data from the editor. |
judgment-issues | Work an open Issue, a Fix with handoff, or a failure cited in traces. |
judgment-judges-and-tests | Create judges, use labels as indexes, build datasets, and run test suites. |
Full tool list: MCP tools.
Connect and auth: Connect your coding agent.
Install
Cursor
Install this Git repository so Cursor loads the skills and the MCP server
together.
Team marketplace
On Teams and Enterprise, an admin adds the marketplace:
- Open the Cursor dashboard, then Plugins & MCPs.
- Under Team Marketplaces, select Add Marketplace.
- Select Import from Repo and paste
https://github.com/JudgmentLabs/judgment-plugin.
- Add the
judgment plugin. Set installation to Default Off,
Default On, or Required.
- Save. Turn on Auto Refresh if you want pushes to update the marketplace.
With Default Off, developers open Customize and install judgment.
Default On and Required install it for them. Each developer then opens
the judgment MCP server and completes Sign in in the browser.
Your own Cursor
In agent chat, run:
/add-plugin https://github.com/JudgmentLabs/judgment-plugin
Install judgment from Customize, then Sign in on the judgment MCP
server.
Local checkout
Copy this repo to ~/.cursor/plugins/local/judgment, then run Developer:
Reload Window. On Enterprise, an admin turns on Allow Local Plugin
Imports under Dashboard > Settings > Security & Identity >
Marketplace and Plugins. Use a real copy, because a symlink loads only when
its target stays inside ~/.cursor/plugins/local.
Claude Code
claude plugin marketplace add JudgmentLabs/judgment-plugin
claude plugin install judgment@judgment-plugin
Start a new session, run /mcp, select plugin:judgment:judgment, and select
Authenticate.
If you previously added the Judgment MCP by hand, remove it so you don't end
up with two servers:
claude mcp remove judgment
claude mcp remove judgment-mcp
Codex
codex plugin marketplace add JudgmentLabs/judgment-plugin
Open /plugins in Codex, select the judgment marketplace, and select
Install plugin. To install from the shell instead, run
codex plugin add judgment@judgment. Start a new thread, then sign in:
codex mcp login judgment
Authentication
The shipped .mcp.json contains only the production server URL. OAuth is the
way to sign in. On first use the client opens a browser, you authorize
Judgment, and the client stores the access token. No API key is committed in
this repo.
During OAuth, select the organization and leave Project set to All
Projects in This Organization. A project-specific grant hides cross-project
discovery tools.
API key when OAuth is unavailable
Use a personal API key from Settings > Personal API Keys. MCP doesn't
accept ingest API keys. Copy the organization ID, then export both values:
export JUDGMENT_API_KEY="<your-personal-api-key>"
export JUDGMENT_ORG_ID="<your-organization-id>"
The key has the same permissions as your role. A Viewer key can read. Writes
need Developer. The client sends Authorization: Bearer <key> and pins the
connection to one organization with X-Organization-Id.
Cursor
Add this to ~/.cursor/mcp.json (every workspace) or .cursor/mcp.json (one
project):
{
"mcpServers": {
"judgment": {
"url": "https://mcp.judgmentlabs.ai",
"headers": {
"Authorization": "Bearer ${env:JUDGMENT_API_KEY}",
"X-Organization-Id": "${env:JUDGMENT_ORG_ID}"
}
}
}
}
Claude Code
Run:
claude mcp add --transport http judgment https://mcp.judgmentlabs.ai \
--header "Authorization: Bearer $JUDGMENT_API_KEY" \
--header "X-Organization-Id: $JUDGMENT_ORG_ID"
Codex
Add this to ~/.codex/config.toml: