==================
/// MCP ///
/// OPI ///
==================
[server:online]
[protocol:ready]opik-mcp
by comet-ml
Model Context Protocol (MCP) implementation for Opik enabling seamless IDE integration and unified access to prompts, projects, traces, and metrics.
142
16
Open SourceInstallation
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-mcp3. Install dependencies
npm install # or: yarn install / pnpm install4. 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 80806. Start the MCP server
npm start # alias for: node dist/index.js7. (Optional) Run tests
npm testDocker quick-start (optional)
docker build -t opik-mcp .
docker run -e COMET_API_KEY=<key> -p 8080:8080 opik-mcpDocumentation
License: Apache License 2.0
Updated 7/30/2025