Salesforce Marketing MCP Server
by zleventerio.github.ZLeventer/salesforce-marketing-mcpv1.0.1
MCP server for Salesforce — 47 tools for leads, campaigns, pipeline, attribution, and reporting.
context tax
queued
security
queued
cold start
queued
freshness
Slowing6mo ago
Install Salesforce Marketing MCP server
Install in Claude Code
claude mcp add salesforce-marketing -e SF_USERNAME='<sf-username>' -e SF_PASSWORD='<sf-password>' -e SF_SECURITY_TOKEN='<sf-security-token>' -- npx -y salesforce-marketing-mcpInstall in Cursor
{
"mcpServers": {
"salesforce-marketing": {
"command": "npx",
"args": [
"-y",
"salesforce-marketing-mcp"
],
"env": {
"SF_USERNAME": "<sf-username>",
"SF_PASSWORD": "<sf-password>",
"SF_SECURITY_TOKEN": "<sf-security-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"salesforce-marketing": {
"command": "npx",
"args": [
"-y",
"salesforce-marketing-mcp"
],
"env": {
"SF_USERNAME": "<sf-username>",
"SF_PASSWORD": "<sf-password>",
"SF_SECURITY_TOKEN": "<sf-security-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"salesforce-marketing": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"salesforce-marketing-mcp"
],
"env": {
"SF_USERNAME": "<sf-username>",
"SF_PASSWORD": "<sf-password>",
"SF_SECURITY_TOKEN": "<sf-security-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"salesforce-marketing": {
"command": "npx",
"args": [
"-y",
"salesforce-marketing-mcp"
],
"env": {
"SF_USERNAME": "<sf-username>",
"SF_PASSWORD": "<sf-password>",
"SF_SECURITY_TOKEN": "<sf-security-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SF_USERNAME | yes | — | Salesforce login email |
| SF_PASSWORD | yes | yes | Salesforce account password |
| SF_SECURITY_TOKEN | yes | yes | 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) |
Freshness
Slowing — last maintenance signal 6mo ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-04-26 · 6mo ago · official registry · v1.0.1
FAQ
›How do I install the Salesforce Marketing MCP server in Claude Code?
Run: claude mcp add salesforce-marketing -e SF_USERNAME='<sf-username>' -e SF_PASSWORD='<sf-password>' -e SF_SECURITY_TOKEN='<sf-security-token>' -- npx -y salesforce-marketing-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Salesforce Marketing require an API key?
Yes. It expects SF_USERNAME, SF_PASSWORD, SF_SECURITY_TOKEN, of which 2 are secrets.
›Can I use Salesforce Marketing as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Salesforce Marketing in the official MCP registry?
Yes, as io.github.ZLeventer/salesforce-marketing-mcp.
Alternatives to Salesforce Marketing
Other crm & marketing MCP servers.