A Model Context Protocol (MCP) server implementation for Salesforce integration
Project description
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
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_ACCESS_TOKEN": "SALESFORCE_ACCESS_TOKEN",
"SALESFORCE_INSTANCE_URL": "SALESFORCE_INSTANCE_URL",
}
}
}
}
Note on Salesforce Authentication Methods
This server supports two authentication methods:
- OAuth (Recommended): Set
SALESFORCE_ACCESS_TOKENandSALESFORCE_INSTANCE_URLas environment variables. - Username/Password (Legacy): If
SALESFORCE_ACCESS_TOKENandSALESFORCE_INSTANCE_URLare not set, the server will fall back to usingSALESFORCE_USERNAME,SALESFORCE_PASSWORD, andSALESFORCE_SECURITY_TOKEN.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_salesforce_connector-0.1.8.tar.gz.
File metadata
- Download URL: mcp_salesforce_connector-0.1.8.tar.gz
- Upload date:
- Size: 39.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e65ca011c23643a7ca1d30cec39e4e318c780e569757567feafd6d992859b2a9
|
|
| MD5 |
95d5e08cc9f5a8c627ca2b709d6c581f
|
|
| BLAKE2b-256 |
5e8580b5e0c69591a398294aa1c5a08f20efcc5d3a58eeb3107d91cd56c11598
|
File details
Details for the file mcp_salesforce_connector-0.1.8-py3-none-any.whl.
File metadata
- Download URL: mcp_salesforce_connector-0.1.8-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6256827d60b4d177696292de66b627ac70b6c1345b2f300c86c4477b18138aba
|
|
| MD5 |
eb9829bd899f9634a9de6a1ce3c5f2c6
|
|
| BLAKE2b-256 |
cc1261d0cd870458778933a985d3a67e0097b44ef4e17028496426c6243fb103
|