Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-saihm-admin-saihm-mcp-server-pro": {
"command": "npx",
"args": [
"-y",
"@saihm/mcp-server-pro"
],
"env": {
"SAIHM_ENDPOINT_URL": "https://saihm.net/mcp",
"SAIHM_SELF_JOIN": "<VALUE>",
"SAIHM_MASTER_SECRET_FILE": "<YOUR_VALUE>",
"SAIHM_IDENTITY": "<YOUR_VALUE>",
"SAIHM_IDENTITY_PASSPHRASE": "<YOUR_VALUE>",
"SAIHM_TIER": "<VALUE>",
"SAIHM_PAYMENT_METHOD": "<VALUE>",
"SAIHM_EPHEMERAL_HOME": "<VALUE>",
"SAIHM_HOME": "<VALUE>",
"SAIHM_SEQ_STATE_PATH": "<VALUE>",
"SAIHM_MASTER_SECRET_HEX": "<VALUE>"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-saihm-admin-saihm-mcp-server-pro": {
"command": "npx",
"args": [
"-y",
"@saihm/mcp-server-pro"
],
"env": {
"SAIHM_ENDPOINT_URL": "https://saihm.net/mcp",
"SAIHM_SELF_JOIN": "<VALUE>",
"SAIHM_MASTER_SECRET_FILE": "<YOUR_VALUE>",
"SAIHM_IDENTITY": "<YOUR_VALUE>",
"SAIHM_IDENTITY_PASSPHRASE": "<YOUR_VALUE>",
"SAIHM_TIER": "<VALUE>",
"SAIHM_PAYMENT_METHOD": "<VALUE>",
"SAIHM_EPHEMERAL_HOME": "<VALUE>",
"SAIHM_HOME": "<VALUE>",
"SAIHM_SEQ_STATE_PATH": "<VALUE>",
"SAIHM_MASTER_SECRET_HEX": "<VALUE>"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-saihm-admin-saihm-mcp-server-pro": {
"command": "npx",
"args": [
"-y",
"@saihm/mcp-server-pro"
],
"env": {
"SAIHM_ENDPOINT_URL": "https://saihm.net/mcp",
"SAIHM_SELF_JOIN": "<VALUE>",
"SAIHM_MASTER_SECRET_FILE": "<YOUR_VALUE>",
"SAIHM_IDENTITY": "<YOUR_VALUE>",
"SAIHM_IDENTITY_PASSPHRASE": "<YOUR_VALUE>",
"SAIHM_TIER": "<VALUE>",
"SAIHM_PAYMENT_METHOD": "<VALUE>",
"SAIHM_EPHEMERAL_HOME": "<VALUE>",
"SAIHM_HOME": "<VALUE>",
"SAIHM_SEQ_STATE_PATH": "<VALUE>",
"SAIHM_MASTER_SECRET_HEX": "<VALUE>"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-saihm-admin-saihm-mcp-server-pro": {
"command": "npx",
"args": [
"-y",
"@saihm/mcp-server-pro"
],
"env": {
"SAIHM_ENDPOINT_URL": "https://saihm.net/mcp",
"SAIHM_SELF_JOIN": "<VALUE>",
"SAIHM_MASTER_SECRET_FILE": "<YOUR_VALUE>",
"SAIHM_IDENTITY": "<YOUR_VALUE>",
"SAIHM_IDENTITY_PASSPHRASE": "<YOUR_VALUE>",
"SAIHM_TIER": "<VALUE>",
"SAIHM_PAYMENT_METHOD": "<VALUE>",
"SAIHM_EPHEMERAL_HOME": "<VALUE>",
"SAIHM_HOME": "<VALUE>",
"SAIHM_SEQ_STATE_PATH": "<VALUE>",
"SAIHM_MASTER_SECRET_HEX": "<VALUE>"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-saihm-admin-saihm-mcp-server-pro": {
"command": "npx",
"args": [
"-y",
"@saihm/mcp-server-pro"
],
"env": {
"SAIHM_ENDPOINT_URL": "https://saihm.net/mcp",
"SAIHM_SELF_JOIN": "<VALUE>",
"SAIHM_MASTER_SECRET_FILE": "<YOUR_VALUE>",
"SAIHM_IDENTITY": "<YOUR_VALUE>",
"SAIHM_IDENTITY_PASSPHRASE": "<YOUR_VALUE>",
"SAIHM_TIER": "<VALUE>",
"SAIHM_PAYMENT_METHOD": "<VALUE>",
"SAIHM_EPHEMERAL_HOME": "<VALUE>",
"SAIHM_HOME": "<VALUE>",
"SAIHM_SEQ_STATE_PATH": "<VALUE>",
"SAIHM_MASTER_SECRET_HEX": "<VALUE>"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-saihm-admin-saihm-mcp-server-pro": {
"command": "npx",
"args": [
"-y",
"@saihm/mcp-server-pro"
],
"env": {
"SAIHM_ENDPOINT_URL": "https://saihm.net/mcp",
"SAIHM_SELF_JOIN": "<VALUE>",
"SAIHM_MASTER_SECRET_FILE": "<YOUR_VALUE>",
"SAIHM_IDENTITY": "<YOUR_VALUE>",
"SAIHM_IDENTITY_PASSPHRASE": "<YOUR_VALUE>",
"SAIHM_TIER": "<VALUE>",
"SAIHM_PAYMENT_METHOD": "<VALUE>",
"SAIHM_EPHEMERAL_HOME": "<VALUE>",
"SAIHM_HOME": "<VALUE>",
"SAIHM_SEQ_STATE_PATH": "<VALUE>",
"SAIHM_MASTER_SECRET_HEX": "<VALUE>"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| SAIHM_ENDPOINT_URL | No | URL of the MCP endpoint. Defaults to https://saihm.coti.global/mcp Default: https://saihm.net/mcp |
| SAIHM_SELF_JOIN | No | Controls the saihm_join onboarding tool. On by default; set to '0' to suppress. |
| SAIHM_MASTER_SECRET_FILE secret | No | Path to a mode-600 file containing the hex master secret. Takes precedence over SAIHM_MASTER_SECRET_HEX if both set. |
| SAIHM_IDENTITY secret | No | 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 secret | No | The passphrase export-identity generated for SAIHM_IDENTITY. The two together are the identity: store it as a secret. |
| SAIHM_TIER | No | Tier label (e.g., 'FREE', 'PRO'). Required when self-onboarding. |
| SAIHM_PAYMENT_METHOD | No | Payment method for paid self-onboard (e.g., 'stripe'). Not used for FREE tier. |
| SAIHM_EPHEMERAL_HOME | No | 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 session.* files in SAIHM_HOME (~/.saihm by default). 0 declares a home that is kept and that only you use, and overrides the host's own signal. Unset: detected where the host or CI runner says so (the REFERENCE lists the markers). |
| SAIHM_HOME | No | Base directory for self-join identity file. Defaults to ~/.saihm |
| SAIHM_SEQ_STATE_PATH | No | Path to persist sequence state. |
| SAIHM_MASTER_SECRET_HEX | No | Master secret as a hex string (at least 64 hex chars). Provide this or SAIHM_MASTER_SECRET_FILE. |