Opik Mcp
Model Context Protocol (MCP) implementation for Opik enabling seamless IDE integration and unified access to prompts, projects, traces, and metrics.
Overview
Opik MCP Server is an open-source implementation of the Model Context Protocol for the Opik platform, designed to query and analyze telemetry and observability metrics, traces, and logs from LLM applications.
To use Opik MCP Server, clone the repository, install dependencies, configure your environment, and start the server using either standard input/output or Server-Sent Events transport.
- Prompts Management: Create, list, update, and delete prompts. - Projects/Workspaces Management: Organize and manage projects efficiently. - Traces: Track and analyze trace data for better insights. - Metrics: Gather and query metrics data for performance monitoring.
- Integrating with IDEs like Cursor for seamless development.
- Managing LLM applications and their performance metrics.
- Analyzing telemetry data for debugging and optimization.
Add to your AI client
Use these steps to connect Opik Mcp in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"opik-mcp-comet-ml": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-opik-mcp-comet-ml"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"opik-mcp-comet-ml": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-opik-mcp-comet-ml"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"opik-mcp-comet-ml": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-opik-mcp-comet-ml"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"opik-mcp-comet-ml": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-opik-mcp-comet-ml"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"opik-mcp-comet-ml": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-opik-mcp-comet-ml"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"opik-mcp-comet-ml": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-opik-mcp-comet-ml"
]
}
}
}FAQ
Can Opik MCP Server be used with any IDE?
Yes! It supports integration with various IDEs, including Cursor.
Is the SSE transport stable for production use?
Currently, SSE transport is experimental; for production, it's recommended to use standard input/output transport.
How can I manage my projects and prompts?
You can manage them through the unified API access provided by Opik MCP Server.