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 分