Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Summarize a supplied agent tool-call trace: per-tool stats, the error list, and totals.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"agenttrace": {
"command": "npx",
"args": [
"-y",
"@reneturcios/agenttrace",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add agenttrace -- npx -y @reneturcios/agenttrace mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"agenttrace": {
"command": "npx",
"args": [
"-y",
"@reneturcios/agenttrace",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"agenttrace": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reneturcios/agenttrace",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 CloudCorpRecords 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于3天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, Docker。
同一分类中有:Spec Driven Development, Remote Desktop Commander, HotCodePush
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Manage over-the-air (OTA) updates for React Native, Expo, Capacitor and Cordova apps.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An agent run can fire dozens of tool calls, and afterwards the interesting questions are simple ones: which tools did the work, which calls failed and why, where did the time go, and how many tokens did it all cost. agenttrace answers those questions from a trace you already have. You supply the events — for each call, the tool name, when it started, how long it ran, whether it ended ok or in error, and optionally the error message and the input and output token counts — and agenttrace hands back the summary. It records nothing, proxies nothing, and fetches nothing; it computes over the facts you pass in.
The summary has three parts. First, one statistics entry per distinct tool, in the order the tools first appear in your trace: how many calls it took, how many of them failed, its error rate, its total, average, and maximum duration, and its token totals. Second, the list of failed calls in trace order, each with its position in the trace, its tool, and its error message — null when a failed call carried no message. Third, the trace totals: the event count, how many distinct tools ran, the total error count and overall error rate, the summed duration, the wall-clock span from the earliest start to the latest finish, and the overall token totals.
Two roundings are pinned. Error rates — per tool and overall — are rounded to four decimal places, and the average duration is rounded to the nearest integer with Math.round, so a mean of 100.5 reports as 101. Token fields are optional; a call that omits them counts as zero tokens. The start times can use any epoch you like, because only their differences feed the wall-clock span.
Malformed input — a missing, empty, or non-array event list, an event that is not an object, a missing, empty, or non-string tool name, a negative or fractional start time, duration, or token count, a status that is not exactly "ok" or "error", or a non-string error — is a validation error naming the offending path, such as events[2].status must be "ok" or "error", with no partial result. Unknown extra fields are ignored, including inside events.
npx @reneturcios/agenttrace summarize --input args.json
npx @reneturcios/agenttrace --version
args.json contains the full arguments object:
{
"events": [ { "tool": "search", "started_at_ms": 1000, "duration_ms": 120, "status": "ok", "input_tokens": 300, "output_tokens": 80 }, { "tool": "fetch", "started_at_ms": 1120, "duration_ms": 450, "status": "error", "error": "connection timed out", "input_tokens": 120, "output_tokens": 0 }, { "tool": "search", "started_at_ms": 1600, "duration_ms": 90, "status": "ok", "input_tokens": 280, "output_tokens": 64 } ] }
The summary is printed as JSON:
{
"tools": [ { "tool": "search", "calls": 2, "errors": 0, "error_rate": 0, "total_duration_ms": 210, "avg_duration_ms": 105, "max_duration_ms": 120, "input_tokens": 580, "output_tokens": 144 }, { "tool": "fetch", "calls": 1, "errors": 1, "error_rate": 1, "total_duration_ms": 450, "avg_duration_ms": 450, "max_duration_ms": 450, "input_tokens": 120, "output_tokens": 0 } ], "errors": [ { "index": 1, "tool": "fetch", "error": "connection timed out" } ], "totals": { "total_events": 3, "distinct_tools": 2, "total_errors": 1, "overall_error_rate": 0.3333, "total_duration_ms": 660, "wall_clock_ms": 690, "total_input_tokens": 700, "total_output_tokens": 144 } }
Exit codes: 0 on success, 1 on a runtime error (including an unreadable or invalid input file, or invalid input), 2 on a usage error.
npx -y @reneturcios/agenttrace mcp
MCP client config:
{
"mcpServers": { "agenttrace": { "command": "npx", "args": ["-y", "@reneturcios/agenttrace", "mcp"] } } }
summarize_trace — Summarize a caller-supplied agent tool-call trace: per-tool call, error, duration, and token statistics, the list of failed calls, and trace totals.events (array, required, at least 1 item) — the tool-call events to summarize, in trace order; each item:tool (string, required, non-empty) — name of the tool that was calledstarted_at_ms (integer, required, at least 0) — call start time in milliseconds (any epoch the caller chooses; only differences are used)duration_ms (integer, required, at least 0) — call duration in millisecondsstatus (string, required) — call outcome: exactly "ok" or "error"error (string, optional) — error message for a failed callinput_tokens (integer, optional, at least 0) — input tokens consumed by the call; absent means 0output_tokens (integer, optional, at least 0) — output tokens produced by the call; absent means 0Returns {tools, errors, totals}, where tools holds one {tool, calls, errors, error_rate, total_duration_ms, avg_duration_ms, max_duration_ms, input_tokens, output_tokens} per distinct tool in first-appearance order, errors holds one {index, tool, error} per failed call in input order, and totals is {total_events, distinct_tools, total_errors, overall_error_rate, total_duration_ms, wall_clock_ms, total_input_tokens, total_output_tokens}.
docker run -i ghcr.io/cloudcorprecords/agenttrace
docker run --rm -v "$PWD:/w" ghcr.io/cloudcorprecords/agenttrace summarize --input /w/args.json
npm install
npm run build # tsc -> dist/ npm test # tsx --test test/*.test.ts (pure local, no network) npm run dev # run the CLI from source
MIT — Copyright (c) 2026 Rene Turcios