Skip to main content
The ZeroEval MCP server lets AI agents inspect traces, manage judges and prompts, submit feedback, run optimizations, and deploy to production, all without leaving the agent context. It speaks the Model Context Protocol, so any MCP-compatible client (Cursor, Claude Code, Windsurf, etc.) can connect directly.

Setup

The fastest way to get started is to point your MCP client at the hosted server. No installation required.

Cursor

Add this to your Cursor MCP settings (.cursor/mcp.json):

Claude Code

Other MCP clients

Any client that supports HTTP transport works. Set the server URL to https://mcp.zeroeval.com/mcp and pass your project API key in the Authorization: Bearer <key> header.
Get your project API key from the ZeroEval dashboard under Settings → API Keys.

Resources

The server exposes two MCP resources for introspection:

Tools

Read tools

Read tools are safe to call at any time. They do not modify state.

Write tools

All write tools require confirm: true in the request and are annotated with destructiveHint: true so MCP clients can prompt for user approval before calling.

Deploy

Production deploys always require two steps:
  1. Preview: Call preview-optimization-deploy with the run ID. This verifies the run succeeded, summarizes the candidate vs current production, and returns a time-limited confirmation receipt.
  2. Deploy: Call deploy-optimization-run with confirm: true and the receipt from preview. The server re-reads current state and rejects the deploy if anything drifted since the preview.

Proposal tools

Proposal tools are read-only helpers that gather evidence or prepare the exact next mutating call without executing it.

Tracing quickstart

Get your first trace in under 5 minutes

Prompt setup

Add ze.prompt() to your codebase

Judges

How calibrated judges evaluate your production traffic

CLI

Manage traces, prompts, and judges from your terminal