{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.smlfg/hai-mcp",
  "slug": "hai-mcp",
  "title": "HAI-MCP",
  "summary": "Model-agnostic MCP control plane for HAI: bounded missions, owner-gated actions, drift checks.",
  "version": "0.1.0",
  "serverKey": "hai-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/hai-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/hai-mcp/install.md",
  "trust": {
    "score": 84,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T19:38:48.237286451Z"
  },
  "methods": [
    {
      "id": "pypi",
      "label": "PyPI (uvx)",
      "transport": "stdio",
      "command": "uvx",
      "args": [
        "hai-mcp==0.1.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add hai-mcp -- uvx hai-mcp==0.1.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"hai-mcp\": {\n      \"args\": [\n        \"hai-mcp==0.1.0\"\n      ],\n      \"command\": \"uvx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"hai-mcp\": {\n      \"args\": [\n        \"hai-mcp==0.1.0\"\n      ],\n      \"command\": \"uvx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"hai-mcp\": {\n      \"args\": [\n        \"hai-mcp==0.1.0\"\n      ],\n      \"command\": \"uvx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.hai-mcp]\ncommand = \"uvx\"\nargs = [\"hai-mcp==0.1.0\"]"
        }
      ],
      "requires": [
        "uv (https://docs.astral.sh/uv/)"
      ]
    }
  ],
  "env": [
    {
      "name": "HAI_HOME",
      "required": false,
      "secret": false,
      "description": "Directory for the global HAI state (missions, leases, proofs). Default: ~/.hai",
      "help": "Directory for the global HAI state (missions, leases, proofs). Default: ~/.hai",
      "placeholder": "<HAI_HOME>"
    },
    {
      "name": "HAI_OWNER_HOME",
      "required": false,
      "secret": false,
      "description": "Directory for the owner out-of-band channel (one-time nonces). Deliberately outside HAI_HOME. Default: ~/.hai-owner",
      "help": "Directory for the owner out-of-band channel (one-time nonces). Deliberately outside HAI_HOME. Default: ~/.hai-owner",
      "placeholder": "<HAI_OWNER_HOME>"
    },
    {
      "name": "HAI_TRANSPORT",
      "required": false,
      "secret": false,
      "description": "Transport selection: 'stdio' (default) or 'streamable-http'.",
      "help": "Transport selection: 'stdio' (default) or 'streamable-http'.",
      "default": "stdio",
      "placeholder": "stdio"
    },
    {
      "name": "HAI_HTTP_HOST",
      "required": false,
      "secret": false,
      "description": "Host for streamable-http transport. Refused unless loopback or HAI_HTTP_TOKEN is set.",
      "help": "Host for streamable-http transport. Refused unless loopback or HAI_HTTP_TOKEN is set.",
      "default": "127.0.0.1",
      "placeholder": "127.0.0.1"
    },
    {
      "name": "HAI_HTTP_PORT",
      "required": false,
      "secret": false,
      "description": "Port for streamable-http transport.",
      "help": "Port for streamable-http transport.",
      "default": "8765",
      "placeholder": "8765"
    },
    {
      "name": "HAI_HTTP_TOKEN",
      "required": false,
      "secret": true,
      "description": "Bearer token required to accept non-loopback streamable-http connections. Loopback binds without a token.",
      "help": "Bearer token required to accept non-loopback streamable-http connections. Loopback binds without a token.",
      "placeholder": "<HAI_HTTP_TOKEN>"
    }
  ],
  "expectedTools": [
    "hai_health",
    "hai_status",
    "hai_get_next_step",
    "hai_read_artifacts",
    "hai_park",
    "hai_set_focus",
    "hai_propose_next_step",
    "hai_accept_next_step",
    "hai_checkpoint",
    "hai_recover",
    "hai_open_mission",
    "hai_authorize_session",
    "hai_bind_project",
    "hai_get_contract",
    "hai_check_activity",
    "hai_park_item",
    "hai_recontract",
    "hai_close_mission",
    "hai_intake",
    "hai_distill",
    "hai_mission_start",
    "hai_drift_check",
    "hai_proof",
    "hai_stop"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: hai_health, hai_status, hai_get_next_step, hai_read_artifacts, hai_park, hai_set_focus, hai_propose_next_step, hai_accept_next_step, ….",
    "If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T19:38:48.237286451Z"
}
