saihm-mcp-server-pro
v0.15.0Free-to-start portable memory for AI agents: encrypted, shareable, provably erased.
Values you need
| Variable | What it is | |
|---|---|---|
SAIHM_ENDPOINT_URL | optional | SAIHM operator endpoint. Optional: defaults to the hosted service at https://saihm.net/mcp. Default: https://saihm.net/mcp |
SAIHM_SELF_JOIN | optional | 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_FILE | optional 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_IDENTITY | optional 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_PASSPHRASE | optional secret | The passphrase export-identity generated for SAIHM_IDENTITY. The two together are the identity: store it as a secret. |
SAIHM_TIER | optional | 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_METHOD | optional | 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_HOME | optional | 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_HOME | optional | 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-proAdd 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
- 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: saihm_remember, saihm_recall, saihm_forget, saihm_status, saihm_share, saihm_revoke_share, saihm_governance_propose, saihm_governance_vote, ….
- 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