Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Classifies GPU workloads as inference or training from telemetry alone via MCP tools.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"workloadtruth": {
"command": "uvx",
"args": [
"workloadtruth-cli",
"workloadtruth",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add workloadtruth -- uvx workloadtruth-cli workloadtruth mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"workloadtruth": {
"command": "uvx",
"args": [
"workloadtruth-cli",
"workloadtruth",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"workloadtruth": {
"type": "stdio",
"command": "uvx",
"args": [
"workloadtruth-cli",
"workloadtruth",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 RudrenduPaul 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.4)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Fomu MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Kenya government form guides: checklists, draft letters, eCitizen, Huduma, timelines. Sample data.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Install • Quickstart • CLI reference • Comparison • FAQ
Classify a GPU workload as `TRAINING`, `INFERENCE`, or `IDLE` from telemetry alone. No code changes to the workload, no self-reported job labels.
Every GPU scheduler in common use today, including run:ai, Slurm, and Kubernetes GPU operators, asks you to *declare* whether a job is training or inference at submission time. None of them check. WorkloadTruth reads GPU telemetry (utilization, memory pattern, power draw) and answers the question independently, so a mislabeled or misbehaving job doesn't go unnoticed.
# Real NVIDIA GPU telemetry (requires an NVIDIA driver on the host)
pip install "workloadtruth-cli[nvml]"
pip install workloadtruth-cli
npx workloadtruth-cli --help
[!NOTE]
The npm package is a launcher, not a standalone install.
npx workloadtruth-cliexecs the realworkloadtruthbinary from PATH, so the PyPI package (pip install workloadtruth-cli) must already be installed first.
# No GPU required. Classify a synthetic "training" telemetry trace.
$ workloadtruth classify --backend synthetic --profile training --samples 10 --interval 0 workload_type : TRAINING confidence : 1.00 gpu_index : 0 samples : 10 over 9.0s reasons:
$ workloadtruth classify --backend nvml --samples 10 --interval 1 --json
--json on every command switches to machine-readable output for scripts and agents.
WorkloadTruth currently ships a rule-based classifier only: a set of documented, inspectable thresholds over four features extracted from a telemetry window (average and variance of GPU utilization, memory-growth slope, average and variance of power draw). Every threshold lives as a named constant in src/workloadtruth/classifier/rules.py with a comment explaining its intuition. Nothing is a black box.
--experimental (an ML-based classifier) is present as a flag but fails loudly with an explanation rather than shipping a fake result. arXiv:2606.19262's trained model and dataset were never published, and this project has no NVIDIA GPU in its build environment to collect real training data. An ML classifier ships here only once it's trained on a real, disclosed dataset and independently shown to beat the rule-based baseline, not before.
workloadtruth benchmark measures the classifier's accuracy against documented synthetic GPU telemetry traces (see synthetic_backend.py for the exact profile parameters), both clean and under a deliberate evasion transform that mimics an operator disguising a training job as inference (capping utilization swings, flattening memory growth, injecting artificial idle gaps).
This is run on synthetic data, not live NVIDIA hardware, so it is not directly comparable to arXiv:2606.19262's real-hardware numbers. Both are reported below, side by side, never blended into one figure.
| arXiv:2606.19262 (real hardware, NVML) | WorkloadTruth (synthetic traces, 300 trials/cell) | |
|---|---|---|
| Clean accuracy | 98.2% | 100.0% |
| Evasion accuracy | 43-87% | 66.7% overall |
The overall evasion number hides the real finding. Broken out by workload type, WorkloadTruth's rule-based classifier is currently completely fooled on evasive training workloads (0% accuracy), while staying accurate on evasive inference and idle traces (100% each). Capping GPU utilization alone is enough to make a training job read as inference to this classifier today.
| Profile | Clean accuracy | Evasion accuracy |
|---|---|---|
| Training | 100.0% | 0.0% |
| Inference | 100.0% | 100.0% |
| Idle | 100.0% | 100.0% |
This is the concrete, disclosed gap the benchmark suite exists to surface and track, not a footnote. A rule-based classifier that only looks at utilization variance is trivially evadable. Closing this gap, through multi-signal fusion or a real trained classifier once data exists, is the roadmap, not a solved problem. Reproduce it yourself:
workloadtruth benchmark --trials 300 --window 30 --json
$ workloadtruth --help
Usage: workloadtruth [OPTIONS] COMMAND [ARGS]...
Classify a GPU workload as INFERENCE, TRAINING, or IDLE from telemetry alone.
Options: --version Show the version and exit. --help Show this message and exit.
Commands: benchmark Run the evasion-robustness benchmark against synthetic... classify One-shot classification of the current GPU workload. mcp Start an MCP server exposing classify/benchmark/verify-log... verify-log Verify the hash chain of a local audit log has not been... watch Continuously classify and append hash-chained entries to...
| Command | Purpose | |
|---|---|---|
classify | One-shot classification. `--backend synthetic\ | nvml, --profile (synthetic only), --gpu-index, --samples, --interval, --experimental (not yet available), --json`. |
watch | Continuous classification; appends a hash-chained entry to a local audit log on every window. --window (samples per window), --iterations (0 = run forever), --log-file, --json. | |
benchmark | Runs the evasion-robustness benchmark (see above). --trials, --window, --json. | |
verify-log | Re-derives every audit-log entry's hash and confirms the chain hasn't been tampered with. --log-file, --json. | |
mcp | Starts an MCP server (stdio) exposing classify_workload, run_benchmark, verify_audit_log as agent-callable tools. --backend. Requires pip install "workloadtruth-cli[mcp]" on Python 3.10+ (see below). |
Every command supports --json. Full flag reference: workloadtruth --help.
WorkloadTruth ships a Model Context Protocol server so an AI agent (Claude, Cursor, or any MCP-compatible client) can classify GPU workloads, run the evasion-robustness benchmark, and verify the audit log directly, without a human invoking the CLI by hand.
Install the extra:
pip install "workloadtruth-cli[mcp]"
Add it to your MCP client's config (for Claude Desktop, claude_desktop_config.json). The server is started via the workloadtruth mcp subcommand, not a separate console script:
{
"mcpServers": { "workloadtruth": { "command": "uvx", "args": ["--from", "workloadtruth-cli", "workloadtruth", "mcp"] } } }
The server exposes three tools over stdio:
TRAINING, INFERENCE, or IDLE. backend is "nvml" (real hardware) or "synthetic" (documented synthetic traces, no GPU required). Optionally appends the result to the hash-chained audit log.Example call, classifying a synthetic training trace with no GPU required:
classify_workload(backend="synthetic", profile="training", samples=10, interval_seconds=0)
-> {"workload_type": "TRAINING", "confidence": 1.0, "gpu_index": 0, ...}
Transport is stdio, so there is nothing to host: the MCP client spawns workloadtruth mcp as a local subprocess. A .well-known/agent.json manifest is also shipped at the repo root for A2A-style discovery, listing both the CLI and MCP interfaces and the packages that provide them. Source: src/workloadtruth/mcp_server.py.
workloadtruth watch appends a hash-chained entry to workloadtruth.log.jsonl on every classification window. Each entry's hash covers its own content plus the previous entry's hash, so any edit, reorder, or deletion after the fact breaks the chain from that point forward. workloadtruth verify-log re-derives every hash and reports the first broken link, if any.
This proves what was classified, when, and that the local record hasn't been silently altered afterward. It does not prove the classification itself was correct, and it is not evidence of regulatory compliance. See below.
WorkloadTruth's implementation is Python. NVML access (pynvml/nvidia-ml-py) is the mature, official way to read NVIDIA GPU telemetry, and it's also what the closest prior art (arXiv:2606.19262) uses. The npm package (workloadtruth-cli) is a thin launcher, not a reimplementation. It locates and execs the real workloadtruth binary installed from PyPI, so npx workloadtruth-cli works for npm-first agent tooling without duplicating the class
只显示了开头部分;其余内容请在仓库中阅读