Salesforce MCP Server
Model Context Protocol server for Salesforce REST API integration
Overview
Salesforce MCP Server is a Model Context Protocol server designed for seamless integration with Salesforce through its REST API, enabling developers to interact with Salesforce data easily.
To use the Salesforce MCP Server, clone the repository, set up your environment with Salesforce credentials, install necessary dependencies, build the project, and start the server to access its functionalities.
- Execute SOQL queries - Retrieve detailed object metadata - Create, update, and delete Salesforce records - Secure authentication handling - Real-time access to your Salesforce data
- Automating data retrieval from Salesforce using SOQL queries.
- Managing Salesforce records programmatically for applications.
- Integrating Salesforce with other systems through a secure API.
Add to your AI client
Use these steps to connect Salesforce MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"salesforce-mcp-server-kablewy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-salesforce-mcp-server-kablewy"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"salesforce-mcp-server-kablewy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-salesforce-mcp-server-kablewy"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"salesforce-mcp-server-kablewy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-salesforce-mcp-server-kablewy"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"salesforce-mcp-server-kablewy": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-salesforce-mcp-server-kablewy"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"salesforce-mcp-server-kablewy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-salesforce-mcp-server-kablewy"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"salesforce-mcp-server-kablewy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-salesforce-mcp-server-kablewy"
]
}
}
}FAQ
What is SOQL?
SOQL stands for Salesforce Object Query Language, which is used to query Salesforce data.
Is there support for authentication?
Yes, the server includes secure authentication handling for API access.
Can I contribute to the project?
Absolutely! Contributions are welcome, and users can submit pull requests for improvements.