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.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

saihm_remember Remember

Store information in SAIHM persistent memory. Encryption happens in this process and the key never leaves it, so the server holds ciphertext it cannot read. Use this when a fact, decision, or piece of context should outlive the current session. Pass an existing cellId to update that cell instead of adding a new one; when the endpoint reports that the update left shares of the cell on the previous version, they are re-issued for the new version and the result counts them, and a share that was not re-issued needs saihm_share again. Returns the cell id that saihm_forget takes. With warmStart "put…

ParameterTypeDescription
cellIdstringExisting cell id (hex) to update; omit to create a new cell
contentstringInformation to remember. Required unless warmStart is "put".
coversThroughstringWith warmStart "put": the change feed position the payload covers, the cursor of a position marker. Blank otherwise.
tokenstringWith warmStart: 16 to 32 characters from a-z and 0-9, chosen at random for this call. It names the payload file. Blank otherwise.
warmStartstring"put" stores the payload file warm-start/put-<token>.bin as an encrypted snapshot, then removes the file. Only coversThrough and token go with it. Leave it blank, or "default", to remember content.

saihm_recall Recall

Retrieve your memories from SAIHM and decrypt them in this process; the server never sees plaintext. Use this at the start of a session, or whenever past context is needed. Pass query to filter by keyword, or omit it to load everything. Pass cellId alone to read one of your own cells. To read a single cell another agent shared with you, pass their agent ID as sharerPinnedAgentIdHashHex together with the cellId, taking that ID from your user, not from a shared pointer; that path is read-only. Pass listOnly to list your cells' versions without their content. In the text, each further line of one…

ParameterTypeDescription
afterstringWith listOnly or sharesOnly: the next value of the previous page.
cellIdstringThe cell id to read: alone, one of your own cells; with the sharer fields, the shared cell (required then).
listOnlybooleanList your own cells' versions (cellId, seq, commitment) without reading any content. Pages: pass the answer's next as after until next is null.
querystringFilter your OWN memories by keyword (empty = all). Ignored when reading one cell by cellId.
shareEntriesbooleanWith the share events feed on, also return every entry of the share map; without it, only its summary.
sharerPinnedAgentIdHashHexstringRead a cell shared TO you: the SHARER's agent ID (agentIdHash, 64 lowercase hex), pinned out-of-band, as your user gave it. When set, cellId is also required.
sharerRecordobjectOptional, and not needed: the SHARER's identity record (hex fields). Without it, the key that comes with the memory is checked against the agent ID; given, it must match that key.
sharesOnlybooleanList every pointer shared with you, a page at a time and never cut, without reading any memory. Pages: pass the answer's next as after until next is null. Answers shares_paging_unsupported where the e…
tokenstringWith warmStart: 16 to 32 characters from a-z and 0-9, chosen at random for this call. It names the payload file. Blank otherwise.
warmStartstring"latest" restores the newest snapshot into warm-start/latest-<token>.bin (read it, then remove it); "list" lists snapshots. Only token goes with it. Leave it blank, or "default", to recall memories.

saihm_forget Forget (GDPR erasure)

Cryptographically erase one memory by its cell id (GDPR Art. 17). Destroying the wrapped key leaves the content unreadable to everyone, the operator included. Irreversible: use it when erasure is the intent, not to tidy a working set. With warmStart "delete", it instead destroys one encrypted warm-start snapshot, its key first.

ParameterTypeDescription
idstringMemory cell id (hex) to erase. Required unless warmStart is "delete".
snapshotIdstringWith warmStart "delete": the snapshot to destroy. Blank otherwise.
tokenstringWith warmStart: 16 to 32 characters from a-z and 0-9, chosen at random for this call. Blank otherwise.
warmStartstring"delete" destroys the snapshot named by snapshotId instead of a memory. Only snapshotId and token go with it. Leave it blank, or "default", to erase a memory by id.

saihm_status Status

Show the current SAIHM session: the agent identity, which this client derives locally, plus the tier, custody mode, shard and sharing counts, and bfsi score the server reports. No plaintext appears, because the server holds none. Use it to check which identity is active and what is stored and shared.

saihm_share Share

Grant one other agent access to a single memory cell, named by cellId. Identify the recipient by the identity record file their identity-record command wrote: pass its path, in full, as recipientRecordFile (a relative path is read from the server's working directory), and the server reads the record and agent ID from it (no need to open the file). Or pass their recipientRecord with their recipientPinnedAgentIdHashHex, pinned out-of-band. With the file, pass recipientPinnedAgentIdHashHex too when the user has the agent ID from their colleague another way: it must match the agent ID in the file.…

ParameterTypeDescription
cellId *stringThe cell to share
expiryEpochstringOptional expiry in whole HOURS since the UNIX epoch (decimal string), not seconds: floor(unix_ms / 3600000). Example: "498192" is 2026-11-01 00:00 UTC. Blank = no expiry
recipientPinnedAgentIdHashHexstringThe grantee's agentIdHash (hex), pinned out-of-band. Required with recipientRecord; with recipientRecordFile, optional: the out-of-band check of the file, which must name the same agent ID
recipientRecordobjectThe grantee's published identity record (hex fields). Required unless recipientRecordFile is given
recipientRecordFilestringThe path of the grantee's identity record file, the JSON that identity-record writes, in full: a relative path is read from the server's working directory. The server reads recipientRecord and the age…
scopestringAccess scope (blank or "default" = read)

saihm_revoke_share Revoke share

Withdraw a grant made with saihm_share, naming the same cellId and the recipient's recipientHex. It applies to future reads and cannot retract what the recipient has already read. Use it to end access; the memory itself remains, and saihm_forget is what erases.

ParameterTypeDescription
cellId *stringThe shared cell id
recipientHex *stringThe grantee's agentIdHash (hex) to revoke

saihm_governance_propose Propose (governance)

Open a protocol governance proposal: set scope to 'emission_param' or 'protocol_upgrade', and for 'emission_param' also pass paramKey and proposedValue. Protocol governance is not enabled for this client yet — the tool is present so the surface stays stable, and calling it returns a 'governance unavailable' error rather than opening a vote.

ParameterTypeDescription
scope *stringGovernable scope
paramKeystringParameter key (when scope=emission_param)
proposedValuestringProposed value as string

saihm_governance_vote Vote (governance)

Cast a vote on an open protocol governance proposal by its proposalId, with approve set to true to approve or false to reject. Protocol governance is not enabled for this client yet — the tool is present so the surface stays stable, and calling it returns a 'governance unavailable' error rather than recording a vote.

ParameterTypeDescription
approve *booleantrue = approve, false = reject
proposalId *stringHex proposalId

saihm_join Join SAIHM (activate free memory)

Activate free SAIHM persistent memory for this agent. Call this when the user asks to join, add, sign up for, or set up SAIHM ("Join SAIHM" or "Add SAIHM"). With no identity configured, a join creates a NEW, EMPTY memory, so the first call answers with a question instead: whether they already have a SAIHM identity (from another machine or session). Put it to them once; if they do, do not join: they bring it with export-identity instead. In a hosted or cloud session that starts fresh each time, or in a CI job, do not join there either: they join on their own computer and bring that identity the…

ParameterTypeDescription
newIdentitybooleantrue once the user confirms they have no SAIHM identity to bring here and want a new, empty memory