原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Iris

作者:iris-eval版本 0.21.0i★ –i在你的电脑上运行
注册名称io.github.iris-eval/mcp-server

安装

概览

作者提供的说明(英文原文)

Stop shipping agents on vibes. Score every agent output for quality, safety, and cost.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:IRIS_API_KEY, IRIS_ANTHROPIC_API_KEY, IRIS_OPENAI_API_KEY, IRIS_WEBHOOK_SECRET

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: IRIS_API_KEY, IRIS_API_KEY_FILE, IRIS_ALLOW_UNAUTHENTICATED, IRIS_DB_PATH, IRIS_SQLITE_DRIVER, IRIS_SEARCH_BUDGET_MS, IRIS_SEARCH_INDEX, IRIS_LOG_LEVEL, IRIS_HOME, IRIS_ANTHROPIC_API_KEY, IRIS_OPENAI_API_KEY, IRIS_LLM_JUDGE_MAX_COST_USD_PER_EVAL, IRIS_RELEVANCE_JUDGE_MODEL, IRIS_LLM_JUDGE_DAILY_BUDGET_USD, IRIS_RELEVANCE_JUDGE_DAILY_BUDGET_USD, IRIS_RELEVANCE_JUDGE_MAX_CALLS_PER_REQUEST, IRIS_RELEVANCE_JUDGE_REDACT, IRIS_CITATION_ALLOW_FETCH, IRIS_DASHBOARD, IRIS_DASHBOARD_PORT, IRIS_PORT, IRIS_OTEL_ENDPOINT, IRIS_CITATION_DOMAINS, IRIS_CITATION_MAX_COST_USD_TOTAL, IRIS_TRANSPORT, IRIS_HOST, IRIS_ALLOWED_ORIGINS, IRIS_MAX_INPUT_ELEMENTS, IRIS_MAX_TOOL_INPUT_ELEMENTS, IRIS_DASHBOARD_HOST, IRIS_OTEL_HEADERS, IRIS_OTEL_SERVICE_NAME, IRIS_OTEL_TIMEOUT_MS, IRIS_WEBHOOK_URL, IRIS_WEBHOOK_SECRET

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

下载作者的 .mcpb 文件

链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。

在终端中运行这条命令

claude mcp add iris-eval --env IRIS_API_KEY=your-value --env IRIS_API_KEY_FILE=your-value --env IRIS_ALLOW_UNAUTHENTICATED=your-value --env IRIS_DB_PATH=your-value --env IRIS_SQLITE_DRIVER=your-value --env IRIS_SEARCH_BUDGET_MS=your-value --env IRIS_SEARCH_INDEX=your-value --env IRIS_LOG_LEVEL=your-value --env IRIS_HOME=your-value --env IRIS_ANTHROPIC_API_KEY=your-value --env IRIS_OPENAI_API_KEY=your-value --env IRIS_LLM_JUDGE_MAX_COST_USD_PER_EVAL=your-value --env IRIS_RELEVANCE_JUDGE_MODEL=your-value --env IRIS_LLM_JUDGE_DAILY_BUDGET_USD=your-value --env IRIS_RELEVANCE_JUDGE_DAILY_BUDGET_USD=your-value --env IRIS_RELEVANCE_JUDGE_MAX_CALLS_PER_REQUEST=your-value --env IRIS_RELEVANCE_JUDGE_REDACT=your-value --env IRIS_CITATION_ALLOW_FETCH=your-value --env IRIS_DASHBOARD=your-value --env IRIS_DASHBOARD_PORT=your-value --env IRIS_PORT=your-value --env IRIS_OTEL_ENDPOINT=your-value --env IRIS_CITATION_DOMAINS=your-value --env IRIS_CITATION_MAX_COST_USD_TOTAL=your-value --env IRIS_TRANSPORT=your-value --env IRIS_HOST=your-value --env IRIS_ALLOWED_ORIGINS=your-value --env IRIS_MAX_INPUT_ELEMENTS=your-value --env IRIS_MAX_TOOL_INPUT_ELEMENTS=your-value --env IRIS_DASHBOARD_HOST=your-value --env IRIS_OTEL_HEADERS=your-value --env IRIS_OTEL_SERVICE_NAME=your-value --env IRIS_OTEL_TIMEOUT_MS=your-value --env IRIS_WEBHOOK_URL=your-value --env IRIS_WEBHOOK_SECRET=your-value -- npx -y @iris-eval/mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "iris-eval": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-eval/mcp-server"
      ],
      "env": {
        "IRIS_API_KEY": "your-value",
        "IRIS_API_KEY_FILE": "your-value",
        "IRIS_ALLOW_UNAUTHENTICATED": "your-value",
        "IRIS_DB_PATH": "your-value",
        "IRIS_SQLITE_DRIVER": "your-value",
        "IRIS_SEARCH_BUDGET_MS": "your-value",
        "IRIS_SEARCH_INDEX": "your-value",
        "IRIS_LOG_LEVEL": "your-value",
        "IRIS_HOME": "your-value",
        "IRIS_ANTHROPIC_API_KEY": "your-value",
        "IRIS_OPENAI_API_KEY": "your-value",
        "IRIS_LLM_JUDGE_MAX_COST_USD_PER_EVAL": "your-value",
        "IRIS_RELEVANCE_JUDGE_MODEL": "your-value",
        "IRIS_LLM_JUDGE_DAILY_BUDGET_USD": "your-value",
        "IRIS_RELEVANCE_JUDGE_DAILY_BUDGET_USD": "your-value",
        "IRIS_RELEVANCE_JUDGE_MAX_CALLS_PER_REQUEST": "your-value",
        "IRIS_RELEVANCE_JUDGE_REDACT": "your-value",
        "IRIS_CITATION_ALLOW_FETCH": "your-value",
        "IRIS_DASHBOARD": "your-value",
        "IRIS_DASHBOARD_PORT": "your-value",
        "IRIS_PORT": "your-value",
        "IRIS_OTEL_ENDPOINT": "your-value",
        "IRIS_CITATION_DOMAINS": "your-value",
        "IRIS_CITATION_MAX_COST_USD_TOTAL": "your-value",
        "IRIS_TRANSPORT": "your-value",
        "IRIS_HOST": "your-value",
        "IRIS_ALLOWED_ORIGINS": "your-value",
        "IRIS_MAX_INPUT_ELEMENTS": "your-value",
        "IRIS_MAX_TOOL_INPUT_ELEMENTS": "your-value",
        "IRIS_DASHBOARD_HOST": "your-value",
        "IRIS_OTEL_HEADERS": "your-value",
        "IRIS_OTEL_SERVICE_NAME": "your-value",
        "IRIS_OTEL_TIMEOUT_MS": "your-value",
        "IRIS_WEBHOOK_URL": "your-value",
        "IRIS_WEBHOOK_SECRET": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "iris-eval": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@iris-eval/mcp-server"
      ],
      "env": {
        "IRIS_API_KEY": "your-value",
        "IRIS_API_KEY_FILE": "your-value",
        "IRIS_ALLOW_UNAUTHENTICATED": "your-value",
        "IRIS_DB_PATH": "your-value",
        "IRIS_SQLITE_DRIVER": "your-value",
        "IRIS_SEARCH_BUDGET_MS": "your-value",
        "IRIS_SEARCH_INDEX": "your-value",
        "IRIS_LOG_LEVEL": "your-value",
        "IRIS_HOME": "your-value",
        "IRIS_ANTHROPIC_API_KEY": "your-value",
        "IRIS_OPENAI_API_KEY": "your-value",
        "IRIS_LLM_JUDGE_MAX_COST_USD_PER_EVAL": "your-value",
        "IRIS_RELEVANCE_JUDGE_MODEL": "your-value",
        "IRIS_LLM_JUDGE_DAILY_BUDGET_USD": "your-value",
        "IRIS_RELEVANCE_JUDGE_DAILY_BUDGET_USD": "your-value",
        "IRIS_RELEVANCE_JUDGE_MAX_CALLS_PER_REQUEST": "your-value",
        "IRIS_RELEVANCE_JUDGE_REDACT": "your-value",
        "IRIS_CITATION_ALLOW_FETCH": "your-value",
        "IRIS_DASHBOARD": "your-value",
        "IRIS_DASHBOARD_PORT": "your-value",
        "IRIS_PORT": "your-value",
        "IRIS_OTEL_ENDPOINT": "your-value",
        "IRIS_CITATION_DOMAINS": "your-value",
        "IRIS_CITATION_MAX_COST_USD_TOTAL": "your-value",
        "IRIS_TRANSPORT": "your-value",
        "IRIS_HOST": "your-value",
        "IRIS_ALLOWED_ORIGINS": "your-value",
        "IRIS_MAX_INPUT_ELEMENTS": "your-value",
        "IRIS_MAX_TOOL_INPUT_ELEMENTS": "your-value",
        "IRIS_DASHBOARD_HOST": "your-value",
        "IRIS_OTEL_HEADERS": "your-value",
        "IRIS_OTEL_SERVICE_NAME": "your-value",
        "IRIS_OTEL_TIMEOUT_MS": "your-value",
        "IRIS_WEBHOOK_URL": "your-value",
        "IRIS_WEBHOOK_SECRET": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • IRIS_API_KEY 机密 env
    API key for HTTP authentication. Required to bind the HTTP transport or the dashboard beyond loopback (0.0.0.0, a LAN address, a container): without it the server refuses to start
  • IRIS_API_KEY_FILE env
    Path to a file whose trimmed contents are the API key (the secret-file pattern Docker and Kubernetes mount). Set this or IRIS_API_KEY, not both; further keys and rotation are security.apiKeys in conf…
  • IRIS_ALLOW_UNAUTHENTICATED env
    Set to 1 to run a non-loopback bind with NO API key on purpose (lifts the startup refusal; the network is then your boundary)
  • IRIS_DB_PATH env
    SQLite database path
  • IRIS_SQLITE_DRIVER env
    Which SQLite driver holds the database: native (better-sqlite3, the default) or node (Node's built-in node:sqlite, Node 22.13+). Unset: native, falling back to node when the native module cannot load
  • IRIS_SEARCH_BUDGET_MS env
    How long one trace search may read before it answers with the matches found so far, in milliseconds (50-60000, default 1000)
  • IRIS_SEARCH_INDEX env
    on (default) or off. off keeps no full-text index of the traces: writes are cheaper, and a search reads the traces within its time budget
  • IRIS_LOG_LEVEL env
    Log level: debug, info, warn, error
  • IRIS_HOME env
    Directory for the database, custom rules and preferences (default ~/.iris)
  • IRIS_ANTHROPIC_API_KEY 机密 env
    Enables evaluate_with_llm_judge and verify_citations with an Anthropic model. Optional: the deterministic rules never need a key
  • IRIS_OPENAI_API_KEY 机密 env
    Enables evaluate_with_llm_judge and verify_citations with an OpenAI model. Optional: the deterministic rules never need a key
  • IRIS_LLM_JUDGE_MAX_COST_USD_PER_EVAL env
    Hard cap on the worst-case cost of one LLM judge call (default 0.25); max_cost_usd can lower it for a call, never raise it
  • IRIS_RELEVANCE_JUDGE_MODEL env
    A priced judge model; answers_the_ask then asks it on every evaluation with input, sending that input and output to the model's provider, and gates on its verdict (off by default)
  • IRIS_LLM_JUDGE_DAILY_BUDGET_USD env
    What every judge call together may spend per UTC day, per tenant, in USD (default 1): the relevance judge, evaluate_with_llm_judge and verify_citations. Past it no judge call is made
  • IRIS_RELEVANCE_JUDGE_DAILY_BUDGET_USD env
    The name of IRIS_LLM_JUDGE_DAILY_BUDGET_USD before 0.21.0. Read when the new name is unset, and it then limits every judge call
  • IRIS_RELEVANCE_JUDGE_MAX_CALLS_PER_REQUEST env
    Relevance judge calls one request may make (default 20)
  • IRIS_RELEVANCE_JUDGE_REDACT env
    on (default) replaces the PII and credentials no_pii flags before the relevance judge sends input and output to its provider; off sends them as they are
  • IRIS_CITATION_ALLOW_FETCH env
    Let verify_citations fetch URLs (off by default); a tool argument can turn it off for a call, never on
  • IRIS_DASHBOARD env
    Start the dashboard alongside the server (same as --dashboard)
  • IRIS_DASHBOARD_PORT env
    Dashboard port (default 6920); IRIS_PORT is the MCP HTTP transport port (default 3000)
  • IRIS_PORT env
    MCP HTTP transport port (default 3000); only used with --transport http
  • IRIS_OTEL_ENDPOINT env
    OTLP/HTTP collector URL; when set, every stored trace is also exported as OpenTelemetry spans (best-effort, asynchronous)
  • IRIS_CITATION_DOMAINS env
    Comma-separated domain allowlist for verify_citations fetches (only consulted when IRIS_CITATION_ALLOW_FETCH is on); a tool argument can narrow it, never add to it
  • IRIS_CITATION_MAX_COST_USD_TOTAL env
    The most one verify_citations call may spend on judge calls, in USD (default 1); max_cost_usd_total can lower it, never raise it
  • IRIS_TRANSPORT env
    Transport: stdio (default) or http; same as --transport
  • IRIS_HOST env
    Bind host for the HTTP transport (default 127.0.0.1); only used with --transport http
  • IRIS_ALLOWED_ORIGINS env
    Comma-separated Origin allowlist for the HTTP transport and dashboard CORS (default http://localhost:*)
  • IRIS_MAX_INPUT_ELEMENTS env
    The most array elements and object keys one input may hold before it is validated (default 100000): a tool call's arguments, and a dashboard or OTLP JSON request body. A tool call over it gets an err…
  • IRIS_MAX_TOOL_INPUT_ELEMENTS env
    The name of IRIS_MAX_INPUT_ELEMENTS before 0.21.0, read when the new name is unset
  • IRIS_DASHBOARD_HOST env
    Bind host for the dashboard (default 127.0.0.1); same as --dashboard-host
  • IRIS_OTEL_HEADERS env
    Comma-separated key=value headers sent with every OTLP export (for example an auth token for your collector)
  • IRIS_OTEL_SERVICE_NAME env
    service.name resource attribute on exported spans (default iris-eval)
  • IRIS_OTEL_TIMEOUT_MS env
    Timeout in milliseconds for each OTLP export request
  • IRIS_WEBHOOK_URL env
    The receiver of the webhook that fires on a moment (docs/webhooks.md); merged over notify.webhook in config.json
  • IRIS_WEBHOOK_SECRET 机密 env
    The signing key of that webhook (any string, or whsec_ + base64); the iris format refuses to run without one

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 iris-eval 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32403 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32403 个服务器的 75% 更新
  • 基础检查结果等于或优于此分类中其他 32403 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Iris 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:IRIS_API_KEY, IRIS_ANTHROPIC_API_KEY, IRIS_OPENAI_API_KEY, IRIS_WEBHOOK_SECRET

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.21.0)于11天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, MCPB。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, LickityClick

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

LickityClick

作者:lickity.click

Create, edit and track LickityClick short links, campaigns and click stats from your AI assistant.

电脑或云端今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Iris — stop shipping agents on vibes

Send Iris an agent run and ask for a verdict on its quality, safety, and cost — on your machine, with no SDK and no account. Most agent projects check quality by running a few remembered prompts and eyeballing the output. Iris replaces that with numbers you can audit: your agent's runs land in a SQLite database on your disk, 26 built-in rules score them deterministically — PII, prompt injection, hallucination markers, cost thresholds, and the agent's own tool calls — free, with no LLM calls, and an optional LLM judge with a hard per-eval cost cap handles the semantic questions. Every rule is inspectable and editable, because a judge you can't audit is just vibes with a number on it. MIT licensed, no telemetry. Nothing leaves your machine unless you turn one of these on: an OpenTelemetry endpoint (IRIS_OTEL_ENDPOINT), which exports traces to the collector you name; the LLM judge with your own key, which sends the text it judges to that provider, and whose citation check fetches the pages an output cites; or a webhook, which posts ids, the verdict and rule names, never the text, to the address you set.

Requires Node.js 22.13 or later. Check with node --version.

The demo database, recorded by scripts/demo-media.mts; the source is demo.mp4. A still: dashboard-overview.png.

A failure on screen in 60 seconds

No agent wiring, no config — one command:

npx @iris-eval/mcp-server --demo

This seeds a demo database — five small agents, two weeks of runs, every verdict the engine's own — and serves the dashboard against it at http://localhost:6920 (your browser opens automatically on first run). The dashboard lands on Failures: what failed, worst and newest first, each card naming the rule and its evidence. Worth clicking into — a PII leak caught by the safety rules, a hidden directive in a forum post that the summarizer complied with, a number the source document never said, two runs on the same twelve questions compared with an interval (Runs), a deployed custom rule and a paused one with their audit rows, and a failed LLM-judge score with its rationale.

Demo data lives in its own database (demo.db in your Iris home directory — ~/.iris on macOS/Linux, %USERPROFILE%\.iris on Windows) and never mixes with your real traces. Remove all of it with one command:

npx @iris-eval/mcp-server --demo-clear

Hook up your own agent

First, prove the install works on this machine — it runs offline and opens nothing of yours:

npx @iris-eval/mcp-server --self-test   # exit 0 = healthy

Then add Iris to your MCP client. One command writes the client's own config file, keeps every other server in it, and pins the version you ran:

npx -y @iris-eval/mcp-server install claude-code

The clients: claude-code, claude-desktop, cursor, windsurf, continue, vscode, cline, zed, codex, gemini. install --list shows the ones found on this machine, the Iris each one runs and the file it reads; install --uninstall takes Iris out again. Every client shares one database, so after an upgrade move them all at once with install --upgrade (Updating). Restart the client to load it.

Claude Desktop: one click. Each release from 0.20.0 on attaches iris-eval.mcpb, an MCP Bundle: download the latest, open it, and Claude Desktop shows an install dialog. Nothing on it is required — an Anthropic or OpenAI key for the LLM judge is optional, and the dashboard is a switch that starts off. The bundle holds the npm package and its dependencies, so nothing else needs installing: Claude Desktop runs it under the Node it ships when that Node is 22.13 or newer (Claude Desktop 1.1.6679 ships 24.13), and Iris stores traces with Node's built-in SQLite, in the same ~/.iris every other install uses. The release notes show how to verify its signature and build attestation.

It runs in any MCP client, and every client it names has a row saying how it is checked. Verified on every CI run: Claude Code, Gemini CLI — the real client starts Iris from the config the installer wrote and reports it connected (claude mcp list, gemini mcp list), on Linux, macOS and Windows; Claude Code's capture plugin hooks are driven through the real scripts too. Configured from each client's own MCP documentation — the installer writes the file each client documents, at its documented path and in its own format (an mcpServers block, VS Code's servers, Zed's context_servers, Codex's TOML), keeping comments and every other server, and unit tests hold each path and every format writer to that documentation: Claude Desktop, Cursor, Devin Desktop (Windsurf), Continue, VS Code, Cline, Zed, OpenAI Codex CLI. Every row with its source and the date it was read: https://iris-eval.com/clients. By hand instead, one block, dashboard included:

{

"mcpServers": { "iris-eval": { "command": "npx", "args": ["-y", "@iris-eval/mcp-server", "--dashboard"] } } }

Your client lists Iris's twelve tools on connect, and the dashboard serves at http://localhost:6920. Now paste this to your agent:

Log that last task to Iris and evaluate the output.

The trace lands on the dashboard with its scores. Prefer the MCP server headless? Drop --dashboard from the args — you can open the same dashboard any time with npx @iris-eval/mcp-server --dashboard.

One thing worth knowing up front: MCP tools are called when the model decides to call them. Iris doesn't intercept your agent, so traces are logged when your agent asks it to log them — either because you told it to, or because your code calls the tools directly. Ask your agent to "log this to Iris and evaluate it" and it will. If you want capture that doesn't depend on the model choosing, POST /api/v1/traces does exactly that — your code sends the trace over plain HTTP, no model in the loop (see docs/http-ingest.md). The CLI and host hooks on the roadmap will be thin clients over the same endpoint.

Capture over HTTP (no model in the loop)

The ingest endpoint lives on the dashboard port — 6920 by default, not the MCP transport port — and it exists only while the dashboard is running. Pass --dashboard (or set IRIS_DASHBOARD=true); --transport http on its own does not start it, and a request to the transport port returns 404. With the dashboard up, anything that can send an HTTP request can log a trace — and optionally run the deterministic evals in the same request. GET /api/v1/capabilities on the same port says what this server can judge, what each rule needs, the judge state with the steps that enable it, and the limits — the same object the MCP resource iris://capabilities serves — so an HTTP caller has the frame an MCP client gets at initialize:

curl -s -X POST "http://127.0.0.1:6920/api/v1/traces" \

-H "Content-Type: application/json" \ -d '{ "agent_name": "support-bot", "input": "What is the refund policy?", "output": "Refunds are available within 30 days of purchase.", "evaluate": true, "eval_type": "safety" }'

Returns 201 with the stored trace_id and the evaluation result (in --demo mode the endpoint refuses writes with 403, so demo data never mixes with yours). The endpoint accepts the same body as the log_trace tool and sits behind the same middleware stack as the rest of the dashboard: loopback bind and the DNS-rebinding guard by default, plus Bearer auth when you set one. Two plain facts about it: it accepts unauthenticated writes unless Iris was started with --api-key (or IRIS_API_KEY) — the loopback bind is what keeps it to your machine by default, so set a key before binding beyond loopback; and what it stores is verbatim — input and output land in iris.db exactly as sent, including any text no_pii goes on to flag. Full contract, field reference, and error semantics: docs/http-ingest.md.

Capture every Claude Code turn (optional)
/plugin marketplace add iris-eval/mcp-server

/plugin install iris-eval-capture@iris-eval

A second, separately installed plugin: its hooks record each turn's prompt, tool calls (the failed ones included, with the error the agent received) and final answer, keyed on the prompt, so an interrupted turn's calls and a background sub-agent's are sent too, and hand them to iris-eval ingest, detached, with critical spans redacted in the stored evaluation text — capture that does not depend on the model deciding to call a tool. A turn that ended in an API error is stored without being judged; when the model logged the turn too, both traces are kept and the plugin's names the model's. It never prints, never blocks, never sends anything anywhere. Installing iris-eval alone changes nothing about your turn loop. Limits and removal: claude-plugin-capture/README.md.

Python
pip install iris-eval
from iris_eval import IrisClient

iris = IrisClient() # IRIS_URL, or the running dashboard's runtime.json iris.evaluate_output("…", input="…", agent_name="support-bot")["verdict"] # {"state": "pass", "basis": "clean", "by": []}

A thin client over the HTTP API of server 0.16.0 and later, versioned on its own — iris_eval.__version__ and the PyPI page carry its number, which is not the server's: log_trace(), evaluate_output(), get_traces(), get_trace(), health(), capabilities(), sync and async, typed answers, the server's own sentence on a refusal — and a pytest plugin: an iris fixture and assert_iris(output, expect="pass") that asserts on the verdict's state. packages/python/README.md.

Record every OpenAI and Anthropic call
from iris_eval import wrap_openai

client = wrap_openai(OpenAI(), agent_name="support-bot") # every call: a GenAI span to POST /v1/traces, scored

import { wrapOpenAI } from '@iris-eval/sdk';

c

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx