Skip to content
MCP server

Salesforce

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

Runs locallyStatus and history
Pricing
Open source
Runs
Locally
Version
1.0.7
Listing updated
4 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-ai/salesforce-mcp:v1.0.7

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-ai/salesforce-mcp:v1.0.7"
      ],
      "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-ai/salesforce-mcp:v1.0.7"
      ],
      "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-ai/salesforce-mcp:v1.0.7"
      ],
      "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-ai/salesforce-mcp:v1.0.7"
      ],
      "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-ai/salesforce-mcp:v1.0.7"
      ],
      "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>"
      }
    }
  }
}

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-ai/salesforce-mcp:v1.0.7

What are the best alternatives to Salesforce?

The closest alternatives to Salesforce are Calven, CompanyData, MisarReach MCP Server, NeuralVerge and ZUUZ.

Alternatives to Salesforce

  1. Calven

    MCP server

    Product marketing context from Calven delivered into Claude, ChatGPT and other AI tools

    Not checked yet
    • Remote
    • Free trial
    • 3 GitHub stars
    • Marketing and SEO
  2. CompanyData

    MCP server

    Search and enrich company records from official registers via the CompanyData API

    • 3 tools
    • Remote
    • Paid
    • 3 GitHub stars
    • Analytics and data
  3. Find, enrich and score B2B leads and run outreach sequences from an AI assistant

    • 31 tools
    • Remote
    • Freemium
    • 1 GitHub star
    • Sales and CRM
  4. NeuralVerge

    MCP server

    Structured, source-tagged business and people data from 300+ sources for agents

    • 200 tools
    • Remote
    • Free trial
    • 1 GitHub star
    • Web search and scraping
  5. ZUUZ

    MCP server

    Ask Claude or ChatGPT about deals and follow-ups ZUUZ finds in sales email for MSPs

    Not checked yet
    • Remote
    • Free trial
    • Sales and CRM
  6. Fuse

    MCP server

    Hosted MCP server for B2B prospecting, contact enrichment, buying signals and outreach

    Not checked yet
    • Remote
    • Freemium
    • Sales and CRM