Agenthub Monitor

io.github.NEVELSK65由 GitHub 账号 NEVELSK65 发布v1.0.0更新于 Oct 24, 2026

Renders a pipeline DAG and test-harness dashboard inline as an MCP App

已验证STDIO仅桌面开发者工具数据与分析

概览

AI 生成的概览

一个 MCP App 服务器,在宿主内嵌渲染交互式流水线 DAG 与测试框架仪表盘,状态来自本地 JSON 文件。

可以做什么
在支持 MCP App 的宿主中内嵌渲染流水线仪表盘,按波次分组显示 DAG 节点及各自状态,并展示通过率、严重失败、成本与延迟等测试框架指标。以结构化 JSON 返回当前流水线状态。在服务器自身的内存状态中记录一次操作请求,供仪表盘显示该请求已被提出。未配置状态文件时提供内置示例数据,并标记为示例数据。
适用场景
适合希望在 Claude Desktop 等支持 MCP App 的客户端中直观查看 CI、编排器或测试框架流水线运行情况,而不必阅读原始状态输出的场景。也适合在接入自己的状态文件前,用内置示例数据预览仪表盘。
运行要求
以本地 Python 进程通过 stdio 运行,需要 Python 3.10 及以上,无第三方依赖。可选设置环境变量 AGENTHUB_STATE_FILE 为符合文档格式的 JSON 文件绝对路径;未设置时使用示例数据。无需认证或网络访问。
安装前请注意
每次工具调用都会重新读取状态文件,因此写入其中的内容都会显示在仪表盘上。trigger_action 只标注内存状态,不执行任何操作,不能用来真正触发流水线动作。节点状态字符串会原样传给界面。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Agenthub Monitor,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

AgentHub Monitor

An MCP App server: it renders an interactive pipeline dashboard inside the host window (Claude Desktop, Claude Code, and other MCP App–capable clients) instead of returning a wall of text.

The dashboard shows two things side by side:

  • DAG state — nodes of a pipeline run, grouped into waves, each with its own status.
  • Harness metrics — scenario pass rate, critical failures, accumulated cost and latency.

Point it at your own pipeline's JSON export and it becomes a live view of your runs. With no configuration it serves a built-in sample, so the UI is useful the moment you install it.

Tools

ToolWhat it doesRead-only
show_agenthub_monitorRenders the dashboard inline in the hostyes
get_statusReturns the current pipeline state as structured JSONyes
trigger_actionRecords an action request in the server's own stateno

trigger_action does not execute anything. It annotates the server's in-memory state so the dashboard can show that an action was requested. This server runs no commands, spawns no processes, and makes no network calls.

Install

Requires Python 3.10+. No third-party dependencies.

bash
git clone https://github.com/NEVELSK65/mcp-agenthub-monitor.gitcd mcp-agenthub-monitorpython3 -m unittest discover -s tests    # optional: verify

Configure

Add to your MCP client configuration:

json
{  "mcpServers": {    "agenthub-monitor": {      "command": "python3",      "args": ["/absolute/path/to/mcp-agenthub-monitor/server.py"],      "env": {        "AGENTHUB_STATE_FILE": "/absolute/path/to/your/pipeline-state.json"      }    }  }}

AGENTHUB_STATE_FILE is optional. Without it the server returns sample data, flagged with is_sample_data: true so it is never mistaken for a real run.

State file format

Write this JSON from your own CI, orchestrator, or test harness:

json
{  "dag": {    "title": "Nightly build",    "total_nodes": 6,    "completed_nodes": 4,    "waves": 3,    "node_states": {      "node_01_checkout": "COMPLETED",      "node_02_unit_tests": "COMPLETED",      "node_03_integration": "RUNNING",      "node_04_security_scan": "PENDING"    }  },  "harness": {    "pass_rate_pct": 93.75,    "total_scenarios": 16,    "passed_scenarios": 15,    "critical_failures": 0,    "total_cost_usd": 0.112,    "total_latency_ms": 41700  },  "log": "Integration stage in progress."}

The file is re-read on every tool call, so the dashboard reflects whatever your pipeline last wrote. Node status strings are passed through to the UI as-is; COMPLETED, RUNNING, PENDING and FAILED get distinct colours.

Resource

The UI is exposed as an MCP resource at ui://agenthub/mcp-app.html with MIME type text/html;profile=mcp-app. Hosts that support MCP Apps render it inline; hosts that do not can still read it as an HTML document.

Privacy

The server reads one local file (the one you name in AGENTHUB_STATE_FILE) and sends nothing anywhere. See PRIVACY.md.

License

MIT — see LICENSE.

来源:README.md,提交 0501d15

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分