MCP-Salesforce

This repository provides a Model Context Protocol (MCP) server for Salesforce integration, enabling LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and metadata retrieval, facilitating comprehensive Salesforce data access.

92
7

MCP Salesforce Connector

This repository provides a Model Context Protocol (MCP) server designed to seamlessly integrate Large Language Models (LLMs) with Salesforce. It enables LLMs to interact with Salesforce data using SOQL queries and SOSL searches.

Features

The connector offers a range of functionalities:

  • Executes SOQL queries to retrieve specific data from Salesforce objects.
  • Performs SOSL searches for broader data discovery within Salesforce.
  • Retrieves metadata for Salesforce objects, including field details like names, labels, and data types.
  • Supports CRUD operations: retrieving, creating, updating, and deleting Salesforce records.
  • Executes Tooling API requests for advanced Salesforce development tasks.
  • Executes Apex REST requests to interact with custom Salesforce logic.
  • Allows direct REST API calls to Salesforce for maximum flexibility.

Configuration

Model Context Protocol

To integrate this server with the Model Context Protocol, configure it within your claude_desktop_config.json file. Add a "salesforce" entry to the mcpServers section, specifying the command to execute the connector (uvx) and necessary arguments. Crucially, set the environment variables SALESFORCE_USERNAME, SALESFORCE_PASSWORD, and SALESFORCE_SECURITY_TOKEN with your Salesforce credentials for authentication.

Repository

SM
smn2gnt

smn2gnt/MCP-Salesforce

Created

December 17, 2024

Updated

March 27, 2025

Language

Python

Category

Sales