
Hermai Mcp
io.github.hermai-ai由 GitHub 帳號 hermai-ai 發布v1.0.0更新於 Oct 24, 2026
Dedicated Hermai MCP server for schema lookup, request intake, and workflow classification.
概覽
一個本機 stdio MCP 伺服器,讓助理查詢 Hermai schema、提交 schema 請求、分類瀏覽器工作流程,並取得唯讀即時資料。
- 可以做什麼
- 依領域、任務、類別或驗證狀態搜尋並分頁瀏覽 Hermai 公開 schema,並查詢已提交 schema 請求的狀態。為脆弱的瀏覽器或 API 工作流程提交六欄位請求。在本機判斷工作流程屬於直接 API、隱藏端點、僅瀏覽器或需擁有者/授權處理。設定 API 金鑰後,透過 Hermai Cloud 執行已註冊 schema,回傳即時資料及點數與快取中繼資料。
- 適用情境
- 當代理執行環境支援 MCP,且希望把 Hermai 的 schema 探索與唯讀資料取得當成原生工具使用時適用,例如在獲准抓取前為某個來源與任務尋找已驗證的 schema。
- 執行需求
- 透過 npx 或全域 npm 安裝以 stdio 在本機執行,需要 Node.js。選用環境變數 HERMAI_API_BASE 或 HERMAI_PLATFORM_URL 設定 API 位址,HERMAI_API_KEY 或 HERMAI_PLATFORM_KEY 解鎖抓取工具,HERMAI_FETCH_TIMEOUT_MS 設定逾時。需要能連線至 Hermai API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Hermai Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Hermai MCP
Dedicated Model Context Protocol server for Hermai.
Use this package when an agent runtime supports MCP and should call Hermai as native tools. The Hermai CLI is a separate human/operator tool and is not required for MCP.
Install
Run directly with npx:
Or install globally:
MCP Client Config
Optional environment variables:
HERMAI_API_BASEorHERMAI_PLATFORM_URL: API base URL. Defaults tohttps://api.hermai.ai.HERMAI_API_KEYorHERMAI_PLATFORM_KEY: API key for authenticated Hermai APIs. Public schema lookup and schema-request intake work without a key. Setting a key also unlocks thefetch_schemaexecution tool (see below).HERMAI_FETCH_TIMEOUT_MS: request timeout forfetch_schema. Defaults to120000(hosted fetch lanes can run tens of seconds).
Claude Code workflow
Use the local MCP server when you want Claude Code to discover a schema, inspect the available workflow, and make an authenticated read request. Hermai MCP is a local stdio server. It is not a remote Claude connector.
Install Claude Code, then add Hermai to your personal Claude Code configuration:
The key is saved in your local Claude Code configuration. Do not put this command in a repository, shared shell history, or a project scoped MCP configuration.
Confirm that Claude Code can see the server:
Then start Claude Code and use this two step request:
After you approve the selected workflow:
lookup_schema is safe to use without a key. fetch_schema appears only when the
key is configured. It reads data through Hermai Cloud and consumes credits for a
successful request. Do not give the server browser cookies, bearer tokens, or a
request that changes data on another service.
For a full verification checklist and the expected failure paths, see the Claude Code guide.
Tools
Always available (no key required):
lookup_schema— search Hermai schemas by domain, task, category, or verification state.list_public_schemas— page through public schemas.submit_schema_request— submit the six-field intake for a brittle browser/API workflow.classify_browser_workflow— locally classify whether a workflow maps to direct API, hidden endpoint, browser-only, or owner/auth work.check_schema_request_status— check a schema request status.
Available only when HERMAI_API_KEY (or HERMAI_PLATFORM_KEY) is set:
fetch_schema— execute a registered schema through hosted/v1/fetchand return live data. Read-only data retrieval, and it consumes Hermai credits: a standard call costs 1 credit and some higher cost sites cost 5; only successful calls are billed. Inputs:site,endpoint(resolve both withlookup_schemafirst;endpointis case-sensitive), and optionalparams. The result includes the upstreamdataplus a meta summary (credits_used,credits_remaining,latency_ms,cached); failures surface the APIcodeandmessage, plusupgrade_toandupgrade_urlwhen a credit 402 offers an upgrade path. Use it for read workflows only — write/owner-approved workflows go through the Hermai CLI's signed-write path, not this tool.
Never submit cookies, bearer tokens, API keys, session IDs, or private session data through schema-request intake.
來源:README.md,提交 dd493f8
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。