AgentHubAgentHub

Opik MCP Server

MCP ServerMCP Registry官方收录

io.github.comet-ml/opik-mcp · v2.0.2

Interact with Opik prompts, traces, datasets and metrics through the Model Context Protocol.

概览

Opik MCP Server 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "opik-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "opik-mcp"
      ],
      "env": {
        "OPIK_API_KEY": "<OPIK_API_KEY>"
      }
    }
  }
}

环境变量

OPIK_API_KEY必填secret

API key from your Opik workspace for authenticating SDK calls.

OPIK_API_BASE_URL可选

Override the API base URL when using a self-hosted Opik deployment.

OPIK_WORKSPACE_NAME可选

Default workspace to scope prompt and trace operations.

相关资源

统一 Manifest

{
  "id": "io.github.comet-ml/opik-mcp",
  "type": "mcp-server",
  "version": "2.0.2",
  "displayName": "Opik MCP Server",
  "description": "Interact with Opik prompts, traces, datasets and metrics through the Model Context Protocol.",
  "repository": {
    "url": "https://github.com/comet-ml/opik-mcp",
    "source": "github"
  },
  "homepage": "https://comet-ml.github.io/opik-mcp/",
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "opik-mcp",
        "version": "2.0.2",
        "runtimeHint": "npx",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "OPIK_API_KEY",
            "description": "API key from your Opik workspace for authenticating SDK calls.",
            "isRequired": true,
            "isSecret": true
          },
          {
            "name": "OPIK_API_BASE_URL",
            "description": "Override the API base URL when using a self-hosted Opik deployment."
          },
          {
            "name": "OPIK_WORKSPACE_NAME",
            "description": "Default workspace to scope prompt and trace operations."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.comet-ml/opik-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.comet-ml%2Fopik-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
Opik MCP Server — MCP Server 安装与配置 · AgentHub