MCP-Salesforce
by smn2gnt·★ 178·Score 50
MCP Salesforce Connector enables LLMs to interact with Salesforce data through SOQL queries and SOSL searches.
Overview
This MCP server provides comprehensive Salesforce integration capabilities, including executing SOQL queries, performing SOSL searches, retrieving metadata, managing records, and making API calls. It supports multiple authentication methods including OAuth, Client Credentials, Salesforce CLI, and legacy username/password authentication. The server offers both single record operations and bulk operations, along with advanced API tools for Tooling API and Apex REST requests.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server when you need to integrate AI/LLMs with Salesforce CRM data and want comprehensive CRUD operations plus advanced API access.
When NOT to choose this
Avoid if you don't already use Salesforce, as it requires Salesforce authentication credentials and deep knowledge of Salesforce APIs.
Tools this server exposes
12 tools extracted from the READMErun_soql_queryExecute SOQL queries against Salesforce
run_sosl_searchPerform SOSL searches across objects
get_object_fieldsRetrieve field metadata for specific objects
list_sobjectsList all available SObjects (standard and custom)
get_recordRetrieve a specific record by ID
create_recordCreate a new record
update_recordUpdate an existing record
delete_recordDelete a record
bulk_create_recordsCreate multiple records in a single operation
bulk_update_recordsUpdate multiple records (must include Id field)
tooling_executeExecute Tooling API requests
apex_executeExecute Apex REST requests
Comparable tools
Installation
- Install the package using uvx:
uvx install mcp-salesforce-connector - Configure in your
claude_desktop_config.json:
{
"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"
}
}
}
}- Set required environment variables for authentication
FAQ
- What authentication methods are supported?
- The server supports OAuth (recommended), Client Credentials, Salesforce CLI (default org), and Username/Password (legacy) authentication methods.
- Can I connect to a Salesforce sandbox?
- Yes, set SALESFORCE_DOMAIN to 'test' to connect to a Salesforce sandbox environment. If not set, it will connect to production.
Compare MCP-Salesforce with
Last updated · Auto-generated from public README + GitHub signals.