HAI-MCP
Model-agnostic MCP control plane for HAI: bounded missions, owner-gated actions, drift checks.
Connector by smlfg · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/smlfg-hai-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 26, 2026.
- Tools
- 10 read · 9 write · 0 delete · 5 not yet classified
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- None found
- Runs as
- Python package
Tools by what they do 24
Read from the source code; the running server may list different tools.
Read 10 · Look things up without changing anything.
hai_check_activityhai_checkpointhai_drift_checkhai_get_contracthai_get_next_stephai_healthhai_intakehai_read_artifactshai_recoverhai_status
Write 9 · Create, change, send or run things.
hai_accept_next_stephai_authorize_sessionhai_close_missionhai_mission_starthai_proofhai_propose_next_stephai_recontracthai_set_focushai_stop
Not yet classified 5 · We could not tell from the name and description.
hai_bind_projecthai_distillhai_open_missionhai_parkhai_park_item
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
HAI_HTTP_TOKEN
Other settings (environment variables or headers).
HAI_HOMEHAI_HTTP_HOSTHAI_HTTP_PORTHAI_OWNER_HOMEHAI_TRANSPORT
Network hosts it talks to 3
github.com· found in codehuman-agent-interface.com· found in codentfy.sh· found in code
Files it touches
/etc/passwd/home/smlflg/.hai/home/smlflg/.hai-owner/home/smlflg/Projekte/MBP_Mirgraatin/HAI-MCP/tmp/hai-mcp-cursor-isolated- Your home directory (~)
Tools (24)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
hai_accept_next_stepPromote proposed (or provided) content to canonical NEXT_STEP.md — owner-gated. Default gate (nonce): call once WITHOUT owner_code. file/ntfy delivers a one-time code to the owner (never to this client); call again with owner_code. touchid (macOS) shows a Touch ID prompt in the server process; when status is owner_approved, call again with the same arguments and no owner_code. Bound to the exact content, single-use. Legacy gate (ack_legacy): owner_ack=true + reason.
hai_authorize_sessionGrant a time-bounded session lease tied to mission ID and exact contract version.
hai_bind_projectBind a device-local directory to a logical project_id mount table entry. Requires owner_ack=true + reason.
hai_check_activityDeterministically classify planned or observed activity against the mission contract.
hai_checkpointSnapshot ACTIVE_CONTEXT and optional project artifacts under HAI_HOME/history/checkpoints.
hai_close_missionComplete with verified per-criterion evidence, or abandon (owner-gated). Abandon: file/ntfy delivers a one-time code; call again with owner_code. touchid (macOS): when status is owner_approved, call again with the same arguments and no owner_code. Legacy gate: owner_ack=true.
hai_distillReduce an intake to EXACTLY one decision + one next step; the server parks everything else.
hai_drift_checkLightweight mismatch check against the mission contract. Thin wrapper over hai_check_activity.
hai_get_contractReturn the exact canonical mission contract for a valid session lease (not a summary).
hai_get_next_stepRead the canonical NEXT_STEP.md for a project (or report none).
hai_healthCheck HAI-MCP server health and optional project path usability. No model calls.
hai_intakeCapture a raw thought immutably. Returns an intake id only — never actionable, never starts an agent.
hai_mission_startFast start: declare problem + artifact + time limit. Thin wrapper over hai_open_mission (one canonical contract).
hai_open_missionOpen a bounded mission with a versioned canonical contract. One active mission globally.
hai_parkPark a thought/meta item in HAI inbox without changing ACTIVE lanes.
Show 9 more tools
hai_park_itemPark a mission-linked idea with full context. Grants no execution right; contract unchanged.
hai_proofClose a mission only against verified per-criterion evidence. Thin wrapper over hai_close_mission (completed).
hai_propose_next_stepWrite NEXT_STEP.proposed.md (not canonical). Promote via hai_accept_next_step.
hai_read_artifactsRead-only summary of HAI Projek-Managment run-contract artifacts.
hai_recontractApply a visible field-level contract diff; revokes all leases. Owner-gated. First call (no owner_code) returns the diff. file/ntfy delivers a one-time code to the owner; call again with owner_code. touchid (macOS): when status is owner_approved, call again with the same arguments and no owner_code. Legacy gate: owner_ack=true.
hai_recoverReturn the smallest recovery next action from latest or named checkpoint (read-only advice).
hai_set_focusSet focus and register an ACTIVE lane (max 2). Fails if a third ACTIVE is requested.
hai_statusReturn ACTIVE lanes, focus, inbox count, and optional project next-step flags.
hai_stopHard day terminal: record the three answers, invalidate active leases; no next-day plan. Missions are not closed. manual_practice: what the owner did BY HAND today (e.g. "read the auth diff", "ran pytest", "wrote the date regex") — the currency logbook for verification skills.
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 2
- Weekly downloads
- 47
- Last commit
- Oct 22, 2026 (6 days ago)
- Last release
- Oct 13, 2026 (15 days ago)
- Last package publish
- Oct 13, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.smlfg/hai-mcp- Version
- 0.1.0
- Auth
- API key
- Packages
- pypi hai-mcp
- License
- MIT
- Repository
- github.com/smlfg/hai-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from smlfg
- 0.570score
pdf-to-md
smlfg
Convert PDFs (lecture slides, scripts, books) into clean Markdown/text an agent can read and search, with automatic fallback to Tesseract OCR for scanned PDFs.
SkillAFreshness: AClaude Code +9 - 0.570score
archify-swarm
smlfg
Map a repository's architecture with several cheap/free models in parallel, verify every claimed file:line deterministically against the committed code, and…
SkillAFreshness: AClaude Code +9 - 0.565score
agentic-gate-verification
smlfg
Decide whether agentic work may proceed, be marked done, merge, or spawn more work.
SkillAFreshness: AClaude Code +9 - 0.565score
commit
smlfg
Create atomic git commits with a secrets/artifact safety check, green tests, and explicit human approval per commit.
SkillAFreshness: AClaude Code +9 - 0.565score
cross-model-review
smlfg
Get independent second, third and fourth opinions from different model families on a problem or solution, then synthesise convergence (validated) versus…
SkillAFreshness: AClaude Code +9 - 0.565score
automation-handover
smlfg
Hand a verified automation over to its users with a short explanation, a visible demo through the real UI, a demonstrated stop path, and one small user action…
SkillAFreshness: AClaude Code +9
Cite this page
HAI-MCP. Agent Mart. https://agentmart.dev/connectors/smlfg-hai-mcp (last updated 2026-10-24)