CM

comet-ml/opik-mcp

Developer tools公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

225 stars 37 forks 品質 87 トレンド 38Apache-2.0

comet-ml/opik-mcpは、https://github.com/comet-ml/opik-mcp.からインポートされたMCPサーバー候補です。

概要

comet-ml/opik-mcpは、https://github.com/comet-ml/opik-mcp.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

Opik(Cometが構築したオープンソースのLLM観測・評価プラットフォーム)の公式モデルコンテキストプロトコル(MCP)サーバーです。 AIホスト(Claude Code、Cursor、VS Code Copilot、Codex、opencode、その他)をプラグインしてください MCPクライアント)を直接Opikワークスペースに入力:トレースの読み取り、スコアのログ、保存 すべてチャットからのプロンプト版です。

すでにOpikを使っていて同じOSから駆動したいLLMエンジニア向けに作られています AIアシスタントでコーディングしています。


クイックスタート

OneコマンドでOpikをあなたのマシンのAIクライアントに設定できます。Claude Codeです 含まれている。あなたのOpik(~/.opik.configに保存されているもの、稼働中のもの)を見つけます localhost、またはどのサイトかを尋ねます)、MCPサーバーを登録し、Opikスキルをインストールします packを行い、接続を確認します。Opik Cloudでは、処理するAPIキーがありません: クライアントはブラウザにサインインします。uv Opik SDKは存在しません。

端末を使わず、コーディングエージェントやスクリプトのようにクライアント名を付けます:

--ai-clientはまた、codex、cursor、vscode、opencodeも受け継ぎます。それを実行してください ~/.opik.configに保存されたOpikの使い方、APIキーを含め、または1つ localhostで応答し、それ以外は停止して--deploymentを尋ねます。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Opik MCP Server

The official Model Context Protocol (MCP) server for Opik, the open-source LLM observability and evaluation platform, built by Comet. Plug your AI host (Claude Code, Cursor, VS Code Copilot, Codex, opencode, or any MCP client) directly into your Opik workspace: read traces, log scores, and save prompt versions, all from the chat.

Built for LLM engineers who already run Opik and want to drive it from the same AI assistant they code with.

You:    "Which traces in project 'demo' failed today?"
Claude: → list(entity_type="trace", project_name="demo") → "Three traces failed…"

You:    "Score trace 7f2e… 0.9 on helpfulness with reason 'great recovery'."
Claude: → write(score.create) → done

Quick start

One command sets Opik up in the AI clients on your machine, Claude Code included. It finds your Opik (the one saved in ~/.opik.config, one running on localhost, or it asks which), registers the MCP server, installs the Opik skill pack, and checks the connection. On Opik Cloud there is no API key to handle: your client signs in in the browser. It needs uv and no Opik SDK:

uvx opik@latest mcp configure

Without a terminal, as from a coding agent or a script, name the client:

uvx opik@latest mcp configure --ai-client claude-code --skills

--ai-client also takes codex, cursor, vscode and opencode. Run that way it uses the Opik saved in ~/.opik.config, API key included, or one answering on localhost, and otherwise stops and asks for --deployment.

A coding agent asked to “install opik mcp” gets the full steps, including what to ask the user, from uvx opik-mcp@latest --help. They are the same as Install with a coding agent below.

Registering the server by hand, with the client commands under Set it up by hand, skips the check of which Opik you use and the skill pack, so it is for clients the installer doesn’t support.

Your Opik Server Transport Sign-in
Opik Cloud (www.comet.com) the hosted server, run by Comet Streamable HTTP in the browser (OAuth); no API key
Self-hosted Comet, open-source Opik the local server, this package stdio env vars; an API key only where the deployment needs one

Clients load MCP servers when a session starts, so start a new session afterwards.

Setup guide, troubleshooting and FAQ: comet.com/docs/opik/mcp-server.


Opik Cloud: the hosted server

Comet runs the server at https://www.comet.com/opik/api/v1/mcp. Your client connects over HTTP and opens a browser sign-in the first time. There is nothing to install, no API key, and no workspace to set: the server works in the

GitHub で README 全文を見る

インストール

uvx opik-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "opik-mcp": { "url": "https://www.comet.com/opik/api/v1/mcp" } } }