
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 分
请在仓库或注册中心条目中声明许可证。