Model Context Protocol server for Salesforce integration - enables AI agents to securely access Salesforce data
If you already use Salesforce, the salesforce mcp server is the piece that lets your assistant work with it directly. Model Context Protocol server for Salesforce integration - enables AI agents to securely access Salesforce data.
A Model Context Protocol (MCP) server that provides AI agents with secure access to Salesforce data and operations. Built for sales, marketing, and executive teams to interact with their Salesforce CRM through natural language.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
Scripts — The Scripts tool exposed by this serverInstallation goes through your MCP client rather than a global install: point it at from on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Configuration is passed through the environment: SALESFORCE_CLIENT_ID, SALESFORCE_CLIENT_SECRET, SALESFORCE_USERNAME, SALESFORCE_PASSWORD, SALESFORCE_SECURITY_TOKEN, SALESFORCE_READ_ONLY_MODE, SALESFORCE_LOGIN_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Salesforce's toolset — Scripts — is a fair guide to whether it matches your workflow. It is maintained by tomnagengast; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Scripts | The Scripts tool exposed by this server. |
**For local installation:**
```json
{
"mcpServers": {
"salesforce": {
"command": "node",
"args": ["/path/to/your/mcp-server-salesforce/dist/index.js"],
"cwd": "/path/to/your/mcp-server-salesforce"
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| SALESFORCE_CLIENT_ID | Configuration value read at startup. | Optional |
| SALESFORCE_CLIENT_SECRET | Credential the server authenticates with. | Yes |
| SALESFORCE_USERNAME | Configuration value read at startup. | Optional |
| SALESFORCE_PASSWORD | Configuration value read at startup. | Optional |
| SALESFORCE_SECURITY_TOKEN | Credential the server authenticates with. | Yes |
| SALESFORCE_READ_ONLY_MODE | Configuration value read at startup. | Optional |
| SALESFORCE_LOGIN_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.