Opik MCP Server logo

Opik MCP Server

by comet-ml

Opik MCP Server is an open-source Model Context Protocol (MCP) implementation for the Opik platform. It provides a unified interface for interacting with Opik's capabilities, supporting multiple transport mechanisms for flexible integration.

View on GitHub

Last updated: N/A

What is Opik MCP Server?

Opik MCP Server is an open-source implementation of the Model Context Protocol for the Opik platform. It provides a unified interface for interacting with Opik's capabilities, supporting multiple transport mechanisms for flexible integration into various environments.

How to use Opik MCP Server?

To use Opik MCP Server, clone the repository, install dependencies, configure the .env file, and start the server using either stdio or SSE transport. For IDE integration, configure the IDE (e.g., Cursor) with the appropriate command and arguments to connect to the server.

Key features of Opik MCP Server

  • Prompts Management

  • Projects/Workspaces Management

  • Traces

  • Metrics

Use cases of Opik MCP Server

  • IDE Integration: Seamlessly integrate with Cursor and other compatible IDEs

  • Unified API Access: Access all Opik features through a standardized protocol

  • Platform Management: Manage prompts, projects, traces, and metrics through a consistent interface

  • Remote Access: Enables remote access and multiple simultaneous clients over HTTP using SSE transport

FAQ from Opik MCP Server

What is MCP?

MCP stands for Model Context Protocol. It provides a standardized way to interact with LLM tools.

What transport options are available?

The server supports Standard Input/Output (stdio) and Server-Sent Events (SSE).

Is SSE transport production-ready?

No, SSE transport is currently experimental and untested. Stdio transport is recommended for production use.

How do I integrate with Cursor IDE?

Create a .cursor/mcp.json file in your project directory with the appropriate configuration, including the path to the Node.js executable, the path to the opik-mcp installation, and your Opik API key.

Where can I find the API documentation?

The API documentation can be found in the docs/api-reference.md file.