AI Workbench MCP

io.github.hrishikesh-thakre由 GitHub 帳號 hrishikesh-thakre 發布v0.6.0a0更新於 Nov 3, 2026

Goose-first MCP server for Workbench-owned acceptance evidence, validation gates, and analytics.

已驗證STDIO僅桌面開發者工具資料與分析

概覽

AI 產生的概覽

本機 MCP 伺服器,用來監督 AI 編碼代理、擷取執行證據、驗證工作,並產生 accept、needs_review 或 block 的 PR 閘門結論。

可以做什麼
  • 開啟並設定執行:啟動執行、選擇策略包、選擇模型。
  • 記錄代理執行過程,並為該次執行擷取本機證據。
  • 驗證執行並寫出驗證報告,再套用品質閘門並寫出修訂決定。
  • 分析多次執行,並產生可直接用於 PR 的報告,結論為 accept、needs_review 或 block。
適用情境
當你希望為本機儲存庫中 AI 編碼代理的工作留下可稽核的驗收紀錄時使用:證據擷取、驗證設定、品質閘門與 PR 報告,特別適合 Goose、Codex 或 OpenCode 工作流程。
執行需求
以本機 Python 程序執行,從 PyPI 套件 ai-workbench-mcp 安裝,命令列名稱為 ai-workbench。需先註冊專案目錄並啟動本機 supervisor;Codex 掛鉤需安裝並信任一次。未宣告任何帳號、API 金鑰或環境變數。
安裝前請注意
目前為公開 alpha:守護程序、Codex 掛鉤與 OpenCode 轉接器涵蓋範圍皆屬 alpha 機制,且它只檢查證據品質與驗收就緒度,並不證明工作絕對正確,高風險工作仍需人工複核。它會將執行產物與報告寫入專案,runs/ 不應提交;提交的範例證據必須去識別化。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 AI Workbench MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

AI Workbench

[License]

AI Workbench supervises AI coding agents, captures evidence, validates work, applies acceptance policy, and produces auditable PR-ready reports.

The PyPI package remains ai-workbench-mcp for this public alpha because the ai-workbench package name is already occupied. The product and CLI are AI Workbench:

bash
pip install ai-workbench-mcpai-workbench --help

Current source metadata targets unpublished ai-workbench-mcp==0.8.0a0. This public alpha consolidates local supervision, evidence capture, validation, acceptance policy, and PR reporting into one product surface.

Public Alpha Warning

The supervisor is the preferred automated evidence path, but daemon, Codex hook, and OpenCode adapter coverage are alpha mechanisms. AI Workbench checks evidence quality and acceptance readiness; it does not prove the work is absolutely correct. High-risk work still requires human review.

Architecture

  • AI Workbench supervisor captures local evidence.
  • AI Workbench validation writes validation_report.json.
  • AI Workbench quality gate writes revision_decision.json.
  • AI Workbench PR/report surfaces render accept, needs_review, or block.

Agent output is a proposal. Workbench accepts evidence.

MCP is the connection protocol. AI Workbench MCP is the tool server. Acceptance is decided by the selected validation profile and quality gate. The agent performs. Workbench accepts. MCP connects them.

Quick Start

Register a project once and start the local supervisor:

bash
pip install ai-workbench-mcpai-workbench supervisor setup --project-dir . --task-type code_changeai-workbench supervisor start

Run Codex, OpenCode, Goose, or another supported local workflow in the project. Then inspect the latest report:

bash
ai-workbench supervisor statusai-workbench reports show latest --project-dir .

Render PR-ready artifacts from a finalized run:

bash
ai-workbench pr-gate --run-dir runs/<run_id>

The canonical local run ledger is:

text
runs/<run_id>/  task_metadata.json  final_prompt.md  model_selection.json  model_output.md  validation_report.json  revision_decision.json  run_log.jsonl  metadata.json  transcript.jsonl  commands.jsonl  workspace/  validation/  artifacts/

validation_report.json and revision_decision.json are the final acceptance authority. Supporting supervisor reports are local evidence, not a substitute for those Workbench artifacts.

Codex Hooks

Install project-local Codex hooks:

bash
ai-workbench setup codex --project-dir . --task-type code_change

Restart Codex or start a new session, open /hooks, review the project hook, and trust it once. Until a hook event is observed, supervisor status reports Codex coverage as configured but unverified.

Goose MCP

AI Workbench still exposes the same MCP tool lifecycle. Register the server with Goose or another MCP host using:

bash
ai-workbench mcp serve

The seven MCP tools remain:

text
workbench_open_runworkbench_select_policy_packworkbench_select_modelworkbench_record_executionworkbench_validate_runworkbench_quality_gateworkbench_analyze_runs

PR Gate

Workbench PR acceptance consumes real Workbench run evidence:

bash
ai-workbench pr-gate \  --run-dir runs/<run_id> \  --out runs/pr_gate/pr_comment.md \  --json-out runs/pr_gate/pr_decision.json

Outcomes are exactly:

  • accept
  • needs_review
  • block

Missing, unreadable, or scaffold-only evidence blocks. A green CI run, uploaded artifact, sticky PR comment, or model self-claim is not acceptance evidence.

Bootstrap Assets

To add starter configs, prompts, recipes, docs, and the GitHub PR-gate workflow to a repository:

bash
ai-workbench bootstrap --target .

The bootstrap keeps runs/ ignored.

Package Demo

For a package-only synthetic demo:

bash
ai-workbench demo --target ./workbench-first-run

This shows accept, needs_review, and block PR-gate outcomes with fixture evidence. It is not a real target-repository acceptance run.

Development

bash
python -m pip install -e ".[dev,publish]"python -m pytest -q -p no:cacheproviderpython -m ruff check . --no-cachepython -m mypy --no-sqlite-cache --no-incrementalai-workbench demo --target runs/package_demo_smokeai-workbench validate --project ai_workbench_mcp --profile scaffold --run-dir runs/scaffold-smoke

Do not commit runs/. Committed sample evidence must be sanitized and live under examples/.

Docs

Recipes:

Sample evidence:

License

Apache-2.0. See LICENSE. MIT-origin attribution for the consolidated Prove It code is retained in NOTICE.

來源:README.md,提交 c86ff8f

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.6.0a0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分