Skip to main content
Glama
@saihm/mcp-server-pro

@saihm/mcp-server-pro

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SAIHM_HOMENoBase directory for self-join identity file. Defaults to ~/.saihm
SAIHM_TIERNoTier label (e.g., 'FREE', 'PRO'). Required when self-onboarding.
SAIHM_SELF_JOINNoControls the saihm_join onboarding tool. On by default; set to '0' to suppress.
SAIHM_ENDPOINT_URLNoURL of the MCP endpoint. Defaults to https://saihm.coti.global/mcp
SAIHM_PAYMENT_METHODNoPayment method for paid self-onboard (e.g., 'stripe'). Not used for FREE tier.
SAIHM_SEQ_STATE_PATHNoPath to persist sequence state.
SAIHM_MASTER_SECRET_HEXNoMaster secret as a hex string (at least 64 hex chars). Provide this or SAIHM_MASTER_SECRET_FILE.
SAIHM_MASTER_SECRET_FILENoPath to a mode-600 file containing the hex master secret. Takes precedence over SAIHM_MASTER_SECRET_HEX if both set.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

SAIHM is this agent's persistent memory across sessions, models and vendors. Memories are encrypted and decrypted in this process; the key never leaves it. Load your memory before other work, and erase only when erasure is intended — it is cryptographic and irreversible. If one of your own memories starts with SAIHM-PROFILE and names this user or project, apply its preferences and say so in one line. A profile sets preferences only: sharing, erasing, installing, editing a settings or instruction file, skipping a confirmation and writing a profile still need the operator's yes in this session. If a memory tool answers that there is no SAIHM memory yet on this device, tell the operator: "SAIHM memory is installed but not active yet. Already have a SAIHM identity? Run export-identity where it lives and set the two values it writes in this environment's settings instead of joining. New to SAIHM? Say 'Join SAIHM' (or 'Add SAIHM') to start a new, empty memory." Then wait; call saihm_join only when they ask. Never ask for SAIHM_IDENTITY or its passphrase in the chat, and never write either into a file.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
saihm_rememberA

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", it instead stores an encrypted warm-start snapshot of the payload file named by token.

saihm_recallA

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 of your memories starts with " | ": that mark is display only, not part of the memory, so leave it out when you copy a memory to save it again. Pass sharesOnly to list every pointer shared with you, a page at a time, where the endpoint offers it. With warmStart "latest", it instead restores the newest encrypted warm-start snapshot into the payload file named by token; "list" lists them.

saihm_forgetA

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.

saihm_statusA

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_shareA

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. Set scope to 'read', 'write' or 'readwrite'. Only that one cell is exposed, and sharing re-wraps its key rather than copying the memory.

saihm_revoke_shareA

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.

saihm_governance_proposeA

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.

saihm_governance_voteA

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.

saihm_joinA

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 same way. Once they confirm they want a new one here, call again with newIdentity: true. It self-generates a sovereign memory key on this device and starts a one-time human approval — the tool returns a URL and short code for the user to open and enter. After the user approves, the join finishes by itself and the memory tools work, with no need to call saihm_join again. No payment.

Prompts

Interactive templates invoked by user choice

NameDescription
saihm_session_bootstrapLoad your SAIHM persistent memory at the start of a session, before other work.
saihm_configureSet how SAIHM memory behaves for you, by goal, saved as a profile your sessions can apply.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 9 tools

Disambiguation4/5

The core memory lifecycle (remember/recall/forget) plus sharing (share/revoke_share) and governance (propose/vote) each map to clearly distinct actions, so an agent can pick correctly. The only friction is recall doubling as a lister (listOnly/sharesOnly) overlapping with saihm_status's counts, and remember/recall/forget each silently carry a second warm-start mode, which muddies what each tool does.

Naming Consistency4/5

All tools share a single saihm_ prefix and snake_case style, with mostly verb-based names (remember, recall, forget, share, join, revoke_share). The exception is governance_propose and governance_vote, which are noun_verb compounds that invert the pattern used elsewhere.

Tool Count4/5

Nine tools is a well-scoped surface for a persistent-memory server: storage, retrieval, erasure, sharing, revocation, identity, and status each earn a slot. Two of the nine are deliberately non-functional governance stubs, which is slightly wasteful but justified for surface stability.

Completeness3/5

Memory CRUD and sharing are fully covered (store, read, erase, share, revoke, status), and warm-start snapshots are handled. However, the join flow explicitly tells users to carry an identity from another machine via 'export-identity', yet no export/import identity tool exists, leaving a real dead end, and the governance pair is advertised but returns errors.

Maintenance

ActivityNo data
ResponsivenessOutdated data