Skip to main content

HAI-MCP

io.github.smlfg/hai-mcp

v0.1.0Updated Oct 13, 2026stdio · PyPI

Model-agnostic MCP control plane for HAI: bounded missions, owner-gated actions, drift checks.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add hai-mcp -e HAI_TRANSPORT=stdio -e HAI_HTTP_HOST=127.0.0.1 -e HAI_HTTP_PORT=8765 -- uvx hai-mcp==0.1.0

Configuration

6 settings.

  • HAI_HTTP_TOKEN
    Env var· optional· secret
    Bearer token required to accept non-loopback streamable-http connections. Loopback binds without a token.
  • HAI_HOME
    Env var· optional
    Directory for the global HAI state (missions, leases, proofs). Default: ~/.hai
  • HAI_OWNER_HOME
    Env var· optional
    Directory for the owner out-of-band channel (one-time nonces). Deliberately outside HAI_HOME. Default: ~/.hai-owner
  • HAI_TRANSPORT
    Env var· optional
    Transport selection: 'stdio' (default) or 'streamable-http'.Default: stdio
  • HAI_HTTP_HOST
    Env var· optional
    Host for streamable-http transport. Refused unless loopback or HAI_HTTP_TOKEN is set.Default: 127.0.0.1
  • HAI_HTTP_PORT
    Env var· optional
    Port for streamable-http transport.Default: 8765

Listed in the official MCP Registry since Oct 13, 2026. Mirrored daily; last checked Nov 26, 2026.