Salesforce MCP Server
FlowHunt’s Salesforce MCP Server provides AI-native access to Salesforce data, APIs, and automation tools, empowering developers to supercharge CRM workflows and automate business processes with ease.

What does “Salesforce” MCP Server do?
The Salesforce MCP (Model Context Protocol) Server acts as a connector that allows AI assistants and large language models (LLMs) to interact directly with Salesforce data. By exposing Salesforce’s rich set of APIs, this server enables development workflows such as querying databases with SOQL, searching with SOSL, retrieving metadata, managing records, and executing tooling or REST API requests. It streamlines the integration between AI clients and Salesforce, empowering developers and AI agents to automate business processes, extract insights, and manage Salesforce resources programmatically. This connectivity enhances productivity by making Salesforce’s data and services accessible in any AI-driven workflow.
List of Prompts
No explicit prompt templates are mentioned in the repository.
List of Resources
No specific MCP “resources” are enumerated in the available documentation.
List of Tools
- SOQL Query Execution
Enables LLMs to run Salesforce Object Query Language (SOQL) queries against Salesforce data. - SOSL Search Execution
Permits performing Salesforce Object Search Language (SOSL) searches for text across multiple objects. - Metadata Retrieval
Fetches metadata related to Salesforce objects, such as field names, labels, and types. - Record Management
Supports retrieval, creation, updating, and deletion of Salesforce records. - Tooling API Request Execution
Allows execution of Salesforce Tooling API requests for advanced development and debugging. - Apex REST Request Execution
Enables use of custom Apex REST endpoints exposed in Salesforce. - Direct REST API Calls
Facilitates making direct REST API calls to Salesforce for custom integrations.
Use Cases of this MCP Server
- Automated Salesforce Database Management
Easily query, update, create, and delete Salesforce records programmatically using LLMs, streamlining CRM data operations. - Codebase Exploration for Salesforce Developers
Retrieve object metadata and explore the structure of Salesforce objects and fields, aiding in rapid development and debugging. - API Integration and Orchestration
Use AI agents to orchestrate Salesforce REST and Tooling API calls as part of larger automation or workflow pipelines. - Salesforce Data Search and Reporting
Execute powerful text searches and structured queries for analytics or reporting purposes, surfacing Salesforce insights via natural language. - Automated Testing and Monitoring
Leverage Tooling API and Apex REST endpoints to automate testing scenarios, monitor system health, or trigger custom logic in Salesforce.
How to set it up
Windsurf
Ensure
uvx
and the MCP Salesforce connector are installed.Open your Windsurf configuration file (e.g.,
windsurf_config.json
).Add the Salesforce MCP Server under 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" } } } }
Save the configuration and restart Windsurf.
Verify the setup by running a test Salesforce query.
Note: Secure your Salesforce credentials using environment variables, as shown above.
Claude
Install
uvx
and ensure the MCP Salesforce connector is available.Edit
claude_desktop_config.json
.Add the following under
mcpServers
:{ "mcpServers": { "salesforce": { "command": "uvx", "args": [ "--from", "mcp-salesforce-connector", "salesforce" ], "env": { "SALESFORCE_ACCESS_TOKEN": "SALESFORCE_ACCESS_TOKEN", "SALESFORCE_INSTANCE_URL": "SALESFORCE_INSTANCE_URL" } } } }
Save changes and restart Claude.
Run a SOQL query to confirm the server is connected.
Note: Use environment variables for Salesforce credentials as shown.
Cursor
Install
uvx
and the Salesforce MCP connector.Access the Cursor MCP configuration file.
Add the Salesforce server in 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" } } } }
Save and restart Cursor.
Test with a sample Salesforce operation.
Note: Secure API keys using environment variables as above.
Cline
Install prerequisites (
uvx
and connector package).Edit the Cline MCP configuration file.
Insert the following configuration:
{ "mcpServers": { "salesforce": { "command": "uvx", "args": [ "--from", "mcp-salesforce-connector", "salesforce" ], "env": { "SALESFORCE_ACCESS_TOKEN": "SALESFORCE_ACCESS_TOKEN", "SALESFORCE_INSTANCE_URL": "SALESFORCE_INSTANCE_URL" } } } }
Restart Cline and ensure the server is active.
Verify with a basic Salesforce REST API call.
Note: Always secure credentials using environment variables in the “env” section.
Example: Securing API Keys
{
"mcpServers": {
"salesforce": {
"command": "uvx",
"args": [
"--from",
"mcp-salesforce-connector",
"salesforce"
],
"env": {
"SALESFORCE_ACCESS_TOKEN": "your-access-token-here",
"SALESFORCE_INSTANCE_URL": "https://your-instance.salesforce.com"
}
}
}
}
How to use this MCP inside flows
Using MCP in FlowHunt
To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:

Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:
{
"salesforce": {
"transport": "streamable_http",
"url": "https://yourmcpserver.example/pathtothemcp/url"
}
}
Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “salesforce” to whatever the actual name of your MCP server is and replace the URL with your own MCP server URL.
Overview
Section | Availability | Details/Notes |
---|---|---|
Overview | ✅ | Description in README.md |
List of Prompts | ⛔ | No explicit prompt templates listed |
List of Resources | ⛔ | No MCP “resources” enumerated |
List of Tools | ✅ | Tool functions described in README.md |
Securing API Keys | ✅ | Environment variable usage shown |
Sampling Support (less important in evaluation) | ⛔ | Not mentioned |
Based on the above tables, the Salesforce MCP Server is well-documented for setup and describes its tools thoroughly, but lacks explicit information on prompt templates, resource primitives, and sampling/roots support. Its developer focus and clear authentication setup make it a strong option, though not fully featured by MCP standards.
MCP Score
Has a LICENSE | ✅ (MIT) |
---|---|
Has at least one tool | ✅ |
Number of Forks | 37 |
Number of Stars | 96 |
Frequently asked questions
- What is the Salesforce MCP Server?
The Salesforce MCP Server is a connector that allows AI agents and large language models to interact directly with Salesforce. It provides tools for querying data, managing records, retrieving metadata, and executing API requests, enabling automation and advanced workflows within Salesforce.
- What can I do with the Salesforce MCP Server?
You can run SOQL queries, perform SOSL searches, fetch Salesforce object metadata, manage (create, update, delete) records, execute Tooling and Apex REST API requests, and orchestrate custom API integrations — all programmatically or with AI agents.
- How do I secure my Salesforce credentials?
Always use environment variables to store sensitive information such as your Salesforce access token and instance URL. Configure these in the MCP server setup as shown in the documentation to ensure security and compliance.
- Is there a prompt template or resource list available?
Currently, the Salesforce MCP Server does not provide explicit prompt templates or a resource primitive list. Its main focus is on tool-based API and data access for development and automation purposes.
- Who should use the Salesforce MCP Server?
Salesforce administrators, developers, and anyone building AI-driven workflows that require direct access to Salesforce data, metadata, or automation capabilities will benefit from using this MCP Server.
Supercharge Your Salesforce Workflows with FlowHunt
Connect your AI agents to Salesforce using FlowHunt’s Salesforce MCP Server for seamless data management, automated insights, and powerful integrations.