Salesforce Cloud

v0.8.2
io.github.aaronsb/salesforce-cloud Checked 4 hours ago Published 3 months ago

AI-powered Salesforce CRM: opportunity intelligence, conversation analysis, SOQL, analytics

Values you need

VariableWhat it is
SF_CLIENT_IDrequired secret Salesforce Connected App client ID
SF_CLIENT_SECRETrequired secret Salesforce Connected App client secret
SF_USERNAMEoptional Salesforce username (if set, uses password flow; otherwise client credentials flow)
SF_PASSWORDoptional secret Salesforce password (required with SF_USERNAME for password flow)
SF_LOGIN_URLrequired Your Salesforce My Domain URL (e.g., https://company.my.salesforce.com)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add salesforce-cloud -e 'SF_CLIENT_ID=<SF_CLIENT_ID>' -e 'SF_CLIENT_SECRET=<SF_CLIENT_SECRET>' -e 'SF_LOGIN_URL=<SF_LOGIN_URL>' -- npx -y --package=@aaronsb/salesforce-cloud-mcp@0.8.2 salesforce-cloud
Add to claude_desktop_config.json
{
  "mcpServers": {
    "salesforce-cloud": {
      "args": [
        "-y",
        "--package=@aaronsb/salesforce-cloud-mcp@0.8.2",
        "salesforce-cloud"
      ],
      "command": "npx",
      "env": {
        "SF_CLIENT_ID": "<SF_CLIENT_ID>",
        "SF_CLIENT_SECRET": "<SF_CLIENT_SECRET>",
        "SF_LOGIN_URL": "<SF_LOGIN_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "salesforce-cloud": {
      "args": [
        "-y",
        "--package=@aaronsb/salesforce-cloud-mcp@0.8.2",
        "salesforce-cloud"
      ],
      "command": "npx",
      "env": {
        "SF_CLIENT_ID": "<SF_CLIENT_ID>",
        "SF_CLIENT_SECRET": "<SF_CLIENT_SECRET>",
        "SF_LOGIN_URL": "<SF_LOGIN_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SF_CLIENT_ID",
      "id": "sf-client-id",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "SF_CLIENT_SECRET",
      "id": "sf-client-secret",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "SF_LOGIN_URL",
      "id": "sf-login-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "salesforce-cloud": {
      "args": [
        "-y",
        "--package=@aaronsb/salesforce-cloud-mcp@0.8.2",
        "salesforce-cloud"
      ],
      "command": "npx",
      "env": {
        "SF_CLIENT_ID": "${input:sf-client-id}",
        "SF_CLIENT_SECRET": "${input:sf-client-secret}",
        "SF_LOGIN_URL": "${input:sf-login-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.salesforce-cloud]
command = "npx"
args = ["-y", "--package=@aaronsb/salesforce-cloud-mcp@0.8.2", "salesforce-cloud"]
env = { "SF_CLIENT_ID" = "<SF_CLIENT_ID>", "SF_CLIENT_SECRET" = "<SF_CLIENT_SECRET>", "SF_LOGIN_URL" = "<SF_LOGIN_URL>" }

For AI agents

  1. Ask the user for: SF_CLIENT_ID, SF_CLIENT_SECRET, SF_LOGIN_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: batch, analyze, analyze_conversation, generate_business_case, enrich_opportunity, find_similar_opportunities, opportunity_insights, get_opportunity_details, ….
  5. 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