Skip to content

Salesforce for Grok

io.github.mindstone/mcp-server-salesforce

Salesforce CRM MCP server: accounts, contacts, opportunities, leads, tasks, and custom objects

client:Grok transport:stdio runtime:npm

Install Salesforce in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-server-salesforce": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-salesforce"
      ],
      "env": {
        "SALESFORCE_CLIENT_ID": "<SALESFORCE_CLIENT_ID>",
        "SALESFORCE_CLIENT_SECRET": "<SALESFORCE_CLIENT_SECRET>",
        "SALESFORCE_SANDBOX": "<SALESFORCE_SANDBOX>",
        "SALESFORCE_ACCESS_TOKEN": "<SALESFORCE_ACCESS_TOKEN>",
        "SALESFORCE_INSTANCE_URL": "<SALESFORCE_INSTANCE_URL>",
        "SALESFORCE_CONFIG_DIR": "<SALESFORCE_CONFIG_DIR>",
        "SALESFORCE_OAUTH_PORT": "<SALESFORCE_OAUTH_PORT>",
        "SALESFORCE_OAUTH_SCOPES": "<SALESFORCE_OAUTH_SCOPES>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Salesforce in other clients