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

Agent Observability

作者:RudrenduPaul版本 0.1.11i★ –i在你的电脑上运行
注册名称io.github.RudrenduPaul/agent-observability

安装

概览

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

AI agent observability with deterministic record/replay for debugging agent failures.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

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

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "agent-observability": {
      "command": "uvx",
      "args": [
        "agent-observability-trace-cli",
        "agent-trace-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add agent-observability -- uvx agent-observability-trace-cli agent-trace-mcp

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "agent-observability": {
      "command": "uvx",
      "args": [
        "agent-observability-trace-cli",
        "agent-trace-mcp"
      ]
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "agent-observability": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-observability-trace-cli",
        "agent-trace-mcp"
      ]
    }
  }
}

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

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

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

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“开发者工具”中的其他服务器比较i

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

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

常见问题

Agent Observability 安全吗?

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

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.11)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

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

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

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT16天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

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

Agent Observability

Record your agent's LLM calls once, replay them offline in under 1 ms, zero API calls, zero cost.


Your LangGraph agent fails after step 8. LangSmith shows you what broke. To reproduce it: 8 more LLM calls. 30 more seconds. $0.15 more in API cost. If the failure was caused by a transient model output, you can't reproduce it at all.

Agent Observability fixes this. Record once. Replay offline in 0.93 ms. Zero API calls. Zero cost.

Recording overhead:   0.011%   (0.090 ms added per LLM call)

Replay latency: 0.93 ms mean (vs ~8,500 ms live on GPT-4o × 10 steps) Replay fidelity: 100% (response bytes byte-for-byte identical) CI cost per replay: $0


Install

pip install agent-observability-trace-cli

or

uv add agent-observability-trace-cli

LangGraph support:

pip install agent-observability-trace-cli[langgraph]

OpenAI Agents SDK support:

pip install agent-observability-trace-cli[openai-agents]

30-second CLI quickstart

# Record a live run (your script just needs `import agent_trace` somewhere)

agent-trace run --name my_agent -- python my_agent.py

List recorded runs

agent-trace list

Replay offline: zero network, zero cost

agent-trace replay run_

Show the trace for a run

agent-trace show run_

list, inspect, diff, replay, and run all support --json for machine-parseable output, so an orchestrating agent or CI job can call any of them the same way a person would and parse the result. (run --json prints its own status to stderr and the child process's output to stdout, ending with one final JSON summary line, since the child's own output can't be made structured.) show has no --json mode of its own. It accepts --errors-only to filter its output to failed spans instead. See the full CLI reference below for every subcommand's flags.

Want programmatic control instead of the CLI? Use the Python API:

from agent_trace import tracer

import httpx

@tracer.instrument(record=True) def fetch_data(query: str) -> dict: with tracer.span("http-call") as span: resp = httpx.get("https://httpbin.org/get", params={"q": query}) span.set_attribute("http.status_code", resp.status_code) return resp.json()

result = fetch_data("hello")

Trace and fixture saved to ~/.agent-trace/runs/run_ /

Replay offline, no API calls, no tokens:

from agent_trace import replay

with replay("run_ ") as ctx: result = fetch_data("hello") # served from fixture, zero network print(result) # identical to the original run

[!TIP]

To store the input for later retrieval in replay, call ctx.fixture.set_metadata('input', query) inside the recording context.

[!NOTE]

Sync and async clients: Agent Observability intercepts httpx.Client, httpx.AsyncClient, and requests.Session — including the async client used by default in the OpenAI Python SDK v1.x and Anthropic SDK. The patch is installed at request-dispatch time, so it also covers clients constructed before recording/replay starts (e.g. a module-level openai.AsyncOpenAI() instance).


MCP Server

agent-observability ships a Model Context Protocol server so an AI agent (Claude, Cursor, or any MCP-compatible client) can list, inspect, and replay recorded runs directly, without a human invoking the CLI by hand.

Install the extra:

pip install "agent-observability-trace-cli[mcp]"

Add it to your MCP client's config (for Claude Desktop, claude_desktop_config.json):

{

"mcpServers": { "agent-observability": { "command": "uvx", "args": ["--from", "agent-observability-trace-cli", "agent-trace-mcp"] } } }

The server exposes one tool, run, that shells out to the agent-trace CLI with the given subcommand and arguments plus --json, and returns the parsed JSON result:

run(["list"])

run(["replay", "run_abc123def456"])

Transport is stdio, so there is nothing to host: the MCP client spawns the server as a local subprocess. Source: src/agent_trace/mcp_server.py.


Supported frameworks

LangGraph · OpenAI Agents SDK · CrewAI · AutoGen · LlamaIndex · Haystack · Agno · PydanticAI · Google GenAI Plus: any httpx.Client, httpx.AsyncClient, or requests.Session — no framework required.


CLI reference

agent-trace has 7 subcommands. Every subcommand accepts -h/--help for the same detail shown here.

agent-trace version

Print the installed version and exit. No arguments.

agent-trace list

List all recorded runs in the trace directory (~/.agent-trace/runs by default, or $AGENT_TRACE_TRACE_DIR).

FlagDefaultDescription
--jsonoffPrint machine-readable JSON instead of a human-readable table.
agent-trace show

Pretty-print the stored trace.json for a run.

ArgumentRequiredDescription
run_idyesRun ID, e.g. run_abc123def456.
FlagDefaultDescription
--errors-onlyoffOnly print ERROR-status spans, each with its captured exception text.

show has no --json mode. It prints the trace (colorized via rich when installed, plain json.dumps otherwise), not a structured summary object.

agent-trace replay

Enter replay mode for a run and print the resulting span tree, plus streaming timing, HTTP error exchanges, and the same cross-span diagnostics show prints (error classification, duplicate node spans, retry storms, misattributed spans, checkpoint durability, zero-task updates).

ArgumentRequiredDescription
run_idyesRun ID, e.g. run_abc123def456.
--jsonnoPrint a structured JSON summary (fixture path, span/exchange counts, the original trace) instead of the human-readable span tree.
agent-trace inspect

Auto-flag known malformed request/response shapes and cross-span anomalies for a run.

ArgumentRequiredDescription
run_idyesRun ID, e.g. run_abc123def456.
FlagDefaultDescription
--registered-toolsnoneComma-separated list of registered tool names. Enables the tool-call name fuzzy-match, dotted-compound, ReAct action-name-not-registered, and tool-call-name-not-registered checks.
--configured-hostnoneThe framework's configured LLM endpoint host. Enables the endpoint-host-mismatch check.
--check-kwargnoneDotted kwarg path (e.g. extra_body.chat_template_kwargs.thinking) expected to be present on the wire. Flags requests where it's absent.
--diff-fieldnoneResponse field to check for wire-present-but-downstream-absent: a top-level key (e.g. usage) or a dotted/nested path with numeric list-index segments (e.g. choices.0.message.reasoning_content, for provider fields like DeepSeek's reasoning_content).
--diff-get-post-fieldnoneDotted field path (e.g. instructions) to compare between an earlier GET response and a later, causally-related POST request body referencing the same resource id (see issue #2620). Flags stale-value mismatches, such as a GPTAssistantAgent POST /runs still sending instructions that no longer match what GET /assistants/{id} returns.
--diff-get-post-id-fieldidField name the GET response uses for the resource id.
--diff-get-post-post-id-fieldsame as --diff-get-post-id-fieldField name the POST request body uses to reference the same resource id, if different (e.g. assistant_id).
--jsonoffPrint machine-readable JSON instead of human-readable flag lists.
agent-trace diff

Diff two recorded runs' exchanges, matched by URL, highlighting field-level differences between request/response bodies, plus a restart-vs-resume check for a shared LangGraph thread_id (see issue #161).

ArgumentRequiredDescription
run_id_ayesFirst run ID.
run_id_byesSecond run ID.
FlagDefaultDescription
--jsonoffPrint machine-readable JSON instead of a human-readable diff.
agent-trace run -- [args...]

Exec a child process with recording pre-enabled process-wide (AGENT_TRACE_AUTO_RECORD=1), so the first import agent_trace inside that process, even one owned by a third-party CLI like langgraph dev, starts recording with zero code changes required in your own agent code. Exits with the child process's own exit code.

FlagDefaultDescription
--run-idrandom (run_<12-hex-chars>), printed on startExplicit run ID.
--nameauto-recordTrace name recorded in trace.json metadata.
--jsonoffPrint agent-trace's own status as one final JSON line on stdout (status lines go to stderr instead). Must come before the child command, e.g. agent-trace run --json -- langgraph dev.

| child_command (positional) | none | Everything after -- is exec'd as the child process, e.g. -- langgraph dev. This captures the remainder of the comma

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

问 PopNx