Skip to content
Install
mcp-registry/opik-mcp
opik-mcp logo

opik-mcp

Author: comet-ml

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

Stars: 142

Forks: 16

License: Apache License 2.0

Category: Open Source

Overview

Installation

1. Prerequisites
• Node.js ≥18 and npm ≥9 (or Yarn / pnpm).
• A valid COMET_API_KEY (required at runtime to reach Comet services).
2. Clone the repository
git clone https://github.com/comet-ml/opik-mcp.git cd opik-mcp
3. Install dependencies
npm install # or: yarn install / pnpm install
4. Build the TypeScript sources
npm run build
This compiles TypeScript in src/ into JavaScript in dist/.
5. Configure environment
Create a .env file (or export variables directly):
COMET_API_KEY=<your-comet-api-key> MCP_PORT=8080 # optional, default 8080
6. Start the MCP server
npm start # alias for: node dist/index.js
7. (Optional) Run tests
npm test
Docker quick-start (optional)
docker build -t opik-mcp . docker run -e COMET_API_KEY=<key> -p 8080:8080 opik-mcp

License: Apache License 2.0
Updated 7/30/2025