saihm-mcp-server-pro

v0.15.0
io.github.SAIHM-Admin/saihm-mcp-server-pro Checked 1 day ago Published 15 days ago

Free-to-start portable memory for AI agents: encrypted, shareable, provably erased.

Values you need

VariableWhat it is
SAIHM_ENDPOINT_URLoptional SAIHM operator endpoint. Optional: defaults to the hosted service at https://saihm.net/mcp. Default: https://saihm.net/mcp
SAIHM_SELF_JOINoptional Self-join is ON by default: the saihm_join tool creates a non-custodial identity on this device and starts activating its free memory, which needs one browser sign-in; no master secret is needed. Set to '0' to suppress the tool.
SAIHM_MASTER_SECRET_FILEoptional secret Path to a mode-600 file holding a 64+ hex-char master secret. Only needed if you opt out of self-join, are restoring an existing identity, or keep your key file outside SAIHM_HOME. Never transmitted.
SAIHM_IDENTITYoptional secret An identity token written by export-identity: brings an existing SAIHM identity to this machine or a hosted agent environment without copying a key file. Set together with SAIHM_IDENTITY_PASSPHRASE; leave both unset to use this machine's own identity.
SAIHM_IDENTITY_PASSPHRASEoptional secret The passphrase export-identity generated for SAIHM_IDENTITY. The two together are the identity: store it as a secret.
SAIHM_TIERoptional The plan this identity onboards with (FREE, PRO, PRO_FAST, ENTERPRISE, ENTERPRISE_FAST). Defaults to FREE while self-join is on (the default). From 0.15.0 a plan paid by card needs no setting: the client finds it at sign-in. Set it for a stablecoin plan, and with SAIHM_SELF_JOIN=0 for every plan, FR
SAIHM_PAYMENT_METHODoptional The payment rail of a paid plan, e.g. stripe. Required for a paid SAIHM_TIER unless an export-identity token carries it.
SAIHM_EPHEMERAL_HOMEoptional Set it (e.g. 1) where the home directory is discarded at session end, or is a CI runner's home that later jobs can reach: the join then refuses to create a key, and SAIHM keeps no recall copy and no sign-in there. A copy or sign-in already written there stays until you delete it: the recall.* and se
SAIHM_HOMEoptional Base dir for the self-join identity file ($SAIHM_HOME/free-identity.key, mode 600). Defaults to ~/.saihm. Give a full path: a relative one (a JSON config does not expand ~) is refused at start. Also the fallback state directory when SAIHM_STATE_DIR is unset.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add saihm-mcp-server-pro -- npx -y --package=@saihm/mcp-server-pro@0.15.0 saihm-mcp-server-pro
Add to claude_desktop_config.json
{
  "mcpServers": {
    "saihm-mcp-server-pro": {
      "args": [
        "-y",
        "--package=@saihm/mcp-server-pro@0.15.0",
        "saihm-mcp-server-pro"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "saihm-mcp-server-pro": {
      "args": [
        "-y",
        "--package=@saihm/mcp-server-pro@0.15.0",
        "saihm-mcp-server-pro"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "saihm-mcp-server-pro": {
      "args": [
        "-y",
        "--package=@saihm/mcp-server-pro@0.15.0",
        "saihm-mcp-server-pro"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.saihm-mcp-server-pro]
command = "npx"
args = ["-y", "--package=@saihm/mcp-server-pro@0.15.0", "saihm-mcp-server-pro"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: saihm_remember, saihm_recall, saihm_forget, saihm_status, saihm_share, saihm_revoke_share, saihm_governance_propose, saihm_governance_vote, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json