Know what breaks before you change Salesforce. Ask your AI about your org: where a field is used, what runs on save, which Apex is dead, who can see what. Offline, read-only, cited. Open source (MIT).
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add sf-intelligence-offline-salesforce --env SFI_VAULT='<SFI_VAULT>' -- npx -y sf-intelligence mcp~/.codex/config.toml
[mcp_servers.sf-intelligence-offline-salesforce]
command = "npx"
args = ["-y", "sf-intelligence", "mcp"]
env = { SFI_VAULT = "<SFI_VAULT>" }
# codex mcp add sf-intelligence-offline-salesforce --env SFI_VAULT='<SFI_VAULT>' -- npx -y sf-intelligence mcp~/.cursor/mcp.json
{
"mcpServers": {
"sf-intelligence-offline-salesforce": {
"command": "npx",
"args": [
"-y",
"sf-intelligence",
"mcp"
],
"env": {
"SFI_VAULT": "<SFI_VAULT>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"sf-intelligence-offline-salesforce": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sf-intelligence",
"mcp"
],
"env": {
"SFI_VAULT": "<SFI_VAULT>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"sf-intelligence-offline-salesforce": {
"command": "npx",
"args": [
"-y",
"sf-intelligence",
"mcp"
],
"env": {
"SFI_VAULT": "<SFI_VAULT>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"sf-intelligence-offline-salesforce": {
"command": "npx",
"args": [
"-y",
"sf-intelligence",
"mcp"
],
"env": {
"SFI_VAULT": "<SFI_VAULT>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"sf-intelligence-offline-salesforce": {
"command": "npx",
"args": [
"-y",
"sf-intelligence",
"mcp"
],
"env": {
"SFI_VAULT": "<SFI_VAULT>"
}
}
}
}需要的环境变量
SFI_VAULT
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。