P

MCP-Salesforce

...
Created 12/17/2024bysmn2gnt

Categories

mcpmodelcontextprotocolsalesforceserver

Language:

Python

Stars:

43

Forks:

11

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_USERNAME": "YOUR_SALESFORCE_USERNAME",
            "SALESFORCE_PASSWORD": "YOUR_SALESFORCE_PASSWORD",
            "SALESFORCE_SECURITY_TOKEN": "YOUR_SALESFORCE_SECURITY_TOKEN"
            }
        }
    }
}

Replace YOUR_SALESFORCE_USERNAME, YOUR_SALESFORCE_PASSWORD, and YOUR_SALESFORCE_SECURITY_TOKEN with your Salesforce credentials.

Last updated: 2/24/2025

Publisher info

smn2gnt's avatar

smn2gnt

1
followers
1
following
12
repos

More MCP servers built with Python

mcp-server-tidb

mcp server for tidb

By c4pt0r16
LLMling

Easy MCP (Model Context Protocol) servers and AI agents, defined as YAML.

By phil6516
xiyan_mcp_server

A Model Context Protocol (MCP) server that enables natural language queries to databases

By XGenerationLab56