by smn2gnt
Enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and direct REST API calls, supporting record management and metadata retrieval.
Provides a Model Context Protocol (MCP) server that bridges large language models with Salesforce, allowing programmatic execution of SOQL, SOSL, Tooling API, Apex REST, and generic REST requests.
claude_desktop_config.json
under mcpServers
using the provided configuration.uvx --from mcp-salesforce-connector salesforce
).SALESFORCE_DOMAIN= test
.Q: Which authentication method should I use?
A: OAuth is recommended; set SALESFORCE_ACCESS_TOKEN
and SALESFORCE_INSTANCE_URL
. The server falls back to username/password if those are absent.
Q: How do I connect to a sandbox environment?
A: Set SALESFORCE_DOMAIN
to test
.
Q: Can I call custom Apex REST endpoints? A: Yes, use the Apex REST request feature to target any custom endpoint.
Q: What if I need to execute a non‑standard REST call? A: The direct REST API capability lets you specify method, URL, headers, and body.
A Model Context Protocol (MCP) server implementation for Salesforce integration, allowing LLMs to interact with Salesforce data through SOQL queries and SOSL searches.
To use this server with the Model Context Protocol, you need to configure it in your claude_desktop_config.json
file. Add the following entry to the mcpServers
section:
{
"mcpServers": {
"salesforce": {
"command": "uvx",
"args": [
"--from",
"mcp-salesforce-connector",
"salesforce"
],
"env": {
"SALESFORCE_ACCESS_TOKEN": "SALESFORCE_ACCESS_TOKEN",
"SALESFORCE_INSTANCE_URL": "SALESFORCE_INSTANCE_URL",
"SALESFORCE_DOMAIN": "SALESFORCE_DOMAIN"
}
}
}
}
Note on Salesforce Authentication Methods
This server supports two authentication methods:
SALESFORCE_ACCESS_TOKEN
and SALESFORCE_INSTANCE_URL
as environment variables.SALESFORCE_ACCESS_TOKEN
and SALESFORCE_INSTANCE_URL
are not set, the server will fall back to using SALESFORCE_USERNAME
, SALESFORCE_PASSWORD
, and SALESFORCE_SECURITY_TOKEN
.Environment Configuration
SALESFORCE_DOMAIN
(Optional): Set to test
to connect to a Salesforce sandbox environment. If not set or left empty, the server will connect to the production environment.Please log in to share your review and rating for this MCP.
{ "mcpServers": { "salesforce": { "command": "uvx", "args": [ "--from", "mcp-salesforce-connector", "salesforce" ], "env": { "SALESFORCE_ACCESS_TOKEN": "SALESFORCE_ACCESS_TOKEN", "SALESFORCE_INSTANCE_URL": "SALESFORCE_INSTANCE_URL", "SALESFORCE_DOMAIN": "SALESFORCE_DOMAIN" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.