Purpose: This project provides a basic example of integration with Salesforce, demonstrating how to use the Model Context Protocol (MCP) to wrap some Salesforce capabilities as MCP tools for invocation by MCP-capable clients. The materials explicitly mention interaction capabilities including sending emails and deploying Apex code.
Main capabilities: Interact with Salesforce features through MCP tools; the examples cover two types of operations: sending emails and deploying Apex code. The project itself is example-oriented and does not describe additional tools or the full feature scope.
Usage:
- Environment preparation: Install Node.js and npm (or yarn), and prepare a Salesforce org in which a Connected App can be created.
- Install dependencies: Run npm install (or yarn install).
- Configure Salesforce credentials: You must create credentials.js in the utils folder (path: ./utils/credentials.js), exporting a getSalesforceCredentials() function that returns the connection information required for JWT Bearer Flow authentication. The example given in the materials includes loginUrl, username, clientId (the Connected App's Consumer Key), and privateKey (the private key used to sign the JWT assertion, which must include the BEGIN/END lines). A Connected App for JWT authentication must be configured in Salesforce, with the appropriate scopes allowed and the relevant user profiles pre-authorized.
- Configure the MCP server: The repository includes an example claude_desktop_config.json, which can serve as a configuration template; paths and credentials must be updated according to the actual environment.
- Run the server: The materials mention a "Running the Server" section and a high-quality video, but do not provide the specific run command text.
Applicable scenarios: Suitable as a development reference for learning about or validating the integration approach between MCP and Salesforce, especially the JWT Bearer Flow-based authentication configuration and the MCP tool invocation process.
Limitations: The materials do not describe the license, maintenance status, supported MCP client scope, error handling, security best practices, or production readiness; the specific command to run the server, the complete tool list, and testing methods are not yet provided.