Skip to main content
Glama
coval-ai

Coval MCP Server

Official
by coval-ai

Coval MCP Server

npm version

The official Model Context Protocol server for Coval - the AI evaluation platform.

This MCP server allows AI assistants like Claude Desktop and Cursor to interact with Coval's evaluation APIs, enabling you to:

  • Launch and monitor evaluation runs

  • Manage AI agents and test sets

  • Retrieve evaluation metrics and results

Installation

npx @covalai/mcp-server

Quick Start

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "coval": {
      "command": "npx",
      "args": ["-y", "@covalai/mcp-server"],
      "env": {
        "COVAL_API_KEY": "your_api_key_here"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "coval": {
      "command": "npx",
      "args": ["-y", "@covalai/mcp-server"],
      "env": {
        "COVAL_API_KEY": "your_api_key_here"
      }
    }
  }
}

Remote Connection (Alternative)

{
  "mcpServers": {
    "coval": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.coval.dev/mcp",
        "--header",
        "X-API-KEY: ${COVAL_API_KEY}"
      ],
      "env": {
        "COVAL_API_KEY": "your_api_key_here"
      }
    }
  }
}

Get your API key from app.coval.dev/settings

Available Tools

Tool

Description

list_agents

List all agents in your workspace

get_agent

Get details of a specific agent

list_runs

List evaluation runs

get_run

Get details of a specific run

create_run

Start a new evaluation run

list_test_sets

List available test sets

get_test_set

Get test set details

list_test_cases

List test cases in a test set

create_test_case

Add a test case to a test set

get_metrics

Get metrics for a run

list_personas

List available personas

Example Usage

Once connected, you can ask Claude things like:

"Show me my recent evaluation runs"

"List all my agents"

"Run an evaluation of my customer-support-agent against the billing-inquiries test set"

"What are the metrics for run abc123?"

Development

# Install dependencies
npm install

# Build
npm run build

# Test locally with MCP Inspector
npm run inspector

# Run tests
npm test

Environment Variables

Variable

Required

Default

Description

COVAL_API_KEY

Yes

-

Your Coval API key

COVAL_API_BASE_URL

No

https://api.coval.dev/v1

API base URL

LOG_LEVEL

No

info

Logging level

Documentation

License

MIT

Support

Install Server
A
license - permissive license
A
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/coval-ai/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server