lciesielski/mcp-salesforce logo

lciesielski/mcp-salesforce

Free

具有与 Salesforce 实例交互基本演示的 MCP 服务器。

FreeFree tier
Type
Open Source

About lciesielski/mcp-salesforce

This project provides a basic example of integrating with Salesforce using the Model Context Protocol (MCP). It allows interaction with Salesforce features like sending emails and deploying Apex code through MCP tools. The server is built with Node.js and uses JWT Bearer Flow authentication for secure connection to a Salesforce org. It includes a sample configuration file for use with Claude Desktop and serves as a starting point for developers looking to connect AI assistants to Salesforce.

Key Features

Send emails through Salesforce via MCP tools
Deploy Apex code to Salesforce org
Uses JWT Bearer Flow authentication
Node.js and npm based server
Includes sample claude_desktop_config.json configuration
Open source (MIT license) example project

Pros & Cons

Pros
  • Open source with MIT license for easy reuse and modification
  • Simple setup with Node.js and npm
  • Uses standard MCP protocol for interoperability
  • Includes sample configuration for Claude Desktop
  • Demonstrates JWT authentication best practices
Cons
  • Requires a Salesforce org with Connected App configured for JWT flow
  • Manual credential setup needed (no automated deployment)
  • Limited to basic example features (email and Apex deployment only)
  • Not a production-ready solution, just a demonstration

Best For

Learning how to integrate MCP with SalesforcePrototyping Salesforce automation via AI assistantsSending Salesforce emails from MCP-enabled applicationsDeploying Apex classes using MCP tools

FAQ

What is the purpose of this project?
This project provides a basic example of integrating Salesforce with the Model Context Protocol (MCP) to allow AI assistants like Claude to interact with Salesforce features such as sending emails and deploying Apex code.