Skip to content
MCP server

Salesforce

MCP server for Salesforce CRM — Accounts, Contacts, Opportunities, Leads, Cases.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.3
Listing updated
6 days ago

About Salesforce

Salesforce is an open-source MCP server for sales and crm. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add salesforce-mcp --env AUTH_MODE='<AUTH_MODE>' --env SALESFORCE_CLIENT_ID='<SALESFORCE_CLIENT_ID>' --env SALESFORCE_CLIENT_SECRET='<SALESFORCE_CLIENT_SECRET>' --env SALESFORCE_INSTANCE_URL='<SALESFORCE_INSTANCE_URL>' --env SALESFORCE_PASSWORD='<SALESFORCE_PASSWORD>' --env SALESFORCE_TOKEN='<SALESFORCE_TOKEN>' -- docker run -i --rm -e AUTH_MODE -e SALESFORCE_CLIENT_ID -e SALESFORCE_CLIENT_SECRET -e SALESFORCE_INSTANCE_URL -e SALESFORCE_PASSWORD -e SALESFORCE_TOKEN ghcr.io/wyre-technology/salesforce-mcp:v1.0.3

Add to claude_desktop_config.json

{
  "mcpServers": {
    "salesforce-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AUTH_MODE",
        "-e",
        "SALESFORCE_CLIENT_ID",
        "-e",
        "SALESFORCE_CLIENT_SECRET",
        "-e",
        "SALESFORCE_INSTANCE_URL",
        "-e",
        "SALESFORCE_PASSWORD",
        "-e",
        "SALESFORCE_TOKEN",
        "ghcr.io/wyre-technology/salesforce-mcp:v1.0.3"
      ],
      "env": {
        "AUTH_MODE": "<AUTH_MODE>",
        "SALESFORCE_CLIENT_ID": "<SALESFORCE_CLIENT_ID>",
        "SALESFORCE_CLIENT_SECRET": "<SALESFORCE_CLIENT_SECRET>",
        "SALESFORCE_INSTANCE_URL": "<SALESFORCE_INSTANCE_URL>",
        "SALESFORCE_PASSWORD": "<SALESFORCE_PASSWORD>",
        "SALESFORCE_TOKEN": "<SALESFORCE_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "salesforce-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AUTH_MODE",
        "-e",
        "SALESFORCE_CLIENT_ID",
        "-e",
        "SALESFORCE_CLIENT_SECRET",
        "-e",
        "SALESFORCE_INSTANCE_URL",
        "-e",
        "SALESFORCE_PASSWORD",
        "-e",
        "SALESFORCE_TOKEN",
        "ghcr.io/wyre-technology/salesforce-mcp:v1.0.3"
      ],
      "env": {
        "AUTH_MODE": "<AUTH_MODE>",
        "SALESFORCE_CLIENT_ID": "<SALESFORCE_CLIENT_ID>",
        "SALESFORCE_CLIENT_SECRET": "<SALESFORCE_CLIENT_SECRET>",
        "SALESFORCE_INSTANCE_URL": "<SALESFORCE_INSTANCE_URL>",
        "SALESFORCE_PASSWORD": "<SALESFORCE_PASSWORD>",
        "SALESFORCE_TOKEN": "<SALESFORCE_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "salesforce-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AUTH_MODE",
        "-e",
        "SALESFORCE_CLIENT_ID",
        "-e",
        "SALESFORCE_CLIENT_SECRET",
        "-e",
        "SALESFORCE_INSTANCE_URL",
        "-e",
        "SALESFORCE_PASSWORD",
        "-e",
        "SALESFORCE_TOKEN",
        "ghcr.io/wyre-technology/salesforce-mcp:v1.0.3"
      ],
      "env": {
        "AUTH_MODE": "<AUTH_MODE>",
        "SALESFORCE_CLIENT_ID": "<SALESFORCE_CLIENT_ID>",
        "SALESFORCE_CLIENT_SECRET": "<SALESFORCE_CLIENT_SECRET>",
        "SALESFORCE_INSTANCE_URL": "<SALESFORCE_INSTANCE_URL>",
        "SALESFORCE_PASSWORD": "<SALESFORCE_PASSWORD>",
        "SALESFORCE_TOKEN": "<SALESFORCE_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "salesforce-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AUTH_MODE",
        "-e",
        "SALESFORCE_CLIENT_ID",
        "-e",
        "SALESFORCE_CLIENT_SECRET",
        "-e",
        "SALESFORCE_INSTANCE_URL",
        "-e",
        "SALESFORCE_PASSWORD",
        "-e",
        "SALESFORCE_TOKEN",
        "ghcr.io/wyre-technology/salesforce-mcp:v1.0.3"
      ],
      "env": {
        "AUTH_MODE": "<AUTH_MODE>",
        "SALESFORCE_CLIENT_ID": "<SALESFORCE_CLIENT_ID>",
        "SALESFORCE_CLIENT_SECRET": "<SALESFORCE_CLIENT_SECRET>",
        "SALESFORCE_INSTANCE_URL": "<SALESFORCE_INSTANCE_URL>",
        "SALESFORCE_PASSWORD": "<SALESFORCE_PASSWORD>",
        "SALESFORCE_TOKEN": "<SALESFORCE_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "salesforce-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AUTH_MODE",
        "-e",
        "SALESFORCE_CLIENT_ID",
        "-e",
        "SALESFORCE_CLIENT_SECRET",
        "-e",
        "SALESFORCE_INSTANCE_URL",
        "-e",
        "SALESFORCE_PASSWORD",
        "-e",
        "SALESFORCE_TOKEN",
        "ghcr.io/wyre-technology/salesforce-mcp:v1.0.3"
      ],
      "env": {
        "AUTH_MODE": "<AUTH_MODE>",
        "SALESFORCE_CLIENT_ID": "<SALESFORCE_CLIENT_ID>",
        "SALESFORCE_CLIENT_SECRET": "<SALESFORCE_CLIENT_SECRET>",
        "SALESFORCE_INSTANCE_URL": "<SALESFORCE_INSTANCE_URL>",
        "SALESFORCE_PASSWORD": "<SALESFORCE_PASSWORD>",
        "SALESFORCE_TOKEN": "<SALESFORCE_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • AUTH_MODECredential source: 'env' reads vars locally, 'gateway' expects header injection from the WYRE MCP Gateway. Set to 'env' for stdio/local use.Required
  • SALESFORCE_AUTH_FLOWSalesforce auth flow: 'client_credentials' (default, requires a Connected App with Client Credentials Flow enabled) or 'username_password' (fallback).
  • SALESFORCE_CLIENT_IDConnected App consumer key. Required when SALESFORCE_AUTH_FLOW=client_credentials.Required
  • SALESFORCE_CLIENT_SECRETConnected App consumer secret. Required when SALESFORCE_AUTH_FLOW=client_credentials.Required
  • SALESFORCE_INSTANCE_URLSalesforce org's My Domain URL (e.g. https://yourorg.my.salesforce.com). Required when SALESFORCE_AUTH_FLOW=client_credentials.Required
  • SALESFORCE_USERNAMESalesforce username. Only used when SALESFORCE_AUTH_FLOW=username_password.
  • SALESFORCE_PASSWORDSalesforce password. Only used when SALESFORCE_AUTH_FLOW=username_password.
  • SALESFORCE_TOKENSalesforce security token. Only used when SALESFORCE_AUTH_FLOW=username_password; optional if the org has IP allowlisting configured instead.
  • MCP_TRANSPORTTransport mode for the server. Set to 'stdio' for local CLI use; the image defaults to 'http' for gateway hosting.
  • LOG_LEVELLog verbosity: debug, info, warn, error

Pricing

Open source

Salesforce FAQ

Is Salesforce free?

Yes. Salesforce is open source, so you can use and self-host it for free.

How do I add Salesforce to Claude Code?

Run this command in your terminal: claude mcp add salesforce-mcp --env AUTH_MODE='<AUTH_MODE>' --env SALESFORCE_CLIENT_ID='<SALESFORCE_CLIENT_ID>' --env SALESFORCE_CLIENT_SECRET='<SALESFORCE_CLIENT_SECRET>' --env SALESFORCE_INSTANCE_URL='<SALESFORCE_INSTANCE_URL>' --env SALESFORCE_PASSWORD='<SALESFORCE_PASSWORD>' --env SALESFORCE_TOKEN='<SALESFORCE_TOKEN>' -- docker run -i --rm -e AUTH_MODE -e SALESFORCE_CLIENT_ID -e SALESFORCE_CLIENT_SECRET -e SALESFORCE_INSTANCE_URL -e SALESFORCE_PASSWORD -e SALESFORCE_TOKEN ghcr.io/wyre-technology/salesforce-mcp:v1.0.3

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers