Opik MCP Server

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPIK_API_KEYYesYour Opik API key
OPIK_API_BASE_URLNoThe base URL for the Opik APIhttps://www.comet.com/opik/api
OPIK_WORKSPACE_NAMENoThe name of your Opik workspacedefault

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
workspace-info
projects-list

Tools

Functions exposed to the LLM to take actions

NameDescription
list-prompts

Get a list of Opik prompts

create-prompt

Create a new prompt

create-prompt-version

Create a new version of a prompt

get-prompt-by-id

Get a single prompt by ID

update-prompt

Update a prompt

delete-prompt

Delete a prompt

list-projects

Get a list of projects/workspaces

get-project-by-id

Get a single project by ID

create-project

Create a new project/workspace

update-project

Update a project

delete-project

Delete a project

list-traces

Get a list of traces

get-trace-by-id

Get a single trace by ID

get-trace-stats

Get statistics for traces

get-metrics

Get metrics data

get-server-info

Get information about the Opik server configuration

get-opik-help

Get contextual help about Opik Comet's capabilities

get-opik-examples

Get examples of how to use Opik Comet's API for specific tasks

get-opik-tracing-info

Get information about Opik's tracing capabilities and how to use them