Allows interaction with Salesforce through its REST API, providing capabilities to execute SOQL queries, retrieve object metadata, create/update/delete records, and access real-time data from a Salesforce instance.
Salesforce MCP Server
A Model Context Protocol server implementation for interacting with Salesforce through its REST API using jsforce.
Installing via Smithery
To install Salesforce Server for Claude Desktop automatically via Smithery:
Features
Execute SOQL queries
Retrieve object metadata
Create, update, and delete records
Secure authentication handling
Real-time data access
Related MCP server: MCP Salesforce Connector
Setup
Clone the repository
Copy
.env.exampleto.envand fill in your Salesforce credentialsInstall dependencies:
npm installBuild:
npm run buildStart:
npm start
Usage
The server exposes several functions:
query
Execute SOQL queries against your Salesforce instance:
describe-object
Get metadata about a Salesforce object:
create
Create a new record:
update
Update an existing record:
delete
Delete a record:
Security
Make sure to:
Keep your
.envfile secure and never commit itUse IP restrictions in Salesforce when possible
Regularly rotate your security token
Consider implementing additional authentication for the MCP server
Contributing
Contributions are welcome! Please submit PRs with improvements.
Salesforce MCP Server
A Model Context Protocol server implementation for interacting with Salesforce through its REST API using jsforce.
Installing via Smithery
To install Salesforce Server for Claude Desktop automatically via Smithery:
Features
Execute SOQL queries
Retrieve object metadata
Create, update, and delete records
Secure authentication handling
Real-time data access
Setup
Clone the repository
Copy
.env.exampleto.envand fill in your Salesforce credentialsInstall dependencies:
npm installBuild:
npm run buildStart:
npm start
Usage
The server exposes several functions:
query
Execute SOQL queries against your Salesforce instance:
describe-object
Get metadata about a Salesforce object:
create
Create a new record:
update
Update an existing record:
delete
Delete a record:
Security
Make sure to:
Keep your
.envfile secure and never commit itUse IP restrictions in Salesforce when possible
Regularly rotate your security token
Consider implementing additional authentication for the MCP server
Contributing
Contributions are welcome! Please submit PRs with improvements.
License
MIT License