{"type":"mcp_server","name":"opik-mcp","description":"The Opik MCP Server repository provides a Model Context Protocol implementation for the Opik platform, offering seamless IDE integration and a unified interface through multiple transport mechanisms. The Opik MCP","category":"Developer Tools","language":"TypeScript","stars":209,"forks":1,"owner":"comet-ml","github_url":"https://github.com/comet-ml/opik-mcp","homepage":"https://www.comet.com/opik/","setup":"## Setup\n\n**Manual Installation**\n\n1.  Clone the repository:\n\n    ```bash\n    git clone https://github.com/comet-ml/opik-mcp.git\n    cd opik-mcp\n    ```\n\n2.  Install dependencies and build:\n\n    ```bash\n    npm install\n    npm run build\n    ```\n\n**Configuration**\n\n1.  Create a `.env` file based on the example:\n\n    ```bash\n    cp .env.example .env\n    # Edit .env with your specific configuration\n    ```\n\n**Starting the Server**\n\n1.  Start with stdio transport (default):\n\n    ```bash\n    npm run start:stdio\n    ```\n\n2.  Start with SSE transport for network access (experimental):\n\n    ```bash\n    npm run start:sse\n    ```\n\n**Cursor Integration**\n\n1.  To integrate with Cursor IDE, create a `.cursor/mcp.json` file in your project directory with the following configuration:\n\n    ```json\n    {\n      \"mcpServers\": {\n        \"opik\": {\n          \"command\": \"/path/to/node\",\n          \"args\": [\n            \"/path/to/opik-mcp/build/index.js\",\n            \"--apiUrl\",\n            \"https://www.comet.com/opik/api\",\n            \"--apiKey\",\n            \"YOUR_API_KEY\",\n            \"--workspace\",\n            \"default\",\n            \"--debug\",\n            \"true\"\n          ],\n          \"env\": {\n            \"OPIK_API_BASE_URL\": \"https://www.comet.com/opik/api\",\n            \"OPIK_API_KEY\": \"YOUR_API_KEY\",\n            \"OPIK_WORKSPACE_NAME\": \"default\"\n          }\n        }\n      }\n    }\n    ```\n\n2.  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, and replace `YOUR_API_KEY` with your actual Opik API key.","tools":"## Available Tools\n\n1.  IDE Integration: Seamlessly integrate with Cursor and other compatible IDEs.\n2.  Unified API Access: Access all Opik features through a standardized protocol.\n3.  Platform Management: Manage prompts, projects, traces, and metrics through a consistent interface.\n4.  Prompts Management: Create, list, update, and delete prompts.\n5.  Projects/Workspaces Management: Organize and manage projects.\n6.  Traces: Track and analyze trace data.\n7.  Metrics: Gather and query metrics data.","faq":null,"created_at":"2025-03-11T16:31:03+00:00","updated_at":"2025-03-26T21:20:47+00:00","source_url":"https://model-context-protocol.com/servers/opik-model-context-protocol-ide-integration","related_articles":[]}