What is the Salesforce MCP server?
Salesforce CRM MCP server: accounts, contacts, opportunities, leads, tasks, and custom objects
How to install Salesforce
Copy-paste configuration for popular MCP clients.
SALESFORCE_CLIENT_IDrequiredSalesforce Connected App client ID (recommended path)
SALESFORCE_CLIENT_SECRETrequiredsecretSalesforce Connected App client secret (recommended path)
SALESFORCE_SANDBOXSet to true for sandbox environments
SALESFORCE_ACCESS_TOKENsecretStatic access token (alternative to OAuth)
SALESFORCE_INSTANCE_URLSalesforce instance URL (required for manual token mode)
SALESFORCE_CONFIG_DIRCustom config directory
SALESFORCE_OAUTH_PORTOAuth callback port (0 = OS-assigned)
SALESFORCE_OAUTH_SCOPESSpace-separated OAuth scopes
{
"mcpServers": {
"mcp-server-salesforce": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-salesforce"
],
"env": {
"SALESFORCE_CLIENT_ID": "<YOUR_SALESFORCE_CLIENT_ID>",
"SALESFORCE_CLIENT_SECRET": "<YOUR_SALESFORCE_CLIENT_SECRET>",
"SALESFORCE_SANDBOX": "<YOUR_SALESFORCE_SANDBOX>",
"SALESFORCE_ACCESS_TOKEN": "<YOUR_SALESFORCE_ACCESS_TOKEN>",
"SALESFORCE_INSTANCE_URL": "<YOUR_SALESFORCE_INSTANCE_URL>",
"SALESFORCE_CONFIG_DIR": "<YOUR_SALESFORCE_CONFIG_DIR>",
"SALESFORCE_OAUTH_PORT": "<YOUR_SALESFORCE_OAUTH_PORT>",
"SALESFORCE_OAUTH_SCOPES": "<YOUR_SALESFORCE_OAUTH_SCOPES>"
}
}
}
}{
"mcpServers": {
"mcp-server-salesforce": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-salesforce"
],
"env": {
"SALESFORCE_CLIENT_ID": "<YOUR_SALESFORCE_CLIENT_ID>",
"SALESFORCE_CLIENT_SECRET": "<YOUR_SALESFORCE_CLIENT_SECRET>",
"SALESFORCE_SANDBOX": "<YOUR_SALESFORCE_SANDBOX>",
"SALESFORCE_ACCESS_TOKEN": "<YOUR_SALESFORCE_ACCESS_TOKEN>",
"SALESFORCE_INSTANCE_URL": "<YOUR_SALESFORCE_INSTANCE_URL>",
"SALESFORCE_CONFIG_DIR": "<YOUR_SALESFORCE_CONFIG_DIR>",
"SALESFORCE_OAUTH_PORT": "<YOUR_SALESFORCE_OAUTH_PORT>",
"SALESFORCE_OAUTH_SCOPES": "<YOUR_SALESFORCE_OAUTH_SCOPES>"
}
}
}
}{
"mcpServers": {
"mcp-server-salesforce": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-salesforce"
],
"env": {
"SALESFORCE_CLIENT_ID": "<YOUR_SALESFORCE_CLIENT_ID>",
"SALESFORCE_CLIENT_SECRET": "<YOUR_SALESFORCE_CLIENT_SECRET>",
"SALESFORCE_SANDBOX": "<YOUR_SALESFORCE_SANDBOX>",
"SALESFORCE_ACCESS_TOKEN": "<YOUR_SALESFORCE_ACCESS_TOKEN>",
"SALESFORCE_INSTANCE_URL": "<YOUR_SALESFORCE_INSTANCE_URL>",
"SALESFORCE_CONFIG_DIR": "<YOUR_SALESFORCE_CONFIG_DIR>",
"SALESFORCE_OAUTH_PORT": "<YOUR_SALESFORCE_OAUTH_PORT>",
"SALESFORCE_OAUTH_SCOPES": "<YOUR_SALESFORCE_OAUTH_SCOPES>"
}
}
}
}{
"servers": {
"mcp-server-salesforce": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-salesforce"
],
"env": {
"SALESFORCE_CLIENT_ID": "<YOUR_SALESFORCE_CLIENT_ID>",
"SALESFORCE_CLIENT_SECRET": "<YOUR_SALESFORCE_CLIENT_SECRET>",
"SALESFORCE_SANDBOX": "<YOUR_SALESFORCE_SANDBOX>",
"SALESFORCE_ACCESS_TOKEN": "<YOUR_SALESFORCE_ACCESS_TOKEN>",
"SALESFORCE_INSTANCE_URL": "<YOUR_SALESFORCE_INSTANCE_URL>",
"SALESFORCE_CONFIG_DIR": "<YOUR_SALESFORCE_CONFIG_DIR>",
"SALESFORCE_OAUTH_PORT": "<YOUR_SALESFORCE_OAUTH_PORT>",
"SALESFORCE_OAUTH_SCOPES": "<YOUR_SALESFORCE_OAUTH_SCOPES>"
}
}
}
}claude mcp add mcp-server-salesforce --env SALESFORCE_CLIENT_ID=<YOUR_SALESFORCE_CLIENT_ID> --env SALESFORCE_CLIENT_SECRET=<YOUR_SALESFORCE_CLIENT_SECRET> --env SALESFORCE_SANDBOX=<YOUR_SALESFORCE_SANDBOX> --env SALESFORCE_ACCESS_TOKEN=<YOUR_SALESFORCE_ACCESS_TOKEN> --env SALESFORCE_INSTANCE_URL=<YOUR_SALESFORCE_INSTANCE_URL> --env SALESFORCE_CONFIG_DIR=<YOUR_SALESFORCE_CONFIG_DIR> --env SALESFORCE_OAUTH_PORT=<YOUR_SALESFORCE_OAUTH_PORT> --env SALESFORCE_OAUTH_SCOPES=<YOUR_SALESFORCE_OAUTH_SCOPES> -- npx -y @mindstone/mcp-server-salesforceRelated MCP servers
Browser automation MCP server: navigate, fill forms, click, screenshot, and manage tabs
View repository →Mindstone-internal release-pipeline test connector; not for use. Single ping tool; no auth.
View repository →ElevenLabs MCP server: TTS, music, sound effects, voices, and audio transcription
View repository →Email IMAP/SMTP MCP server: iCloud, Gmail, Yahoo, Outlook, and custom IMAP providers
View repository →