sf-intelligence — Salesforce org intelligence for AI agents
v0.3.3Offline, read-only MCP knowledge base for one Salesforce org's metadata, deps & impact.
Values you need
| Variable | What it is | |
|---|---|---|
SFI_VAULT | required | Absolute path to the org-kb vault this server should answer from, e.g. <your-sfdx-project>/org-kb. Set this: without it the server falls back to ./org-kb relative to whatever directory your MCP host happens to launch in, and an MCP host is almost never launched inside your Salesforce project. The se |
npm (npx)
Requires Node.js 18+
Run in a terminal
claude mcp add sf-intelligence -e 'SFI_VAULT=<SFI_VAULT>' -- npx -y --package=sf-intelligence@0.3.3 sfiAdd to
claude_desktop_config.json{
"mcpServers": {
"sf-intelligence": {
"args": [
"-y",
"--package=sf-intelligence@0.3.3",
"sfi"
],
"command": "npx",
"env": {
"SFI_VAULT": "<SFI_VAULT>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"sf-intelligence": {
"args": [
"-y",
"--package=sf-intelligence@0.3.3",
"sfi"
],
"command": "npx",
"env": {
"SFI_VAULT": "<SFI_VAULT>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "SFI_VAULT",
"id": "sfi-vault",
"password": true,
"type": "promptString"
}
],
"servers": {
"sf-intelligence": {
"args": [
"-y",
"--package=sf-intelligence@0.3.3",
"sfi"
],
"command": "npx",
"env": {
"SFI_VAULT": "${input:sfi-vault}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.sf-intelligence]
command = "npx"
args = ["-y", "--package=sf-intelligence@0.3.3", "sfi"]
env = { "SFI_VAULT" = "<SFI_VAULT>" }For AI agents
- Ask the user for: SFI_VAULT. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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.
- 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