HAI MCP Server
by smlfgio.github.smlfg/hai-mcpv0.1.0
Model-agnostic MCP control plane for HAI: bounded missions, owner-gated actions, drift checks.
context tax
pending
security
pending
cold start
pending
freshness
pending
Our reading of HAI, from the data
HAI is an MCP server from smlfg, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
It runs locally on your machine over stdio and needs one secret (HAI_HTTP_TOKEN); use a scoped, least-privilege key.
Install HAI MCP server
Install in Claude Code
claude mcp add hai -e HAI_HTTP_TOKEN='<hai-http-token>' -- uvx hai-mcpInstall in Cursor
{
"mcpServers": {
"hai": {
"command": "uvx",
"args": [
"hai-mcp"
],
"env": {
"HAI_HTTP_TOKEN": "<hai-http-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"hai": {
"command": "uvx",
"args": [
"hai-mcp"
],
"env": {
"HAI_HTTP_TOKEN": "<hai-http-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"hai": {
"type": "stdio",
"command": "uvx",
"args": [
"hai-mcp"
],
"env": {
"HAI_HTTP_TOKEN": "<hai-http-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"hai": {
"command": "uvx",
"args": [
"hai-mcp"
],
"env": {
"HAI_HTTP_TOKEN": "<hai-http-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| HAI_HOME | — | — | Directory for the global HAI state (missions, leases, proofs). Default: ~/.hai |
| HAI_OWNER_HOME | — | — | Directory for the owner out-of-band channel (one-time nonces). Deliberately outside HAI_HOME. Default: ~/.hai-owner |
| HAI_TRANSPORT | — | — | Transport selection: 'stdio' (default) or 'streamable-http'. |
| HAI_HTTP_HOST | — | — | Host for streamable-http transport. Refused unless loopback or HAI_HTTP_TOKEN is set. |
| HAI_HTTP_PORT | — | — | Port for streamable-http transport. |
| HAI_HTTP_TOKEN | — | yes | Bearer token required to accept non-loopback streamable-http connections. Loopback binds without a token. |
Freshness
Not enough public signals yet to judge maintenance.
Last commit (default branch)
2026-10-13 · 5d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-10-13 · 5d ago · official registry · v0.1.0
FAQ
›How do I install the HAI MCP server in Claude Code?
Run: claude mcp add hai -e HAI_HTTP_TOKEN='<hai-http-token>' -- uvx hai-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does HAI require an API key?
Yes. It expects HAI_HTTP_TOKEN, of which 1 is a secret.
›Can I use HAI as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is HAI in the official MCP registry?
Yes, as io.github.smlfg/hai-mcp.
Sources and method
- Official MCP Registry entry
- updated 2026-10-13
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Spot an error? Request a correction or claim the listing.