MCP Salesforce connector
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mcp-salesforce": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server implementation for Salesforce integration, allowing LLMs to interact with Salesforce data through SOQL queries and SOSL searches.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in productivity / marketing
Persistent memory using a knowledge graph
Official Miro MCP server - Supports context to code and creating diagrams, docs, and data tables.
a self-hosted project management & Kanban solution + Instant shareable boards
DataForSEO API modelcontextprotocol server
MCP Security Weekly
Get CVE alerts and security updates for MCP Salesforce and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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"
}
}
}
}
run_soql_query - Execute SOQL queries against Salesforcerun_sosl_search - Perform SOSL searches across objectsget_object_fields - Retrieve field metadata for specific objectslist_sobjects - List all available SObjects (standard and custom)get_record - Retrieve a specific record by IDcreate_record - Create a new recordupdate_record - Update an existing recorddelete_record - Delete a recordbulk_create_records - Create multiple records in a single operationbulk_update_records - Update multiple records (must include Id field)bulk_delete_records - Delete multiple records using record IDstooling_execute - Execute Tooling API requestsapex_execute - Execute Apex REST requestsrestful - Make direct REST API calls to SalesforceNote on Salesforce Authentication Methods
This server supports four authentication methods:
SALESFORCE_ACCESS_TOKEN and SALESFORCE_INSTANCE_URL as environment variables.SALESFORCE_CLIENT_ID and SALESFORCE_CLIENT_SECRET for OAuth 2.0 Client Credentials flow. This is useful for server-to-server integrations.sf org display --json or sfdx force:org:display --json). Optionally set SALESFORCE_CLI_TARGET_ORG to target a specific org.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.SALESFORCE_CLI_TARGET_ORG (Optional): When using the Salesforce CLI authentication method, set this to target a specific org alias or username instead of the default org.