hermai-mcp
v1.1.0
Published
Hermai MCP server for website API schema lookup, hosted fetch execution, request intake, and workflow classification.
Maintainers
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:
npx -y hermai-mcpOr install globally:
npm install -g hermai-mcp
hermai-mcpMCP Client Config
{
"mcpServers": {
"hermai": {
"command": "npx",
"args": ["-y", "hermai-mcp"]
}
}
}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).
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 per call. 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. 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.
