Koskamo

HAI-MCP

HAI-MCP is an open-source, model-agnostic MCP control-plane implementation of the Human Agent Interface (HAI). It governs how agentic work is authorized, scoped, recorded, and handed back to humans. It exposes tools for mission contracts, session leasing, activity classification, owner gates, evidence closure, and recovery, ensuring agents remain bounded and observable without executing work itself.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

HAI-MCP logo, by Samuel FleigCommunity listingLocal stdioSource reviewed; not executedPublished by Samuel Fleig
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 1 GitHub star

What you can do with it

  • Define and manage time-bounded mission contracts
  • Authorize agent sessions with owner-gated access
  • Check for activity drift against mission scope
  • Record evidence and close missions

Source and maintenance

Community listingRegistry 0.1.0MIT
Last repository push
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

hai-mcp 0.1.0

pypiuvx
hai-mcp package definition
{
  "version": "0.1.0",
  "transport": "stdio",
  "identifier": "hai-mcp",
  "runtimeHint": "uvx",
  "registryType": "pypi",
  "registryBaseUrl": "https://pypi.org",
  "environmentVariables": [
    {
      "name": "HAI_HOME",
      "description": "Directory for the global HAI state (missions, leases, proofs). Default: ~/.hai"
    },
    {
      "name": "HAI_OWNER_HOME",
      "description": "Directory for the owner out-of-band channel (one-time nonces). Deliberately outside HAI_HOME. Default: ~/.hai-owner"
    },
    {
      "name": "HAI_TRANSPORT",
      "default": "stdio",
      "description": "Transport selection: 'stdio' (default) or 'streamable-http'."
    },
    {
      "name": "HAI_HTTP_HOST",
      "default": "127.0.0.1",
      "description": "Host for streamable-http transport. Refused unless loopback or HAI_HTTP_TOKEN is set."
    },
    {
      "name": "HAI_HTTP_PORT",
      "default": "8765",
      "description": "Port for streamable-http transport."
    },
    {
      "name": "HAI_HTTP_TOKEN",
      "description": "Bearer token required to accept non-loopback streamable-http connections. Loopback binds without a token."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "hai-mcp": {
      "command": "uvx",
      "args": [
        "hai-mcp==0.1.0"
      ],
      "env": {
        "HAI_HOME": "<YOUR_HAI_HOME>",
        "HAI_OWNER_HOME": "<YOUR_HAI_OWNER_HOME>",
        "HAI_TRANSPORT": "<YOUR_HAI_TRANSPORT>",
        "HAI_HTTP_HOST": "<YOUR_HAI_HTTP_HOST>",
        "HAI_HTTP_PORT": "<YOUR_HAI_HTTP_PORT>",
        "HAI_HTTP_TOKEN": "<YOUR_HAI_HTTP_TOKEN>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "hai-mcp": {
      "command": "uvx",
      "args": [
        "hai-mcp==0.1.0"
      ],
      "env": {
        "HAI_HOME": "<YOUR_HAI_HOME>",
        "HAI_OWNER_HOME": "<YOUR_HAI_OWNER_HOME>",
        "HAI_TRANSPORT": "<YOUR_HAI_TRANSPORT>",
        "HAI_HTTP_HOST": "<YOUR_HAI_HTTP_HOST>",
        "HAI_HTTP_PORT": "<YOUR_HAI_HTTP_PORT>",
        "HAI_HTTP_TOKEN": "<YOUR_HAI_HTTP_TOKEN>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "hai-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "hai-mcp==0.1.0"
      ],
      "env": {
        "HAI_HOME": "<YOUR_HAI_HOME>",
        "HAI_OWNER_HOME": "<YOUR_HAI_OWNER_HOME>",
        "HAI_TRANSPORT": "<YOUR_HAI_TRANSPORT>",
        "HAI_HTTP_HOST": "<YOUR_HAI_HTTP_HOST>",
        "HAI_HTTP_PORT": "<YOUR_HAI_HTTP_PORT>",
        "HAI_HTTP_TOKEN": "<YOUR_HAI_HTTP_TOKEN>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "hai-mcp": {
      "command": "uvx",
      "args": [
        "hai-mcp==0.1.0"
      ],
      "env": {
        "HAI_HOME": "<YOUR_HAI_HOME>",
        "HAI_OWNER_HOME": "<YOUR_HAI_OWNER_HOME>",
        "HAI_TRANSPORT": "<YOUR_HAI_TRANSPORT>",
        "HAI_HTTP_HOST": "<YOUR_HAI_HTTP_HOST>",
        "HAI_HTTP_PORT": "<YOUR_HAI_HTTP_PORT>",
        "HAI_HTTP_TOKEN": "<YOUR_HAI_HTTP_TOKEN>"
      }
    }
  }
}

Let your agent find its tools

Find servers like HAI-MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.