The Opik MCP Server is a Model Context Protocol implementation that provides a unified interface for managing Opik resources through various transport mechanisms:
Prompt Management: Create, list, update, delete prompts, and manage versions
Project/Workspace Management: Create, list, update, and delete projects
Trace Management: List traces, retrieve details, and access statistics
Metrics: Query metrics data with filtering options
Server Information: Retrieve configuration details
Contextual Help: Access help topics and examples
Used for configuration through environment variables in a .env file
Hosts the repository and provides licensing information
Provides a Makefile for common operations like testing and starting the server
Used as the runtime environment for the MCP server
Implements pre-commit hooks to ensure code quality
Provides community support through the linked Slack community
Provides TypeScript language support for the MCP server implementation
⚠️ Notice: SSE (Server-Sent Events) transport support is currently experimental and untested. For production use, we recommend using the direct process execution approach shown in the IDE integration examples.
🚀 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.
You can use Opik MCP Server for:
IDE Integration:
Seamlessly integrate with Cursor and other compatible IDEs
Provide direct access to Opik's capabilities from your development environment
Unified API Access:
Access all Opik features through a standardized protocol
Leverage multiple transport options (stdio, SSE) for different integration scenarios
Platform Management:
Manage prompts, projects, traces, and metrics through a consistent interface
Organize and monitor your LLM applications efficiently
Features
Prompts Management: Create, list, update, and delete prompts
Projects/Workspaces Management: Organize and manage projects
Traces: Track and analyze trace data
Metrics: Gather and query metrics data
Quick Start
Installation
Manual Installation
Configuration
Create a .env file based on the example:
Starting the Server
IDE Integration
Cursor Integration
To integrate with Cursor IDE, create a .cursor/mcp.json file in your project directory with the following configuration:
Replace /path/to/node with the path to your Node.js executable and /path/to/opik-mcp with the path to your opik-mcp installation. Also replace YOUR_API_KEY with your actual Opik API key.
Available Commands
The project includes a Makefile for common operations:
Transport Options
Standard Input/Output
Ideal for local integration where the client and server run on the same machine.
Server-Sent Events (SSE)
Enables remote access and multiple simultaneous clients over HTTP. Note that this transport option is experimental.
For detailed information about the SSE transport, see docs/sse-transport.md.
Development
Testing
Pre-commit Hooks
This project uses pre-commit hooks to ensure code quality:
Documentation
SSE Transport - Details on using the SSE transport
API Reference - Complete API documentation
Configuration - Advanced configuration options
IDE Integration - Integration with Cursor IDE
Citation
If you use this project in your research, please cite it as follows:
Or use the following BibTeX entry:
You can also find citation information in the CITATION.cff file in this repository.
License
Apache 2.0
Related MCP Servers
- -security-license-qualityFacilitates interaction and context sharing between AI models using the standardized Model Context Protocol (MCP) with features like interoperability, scalability, security, and flexibility across diverse AI systems.Last updated -1
- -securityFlicense-qualityA Model Context Protocol server implementation that enables connection between OpenAI APIs and MCP clients for coding assistance with features like CLI interaction, web API integration, and tool-based architecture.Last updated -36
- AsecurityFlicenseAqualityImplements the Model Context Protocol (MCP) to provide AI models with a standardized interface for connecting to external data sources and tools like file systems, databases, or APIs.Last updated -1150
- -securityAlicense-qualityA Model Context Protocol (MCP) implementation for connecting to and working with various database systems.Last updated -819MIT License