The TypeScript MCP server (npm opik-mcp@2.0.x) is deprecated and will
stop serving requests on 2026-11-15. The supported implementation is the
Python server (PyPI opik-mcp), launched via uvx. This guide covers the
two things that change for users: the launch command and the env vars.
In your MCP client config, replace:
with:
{ "command": "uvx", "args": ["opik-mcp@latest"] }If you don't have uv yet, install it once:
curl -LsSf https://astral.sh/uv/install.sh | sh # macOS / Linux
# or: winget install astral-sh.uv # WindowsThat's the whole client-side change. Everything below covers env var renames for users with non-default configs.
| TypeScript (legacy) | Python (current) | Notes |
|---|---|---|
OPIK_API_KEY |
OPIK_API_KEY ✓ |
Unchanged. |
OPIK_API_BASE_URL |
OPIK_URL |
For Opik Cloud, leave unset. For self-hosted, set to the base URL of your install. |
OPIK_WORKSPACE_NAME |
COMET_WORKSPACE |
Aligns with the rest of the Comet SDK. |
OPIK_SELF_HOSTED |
(removed) | Detected from OPIK_URL; no separate flag needed. |
DEBUG_MODE=true |
OPIK_MCP_LOG_LEVEL=DEBUG |
Standard log-level levels (DEBUG, INFO, WARNING, ERROR). |
TRANSPORT |
OPIK_MCP_TRANSPORT |
Same values (stdio, streamable-http). |
STREAMABLE_HTTP_PORT |
OPIK_MCP_PORT |
|
STREAMABLE_HTTP_HOST |
OPIK_MCP_HOST |
|
OPIK_TOOLSETS |
(removed — see below) | Tool surface is fixed in the Python server. |
The TS server exposed many narrow tools grouped into toolsets (core,
expert-prompts, expert-datasets, metrics, ...). The Python server
consolidates everything into six tools driven by a JSON-Schema dispatcher:
| Python tool | What it does |
|---|---|
read |
Fetch a single entity by id / name / URI (trace, span, project, experiment, prompt, test_suite). |
list |
Page through a collection. |
write |
Mutating operations (scores, comments, prompt versions, experiments, ...) — uses an operation discriminator. |
schema |
Returns the JSON Schema + example payload for any write operation. |
ask_ollie |
Investigative questions, cross-entity synthesis. Returns a thread_id for follow-ups. |
run_experiment |
Launches an experiment over a dataset. |
If you previously referenced toolset names in OPIK_TOOLSETS, you can drop
that variable — there's nothing equivalent to set.
After updating your MCP client config and restarting the host:
- Open the MCP tool palette in your host (Claude Desktop / Cursor / VS Code).
- Confirm you see
read,list,write,schema,ask_ollie,run_experimentinstead of the olderget-trace,list-prompts, etc. - Try one read: ask the assistant "list the first 3 traces in
<your-project>" — it should calllistand return JSON.
- 2026-05-28 — Soft deprecation (npm
deprecatelabel, banner, MCPinstructionsfield). TS server still fully functional. - 2026-07-23 — Loud deprecation (tool description suffixes, per-tool-call notices).
- 2026-10-15 — Final 30-day warning version.
- 2026-11-15 — TS server
opik-mcp@2.1.0ships as a stub: prints the migration message and exits without serving requests.
After 2026-11-15 you must be on uvx opik-mcp@latest for the integration
to work.
- File an issue at https://github.com/comet-ml/opik-mcp/issues.
- Sunset policy:
DEPRECATED.md.
{ "command": "npx", "args": ["-y", "opik-mcp"] }