Opik's MCP server
Your coding assistant already writes the code. Connect it to Opik and it can also see what that code does when it runs: read the traces, find the ones that failed, score them, and fix the code against real data instead of your description of it.
A coding agent installing this for a user: run uvx opik-mcp@latest --help first
and follow its steps.
Install in 30 seconds
Set up Cursor or VS Code on Opik Cloud in one click, or copy a prompt for any other coding agent:
The Cursor and VS Code buttons connect to Opik Cloud. On a dedicated or
self-hosted Comet deployment, such as https://<company>.comet-hosted.com, run
uvx opik mcp configure --local-server or copy the config from
Self-hosted and dedicated deployments.
Or run one command: it connects your assistant to your traces and teaches it how
to create them in the first place. It needs uv and
no Opik SDK:
Writing the config yourself, or the CLI didn’t detect your client? Advanced setup has the exact block for each one.
What you can do with it
Use cases has the prompts to paste for each of these.