salesforce-mcp
Enables interaction with Salesforce data through SOQL queries, SOSL searches, object metadata retrieval, record operations (create, read, update, delete), Tooling API requests, Apex REST requests, and direct REST API calls.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@salesforce-mcp show me the top 10 opportunities this quarter"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Salesforce Connector
A Model Context Protocol (MCP) server implementation for Salesforce integration, allowing LLMs to interact with Salesforce data through SOQL queries and SOSL searches.
Features
Execute SOQL (Salesforce Object Query Language) queries
Perform SOSL (Salesforce Object Search Language) searches
Retrieve metadata for Salesforce objects, including field names, labels, and types
Retrieve, create, update, and delete records
Execute Tooling API requests
Execute Apex REST requests
Make direct REST API calls to Salesforce
Related MCP server: mcp-nutanix
Configuration
Model Context Protocol
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_USERNAME": "YOUR_SALESFORCE_USERNAME",
"SALESFORCE_PASSWORD": "YOUR_SALESFORCE_PASSWORD",
"SALESFORCE_SECURITY_TOKEN": "YOUR_SALESFORCE_SECURITY_TOKEN"
}
}
}
}Replace YOUR_SALESFORCE_USERNAME, YOUR_SALESFORCE_PASSWORD, and YOUR_SALESFORCE_SECURITY_TOKEN with your Salesforce credentials.
Available Tools
10 toolsapex_executeC
Executes an Apex REST request
Inputs: action (required), method, data.
create_recordD
Creates a new record
Inputs: object_name (required), data (required).
delete_recordC
Deletes a record
Inputs: object_name (required), record_id (required).
get_object_fieldsC
Retrieves field Names, labels and types for a specific Salesforce object
Inputs: object_name (required).
get_recordC
Retrieves a specific record by ID
Inputs: object_name (required), record_id (required).
restfulB
Makes a direct REST API call to Salesforce
Inputs: path (required), method, params, data.
run_soql_queryC
Executes a SOQL query against Salesforce
Inputs: query (required).
run_sosl_searchC
Executes a SOSL search against Salesforce
Inputs: search (required).
tooling_executeC
Executes a Tooling API request
Inputs: action (required), method, data.
update_recordB
Updates an existing record
Inputs: object_name (required), record_id (required), data (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Most tools have clear distinct purposes, but there is some functional overlap that could cause confusion. For example, apex_execute, restful, and tooling_execute all involve making API calls with different endpoints, which might be ambiguous without careful reading of descriptions. The CRUD operations (create_record, get_record, update_record, delete_record) are well-differentiated from query/search tools (run_soql_query, run_sosl_search), but the multiple execution methods create some redundancy.
Tool names follow a mostly consistent verb_noun pattern with clear actions like create_record, delete_record, get_record, and update_record. However, there are minor deviations such as apex_execute and tooling_execute using 'execute' instead of a more specific verb, and restful being a noun rather than a verb_noun combination. Overall, the naming is readable and predictable with only slight inconsistencies.
With 10 tools, the count is well-scoped for a Salesforce integration server. It covers essential operations like CRUD, queries, searches, and API executions without being overwhelming. Each tool appears to serve a distinct purpose in the Salesforce domain, making the set manageable and comprehensive for typical agent tasks.
The tool set provides strong coverage of core Salesforce operations, including record management (create, read, update, delete), data querying (SOQL, SOSL), and API interactions (REST, Apex, Tooling). A minor gap is the lack of tools for metadata operations beyond get_object_fields, such as listing objects or managing schema changes, but agents can likely work around this using existing tools like restful or tooling_execute.
Maintenance
Related MCP Connectors
MCP server for Support & Service Management
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata.8MIT
- AlicenseNot gradedqualityDmaintenanceMCP Server for Nutanix Prism Central13MIT
- FlicenseNot gradedqualityDmaintenanceThis MCP server provides tools to interact with the Salesforce Agentforce API, allowing authentication, session creation, and message exchange with Salesforce agents.10-
- GPL 3.0