PluginBench
MCP Server

Salesforce Marketing MCP Server

io.github.ZLeventer/salesforce-marketing-mcp

What is the Salesforce Marketing MCP server?

MCP server for Salesforce — 47 tools for leads, campaigns, pipeline, attribution, and reporting.

How to install Salesforce Marketing

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • SF_USERNAME
    required

    Salesforce login email

  • SF_PASSWORD
    required
    secret

    Salesforce account password

  • SF_SECURITY_TOKEN
    required
    secret

    Salesforce security token (appended to password on login)

  • SF_LOGIN_URL

    Login URL — use https://test.salesforce.com for sandbox (default https://login.salesforce.com)

  • SF_API_VERSION

    Salesforce REST API version (default 60.0)

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "salesforce-marketing-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "salesforce-marketing-mcp"
      ],
      "env": {
        "SF_USERNAME": "<YOUR_SF_USERNAME>",
        "SF_PASSWORD": "<YOUR_SF_PASSWORD>",
        "SF_SECURITY_TOKEN": "<YOUR_SF_SECURITY_TOKEN>",
        "SF_LOGIN_URL": "<YOUR_SF_LOGIN_URL>",
        "SF_API_VERSION": "<YOUR_SF_API_VERSION>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "salesforce-marketing-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "salesforce-marketing-mcp"
      ],
      "env": {
        "SF_USERNAME": "<YOUR_SF_USERNAME>",
        "SF_PASSWORD": "<YOUR_SF_PASSWORD>",
        "SF_SECURITY_TOKEN": "<YOUR_SF_SECURITY_TOKEN>",
        "SF_LOGIN_URL": "<YOUR_SF_LOGIN_URL>",
        "SF_API_VERSION": "<YOUR_SF_API_VERSION>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "salesforce-marketing-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "salesforce-marketing-mcp"
      ],
      "env": {
        "SF_USERNAME": "<YOUR_SF_USERNAME>",
        "SF_PASSWORD": "<YOUR_SF_PASSWORD>",
        "SF_SECURITY_TOKEN": "<YOUR_SF_SECURITY_TOKEN>",
        "SF_LOGIN_URL": "<YOUR_SF_LOGIN_URL>",
        "SF_API_VERSION": "<YOUR_SF_API_VERSION>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "salesforce-marketing-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "salesforce-marketing-mcp"
      ],
      "env": {
        "SF_USERNAME": "<YOUR_SF_USERNAME>",
        "SF_PASSWORD": "<YOUR_SF_PASSWORD>",
        "SF_SECURITY_TOKEN": "<YOUR_SF_SECURITY_TOKEN>",
        "SF_LOGIN_URL": "<YOUR_SF_LOGIN_URL>",
        "SF_API_VERSION": "<YOUR_SF_API_VERSION>"
      }
    }
  }
}
Claude Code
claude mcp add salesforce-marketing-mcp --env SF_USERNAME=<YOUR_SF_USERNAME> --env SF_PASSWORD=<YOUR_SF_PASSWORD> --env SF_SECURITY_TOKEN=<YOUR_SF_SECURITY_TOKEN> --env SF_LOGIN_URL=<YOUR_SF_LOGIN_URL> --env SF_API_VERSION=<YOUR_SF_API_VERSION> -- npx -y salesforce-marketing-mcp

Related MCP servers

Google Ads

Maintained

MCP server for Google Ads — 22 tools for spend diagnosis, impression share, and asset performance.

1
TypeScript
MIT
View repository →

MCP server for LinkedIn Ads — 19 read-only tools for campaigns, performance, and Lead Gen Forms.

View repository →

MCP server for Marketo — 32 tools for leads, programs, emails, forms, lists, and bulk export.

View repository →