
Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
comet-ml/opik-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/comet-ml/opik-mcp.
Обзор
comet-ml/opik-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/comet-ml/opik-mcp.
Обзор (машинный перевод)
Официальный сервер Model Context Protocol (MCP) для Opik, открытой платформы для наблюдения и оценки LLM, созданной компанией Comet. Подключите свой ИИ-хост (Claude Code, Cursor, VS Code Copilot, Codex, opencode или любой другой MCP-клиент) напрямую в ваше рабочее пространство Opik: читайте трассы, ведите результаты журналов и сохраняете Запросы, все из чата.
Создано для инженеров LLM, которые уже используют Opik и хотят работать с той же версии Ассистент ИИ, с которым они программируют программирование.
Быстрый старт
Одна из команд запускает Opik в AI-клиентах вашего компьютера — Claude Code
включено. Он находит ваш Opik (тот, что сохранён в [[T0]), тот, что работает на
localhost, или спрашивает, какой), регистрирует MCP-сервер, устанавливает навык Opik
Pack и проверяет соединение. В Opik Cloud нет API-ключа для обработки:
Ваш клиент входит в браузер. Требуется uv
и отсутствие SDK Opik:
Без терминала, например, от программирующего агента или скрипта, назначайте клиента:
--ai-client также принимает codex, cursor, vscode и opencode. Запустите это
способ использования Opik, сохранённого в ~/.opik.config, включения API-ключа или одного
отвечая на localhost, а в остальном останавливается и спрашивает --deployment.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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
Установка
uvx opik-mcpКонфигурация
{
"mcpServers": {
"opik-mcp": {
"url": "https://www.comet.com/opik/api/v1/mcp"
}
}
}