1. Conduid
  2. Data
  3. Comet-ML/Opik-MCP
MCP server · Data

Comet-ML/Opik-MCP

Model Context Protocol (MCP) implementation for Opik enabling seamless IDE integration and unified access to prompts, projects, traces, and metrics.

85Excellent

Scored 4 hours ago · breakdown

About Comet-ML/Opik-MCP

Comet-ML/Opik-MCP is an MCP server published by comet-ml in the Data category: model Context Protocol (MCP) implementation for Opik enabling seamless IDE integration and unified access to prompts, projects, traces, and metrics. It has been installed 0 times through Conduid.

The repository has 199 stars and 31 forks, with the last commit 5 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Install
npx opik-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Comet-ML/Opik-MCP

Powered by Claude · Grounded in docs

I know everything about Comet-ML/Opik-MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

0.2.300.2.30 · 1 Sep 2026What's Changed Stamp the release version on main builds, not .dev0 by @alexkuzmik in https://github.com/comet-ml/opik-mcp/pull/179 Full Changelog**: https://github.com/comet-ml/opik-mcp/compare/0.2.29...0.2.30
0.2.290.2.29 · 1 Sep 2026What's Changed [OPIK-8186] opik-instrument: eval harness (verify coverage + no false success) by @aswynz in https://github.com/comet-ml/opik-mcp/pull/174 Make a release replayable after a partial failure by @alexkuzmik in…
0.2.240.2.24 · 1 Sep 2026What's Changed feat(skills): namespace published skills under an `opik-` prefix by @alexkuzmik in https://github.com/comet-ml/opik-mcp/pull/171 Full Changelog**: https://github.com/comet-ml/opik-mcp/compare/0.2.23...0.2.24
0.2.230.2.23 · 27 Aug 2026What's Changed feat(ask_ollie): disable the tool everywhere behind a kill switch by @alexkuzmik in https://github.com/comet-ml/opik-mcp/pull/170 Full Changelog**: https://github.com/comet-ml/opik-mcp/compare/0.2.22...0.2.23
0.2.220.2.22 · 26 Aug 2026What's Changed feat(analytics): make hosted identity failures visible (install_id_kind, identity_lookup) by @alexkuzmik in https://github.com/comet-ml/opik-mcp/pull/169 Full Changelog**:…

README

License Node.js Version TypeScript

[!IMPORTANT] This repository ships the MCP server implementation only. We do not currently provide a hosted remote MCP service for Opik. If you run streamable-http remotely, authentication is fail-closed by default.

Why this server

Opik MCP Server gives MCP-compatible clients one interface for:

  • Prompt lifecycle management
  • Workspace, project, and trace exploration
  • Metrics and dataset operations
  • MCP resources and resource templates for metadata-aware flows

Quickstart

1. Run with npx

# Opik Cloud
npx -y opik-mcp --apiKey YOUR_API_KEY

For self-hosted Opik, pass --apiUrl (for example http://localhost:5173/api) and use your local auth strategy.

2. Add to your MCP client

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "opik": {
      "command": "npx",
      "args": ["-y", "opik-mcp", "--apiKey", "YOUR_API_KEY"]
    }
  }
}

VS Code / GitHub Copilot (.vscode/mcp.json):

{
  "inputs": [
    {
      "type": "promptString",
      "id": "opik-api-key",
      "description": "Opik API Key",
      "password": true
    }
  ],
  "servers": {
    "opik-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "opik-mcp", "--apiKey", "${input:opik-api-key}"]
    }
  }
}

Windsurf (raw config):

{
  "mcpServers": {
    "opik": {
      "command": "npx",
      "args": ["-y", "opik-mcp", "--apiKey", "YOUR_API_KEY"]
    }
  }
}

More client-specific examples: docs/ide-integration.md

Run from source

git clone https://github.com/comet-ml/opik-mcp.git
cd opik-mcp
npm install
npm run build

Optional local config:

cp .env.example .env

Start the server:

npm run start:stdio
npm run start:http

Transport modes

Transport Use case Command
stdio Local MCP integration (same machine as client) npm run start:stdio
streamable-http Remote/self-hosted MCP endpoint (/mcp) npm run start:http

Remote auth defaults (streamable-http)

  • Authorization: Bearer <OPIK_API_KEY> or x-api-key is required by default.
  • Workspace is resolved server-side (token map recommended); workspace headers are not trusted by default.
  • In remote mode, request-context workspace takes precedence over tool workspaceName.
  • Missing or invalid auth returns HTTP 401.

Key environment flags:

  • STREAMABLE_HTTP_REQUIRE_AUTH (default true)
  • STREAMABLE_HTTP_VALIDATE_REMOTE_AUTH (default true, except test env)
  • REMOTE_TOKEN_WORKSPACE_MAP (JSON token-to-workspace map)
  • STREAMABLE_HTTP_TRUST_WORKSPACE_HEADERS (default false)

Deep dive: docs/streamable-http-transport.md

Toolsets

Toolsets let you narrow which capabilities are enabled:

  • core
  • integration
  • expert-prompts
  • expert-datasets
  • expert-trace-actions
  • expert-project-actions
  • metrics
  • all (enables all modern toolsets)

Configure via:

  • CLI: --toolsets all
  • Env: OPIK_TOOLSETS=core,expert-prompts,metrics

Details: docs/configuration.md

MCP resources and prompts

  • resources/list exposes static URIs (for example opik://workspace-info)
  • resources/templates/list exposes dynamic URI templates (for example opik://projects/{page}/{size})
  • resources/read supports static and templated URIs
  • prompts/list and prompts/get expose workflow prompts

Development

# Lint
npm run lint

# Test
npm test

# Build
npm run build

# Run precommit checks
make precommit

Documentation

Contributing

Please read CONTRIBUTING.md before opening a PR.

Citation

If you use this project in research, cite:

Comet ML, Inc, Koc, V., & Boiko, Y. (2025). Opik MCP Server. Github. https://doi.org/10.5281/zenodo.15411156

BibTeX:

@software{CometML_Opik_MCP_Server_2025,
  author = {{Comet ML, Inc} and Koc, V. and Boiko, Y.},
  title = {{Opik MCP Server}},
  year = {2025},
  publisher = {GitHub},
  url = {https://doi.org/10.5281/zenodo.15411156},
  doi = {10.5281/zenodo.15411156}
}

Citation metadata is also available in CITATION.cff.

License

Apache 2.0

README mirrored from the source repository 4 hours ago. The original is authoritative.

Questions

About Comet-ML/Opik-MCP

How do I install Comet-ML/Opik-MCP?

Run npx opik-mcp, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Comet-ML/Opik-MCP safe to use with an AI agent?

Its trust score is 85 out of 100 (excellent). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Comet-ML/Opik-MCP still maintained?

Yes — the latest release is 0.2.30 (1 Sep 2026), and the last commit was 5 months ago. The repository has 199 stars and 0 open issues.