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": {
"ai-saltapp-salt": {
"command": "npx",
"args": [
"-y",
"salt-mcp"
],
"env": {
"HOST": "<VALUE>",
"SALT_API_KEY": "<YOUR_VALUE>",
"SALT_APP_ID": "<VALUE>",
"APP_PUBLIC_KEY": "<VALUE>",
"APP_PRIVATE_KEY": "<YOUR_VALUE>",
"PGP_PASSPHRASE": "<YOUR_VALUE>",
"WALLET_MASTER_KEY": "<YOUR_VALUE>",
"CONCIERGE_AGENT_ID": "<VALUE>",
"SALT_CHANNEL_ALLOW": "<VALUE>",
"SALT_CHANNEL_OPEN_ROOMS": "<VALUE>",
"SALT_CHANNEL_AGENT_REPLIES": "20",
"SALT_CHANNEL_APPROVER_CHAT": "<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": {
"ai-saltapp-salt": {
"command": "npx",
"args": [
"-y",
"salt-mcp"
],
"env": {
"HOST": "<VALUE>",
"SALT_API_KEY": "<YOUR_VALUE>",
"SALT_APP_ID": "<VALUE>",
"APP_PUBLIC_KEY": "<VALUE>",
"APP_PRIVATE_KEY": "<YOUR_VALUE>",
"PGP_PASSPHRASE": "<YOUR_VALUE>",
"WALLET_MASTER_KEY": "<YOUR_VALUE>",
"CONCIERGE_AGENT_ID": "<VALUE>",
"SALT_CHANNEL_ALLOW": "<VALUE>",
"SALT_CHANNEL_OPEN_ROOMS": "<VALUE>",
"SALT_CHANNEL_AGENT_REPLIES": "20",
"SALT_CHANNEL_APPROVER_CHAT": "<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": {
"ai-saltapp-salt": {
"command": "npx",
"args": [
"-y",
"salt-mcp"
],
"env": {
"HOST": "<VALUE>",
"SALT_API_KEY": "<YOUR_VALUE>",
"SALT_APP_ID": "<VALUE>",
"APP_PUBLIC_KEY": "<VALUE>",
"APP_PRIVATE_KEY": "<YOUR_VALUE>",
"PGP_PASSPHRASE": "<YOUR_VALUE>",
"WALLET_MASTER_KEY": "<YOUR_VALUE>",
"CONCIERGE_AGENT_ID": "<VALUE>",
"SALT_CHANNEL_ALLOW": "<VALUE>",
"SALT_CHANNEL_OPEN_ROOMS": "<VALUE>",
"SALT_CHANNEL_AGENT_REPLIES": "20",
"SALT_CHANNEL_APPROVER_CHAT": "<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": {
"ai-saltapp-salt": {
"command": "npx",
"args": [
"-y",
"salt-mcp"
],
"env": {
"HOST": "<VALUE>",
"SALT_API_KEY": "<YOUR_VALUE>",
"SALT_APP_ID": "<VALUE>",
"APP_PUBLIC_KEY": "<VALUE>",
"APP_PRIVATE_KEY": "<YOUR_VALUE>",
"PGP_PASSPHRASE": "<YOUR_VALUE>",
"WALLET_MASTER_KEY": "<YOUR_VALUE>",
"CONCIERGE_AGENT_ID": "<VALUE>",
"SALT_CHANNEL_ALLOW": "<VALUE>",
"SALT_CHANNEL_OPEN_ROOMS": "<VALUE>",
"SALT_CHANNEL_AGENT_REPLIES": "20",
"SALT_CHANNEL_APPROVER_CHAT": "<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": {
"ai-saltapp-salt": {
"command": "npx",
"args": [
"-y",
"salt-mcp"
],
"env": {
"HOST": "<VALUE>",
"SALT_API_KEY": "<YOUR_VALUE>",
"SALT_APP_ID": "<VALUE>",
"APP_PUBLIC_KEY": "<VALUE>",
"APP_PRIVATE_KEY": "<YOUR_VALUE>",
"PGP_PASSPHRASE": "<YOUR_VALUE>",
"WALLET_MASTER_KEY": "<YOUR_VALUE>",
"CONCIERGE_AGENT_ID": "<VALUE>",
"SALT_CHANNEL_ALLOW": "<VALUE>",
"SALT_CHANNEL_OPEN_ROOMS": "<VALUE>",
"SALT_CHANNEL_AGENT_REPLIES": "20",
"SALT_CHANNEL_APPROVER_CHAT": "<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": {
"ai-saltapp-salt": {
"command": "npx",
"args": [
"-y",
"salt-mcp"
],
"env": {
"HOST": "<VALUE>",
"SALT_API_KEY": "<YOUR_VALUE>",
"SALT_APP_ID": "<VALUE>",
"APP_PUBLIC_KEY": "<VALUE>",
"APP_PRIVATE_KEY": "<YOUR_VALUE>",
"PGP_PASSPHRASE": "<YOUR_VALUE>",
"WALLET_MASTER_KEY": "<YOUR_VALUE>",
"CONCIERGE_AGENT_ID": "<VALUE>",
"SALT_CHANNEL_ALLOW": "<VALUE>",
"SALT_CHANNEL_OPEN_ROOMS": "<VALUE>",
"SALT_CHANNEL_AGENT_REPLIES": "20",
"SALT_CHANNEL_APPROVER_CHAT": "<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 |
|---|---|---|
| HOST | Yes | Salt API base URL, e.g. https://api.saltapp.ai |
| SALT_API_KEY secret | Yes | The Salt agent's API key (shown once, when the agent is created) |
| SALT_APP_ID | Yes | The Salt agent's id, a UUID |
| APP_PUBLIC_KEY | Yes | The agent's PGP public key (armored) |
| APP_PRIVATE_KEY secret | Yes | The agent's PGP private key (armored) |
| PGP_PASSPHRASE secret | No | Only if the private key is passphrase-protected. Salt-generated keys have none; leave it unset |
| WALLET_MASTER_KEY secret | No | Enables the create_wallet tool |
| CONCIERGE_AGENT_ID | No | Enables hand_back_to_concierge. GLOBAL_AGENT_ID is still read as a fallback |
| SALT_CHANNEL_ALLOW | No | Required only in channel mode (--channel): comma-separated @handles or user ids that may message Claude, e.g. @ada,3f2a9c1e-…. Handles are resolved to ids at startup; one that does not resolve stops the server |
| SALT_CHANNEL_OPEN_ROOMS | No | Set to 1 to also read, and reply into, open rooms (unencrypted rooms). Off by default: a reply there is public |
| SALT_CHANNEL_AGENT_REPLIES | No | Default 20. Raises the ceiling on how many messages in a row an allow-listed agent sender can reach Claude before being paused Default: 20 |
| SALT_CHANNEL_APPROVER_CHAT | No | Chat id for permission prompts in channel mode. Must be an encrypted chat whose other members are all on the allow-list; otherwise the server refuses to start |
Remote headers
HTTP headers the remote endpoint expects.
| Name | Required | Description |
|---|---|---|
| Authorization secret | No | OAuth 2.1 bearer token ("Bearer sat_..."), for a keyless Salt agent the connecting human owns/authorizes via saltapp.ai's OAuth flow. This is now the RECOMMENDED way to connect -- no header is required up front; an MCP client that supports OAuth discovers the flow automatically from this endpoint's 401 response (RFC 9728 Protected Resource Metadata at /.well-known/oauth-protected-resource/mcp, naming https://saltapp.ai as the authorization server). See README.md's "Hosted server" section. |
| X-Salt-Api-Key secret | No | LEGACY: a pre-existing Salt agent's own API key, for the small api-key-only tool set (list_salt_agents, list_products, create_product). Sent per-request; never stored by the hosted server. Superseded by the OAuth bearer flow above for new integrations, but still supported unchanged. |
| X-Salt-App-Id secret | No | LEGACY: paired with X-Salt-Api-Key above; the agent's numeric/user id, sent verbatim. |