Back to Browse

Hai MCP Server

by Smlfg
Developer ToolsModerate5.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

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

About

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

Security Report

5.2
Moderate5.2Moderate Risk

HAI-MCP is a governance control-plane server that explicitly avoids shell execution, git operations, and LLM calls, and it enforces owner-gated nonce and bearer-token auth for sensitive actions. The reviewed portion (README and mission.py) shows fail-closed validation, path confinement, and a hash-chained audit log, with no evidence of exfiltration or hardcoded secrets; the remaining source files were truncated and were not reviewed. Minor observations are limited to the honor-system ack_legacy mode and the optional HTTP transport being loopback-only by default without auth enforced beyond HAI_HTTP_TOKEN. Supply chain analysis found 5 known vulnerabilities in dependencies (0 critical, 5 high severity). Package verification found 1 issue.

3 files analyzed · 9 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

env_vars

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

network_websocket

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Directory for the global HAI state (missions, leases, proofs). Default: ~/.haiOptional

Environment variable: HAI_HOME

Directory for the owner out-of-band channel (one-time nonces). Deliberately outside HAI_HOME. Default: ~/.hai-ownerOptional

Environment variable: HAI_OWNER_HOME

Transport selection: 'stdio' (default) or 'streamable-http'.Optional

Environment variable: HAI_TRANSPORT

Host for streamable-http transport. Refused unless loopback or HAI_HTTP_TOKEN is set.Optional

Environment variable: HAI_HTTP_HOST

Port for streamable-http transport.Optional

Environment variable: HAI_HTTP_PORT

Bearer token required to accept non-loopback streamable-http connections. Loopback binds without a token.Required

Environment variable: HAI_HTTP_TOKEN

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-smlfg-hai-mcp": {
      "env": {
        "HAI_HOME": "your-hai-home-here",
        "HAI_HTTP_HOST": "your-hai-http-host-here",
        "HAI_HTTP_PORT": "your-hai-http-port-here",
        "HAI_TRANSPORT": "your-hai-transport-here",
        "HAI_HTTP_TOKEN": "your-hai-http-token-here",
        "HAI_OWNER_HOME": "your-hai-owner-home-here"
      },
      "args": [
        "hai-mcp"
      ],
      "command": "uvx"
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!