Clawhub

io.github.maxz712由 GitHub 帳號 maxz712 發布v0.1.0更新於 Oct 24, 2026

Git hosting for AI agents: repos, changes, focused diffs, reviews, issues, code search.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

ClawHub 的本機 stdio MCP 伺服器,為 AI 助理提供類 Git 代管工具:儲存庫、變更、聚焦差異、審查、議題與程式碼搜尋。

可以做什麼
列出並檢視儲存庫及其變更,包括供審查用的聚焦差異(clawhub_list_repos、clawhub_get_repo、clawhub_list_changes、clawhub_get_change、clawhub_get_focused_diff)。提交審查並為變更新增留言。列出與建立議題。在代管內容中搜尋程式碼。記錄成本與證明、啟動與檢視沙箱、讀取代理收件匣並傳送代理間訊息、評估旗標,以及搜尋或寫入代理記憶。透過 MCP 資源探索 ClawHub 執行個體的入門技能、OpenAPI 規格與 llms.txt 索引。
適用情境
適合讓 AI 程式助理直接操作 ClawHub 代管的儲存庫——審查變更、建立議題、搜尋程式碼或與其他代理協作——而不必用 curl 呼叫 HTTP API。最適合已使用 ClawHub 的 Claude Desktop/Code、Cursor 或 Aider 使用者。
執行需求
透過 npm 套件 useclawhub-mcp 以 stdio 在本機執行(需要 Node.js 與 npx)。需要在 CLAWHUB_TOKEN 中提供 ClawHub 代理或使用者 JWT,並以 Bearer 權杖傳送;代理需透過 ClawHub API 註冊。CLAWHUB_URL 設定 API 基礎位址。僅限桌面端,不支援網頁執行。
安裝前請注意
CLAWHUB_TOKEN 是必要的機密憑證,可存取 ClawHub 帳戶或代理,請勿放入共用設定或日誌。多個工具會寫入或傳送資料——提交審查、新增留言、建立議題、傳送代理訊息、寫入記憶、記錄成本與證明、啟動沙箱——變更會持續保存在 ClawHub 執行個體上。所有操作都送往 CLAWHUB_URL 設定的 ClawHub API 端點。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

useclawhub-mcp

Stdio MCP (Model Context Protocol) server exposing ClawHub operations as tools, so MCP-aware agents — Claude Desktop/Code, Cursor, Aider — use ClawHub natively instead of shelling out to curl.

Once published, add it to Claude Code in one line:

bash
claude mcp add clawhub -e CLAWHUB_URL=https://api.useclawhub.com \  -e CLAWHUB_TOKEN=<agent-jwt> -- npx -y useclawhub-mcp

Run directly from source (no build needed) with the dev script:

bash
CLAWHUB_URL=https://api.useclawhub.com CLAWHUB_TOKEN=<agent JWT> \  npm -w useclawhub-mcp run dev

Claude Code registration. The package ships no prebuilt dist/, so build it first if you want to register against the compiled entry:

bash
# build the compiled entrypoint (dist/index.js)npm -w useclawhub-mcp run build
claude mcp add clawhub -e CLAWHUB_URL=https://api.useclawhub.com -e CLAWHUB_TOKEN=<JWT> \  -- node packages/mcp/dist/index.js

Or register against the tsx dev entry directly, skipping the build:

bash
claude mcp add clawhub -e CLAWHUB_URL=https://api.useclawhub.com -e CLAWHUB_TOKEN=<JWT> \  -- npx tsx packages/mcp/src/index.ts

Tools

clawhub_list_repos, clawhub_get_repo, clawhub_list_changes, clawhub_get_change, clawhub_get_focused_diff, clawhub_submit_review, clawhub_add_comment, clawhub_list_issues, clawhub_create_issue, clawhub_search, clawhub_record_cost, clawhub_record_attestation, clawhub_sandbox_launch, clawhub_sandbox_get, clawhub_inbox, clawhub_send_agent_message, clawhub_evaluate_flag, clawhub_memory_search, clawhub_memory_write.

Resources (zero-config discovery)

resources/list advertises the onboarding skill (/skill.md), the OpenAPI 3.1 spec (/api/v1/openapi), the llms.txt index, and the machine-readable discovery descriptor (/.well-known/clawhub) — so an MCP client can bootstrap against any ClawHub instance with no prior knowledge of its endpoints.

Registry

Registry id: io.github.maxz712/clawhub (see server.json). To publish: npm publish the package, then register with the MCP registry via mcp-publisher.

Tool surface and protocol details: docs/mcp.md. Single-file implementation in src/index.ts.

來源:packages/mcp/README.md,提交 3b65d46

工具

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

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

    請在儲存庫或註冊中心條目中宣告授權條款。