Skip to main content

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_ACCESS_TOKEN": "SALESFORCE_ACCESS_TOKEN",
            "SALESFORCE_INSTANCE_URL": "SALESFORCE_INSTANCE_URL",
            "SALESFORCE_DOMAIN": "SALESFORCE_DOMAIN"
            }
        }
    }
}

Note on Salesforce Authentication Methods

This server supports two authentication methods:

  • OAuth (Recommended): Set SALESFORCE_ACCESS_TOKEN and SALESFORCE_INSTANCE_URL as environment variables.
  • Username/Password (Legacy): If SALESFORCE_ACCESS_TOKEN and SALESFORCE_INSTANCE_URL are not set, the server will fall back to using SALESFORCE_USERNAME, SALESFORCE_PASSWORD, and SALESFORCE_SECURITY_TOKEN.

Environment Configuration

  • SALESFORCE_DOMAIN (Optional): Set to test to connect to a Salesforce sandbox environment. If not set or left empty, the server will connect to the production environment.

Metadata

Release files for iflow-mcp_mcp-salesforce-connector 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_mcp-salesforce-connector 0.1.9
File Size Uploaded
iflow_mcp_mcp_salesforce_connector-0.1.9.tar.gz 39.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_mcp-salesforce-connector 0.1.9
File Interpreter ABI Platform
iflow_mcp_mcp_salesforce_connector-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 46.1 kB

Release files / iflow_mcp_mcp_salesforce_connector-0.1.9.tar.gz

Download URL iflow_mcp_mcp_salesforce_connector-0.1.9.tar.gz
Size 39.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0eb38b44c7c8b2583fedfd4347cdbad59fbfedc9d7f7829bbddf46419f1ce559
BLAKE2b-256 checksum
How to use checksums
654d7b54bb2a92dfc6e1dfd7cce82c9188ae5a7169d1808f426f873be88adb8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / iflow_mcp_mcp_salesforce_connector-0.1.9-py3-none-any.whl

Download URL iflow_mcp_mcp_salesforce_connector-0.1.9-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
99ebb615cf20758d53f8d01998a61a7b020b3e84236da5c92ab14ca9dbbd6289
BLAKE2b-256 checksum
How to use checksums
c3fc58dae23a54c4ee2834f5e2a4b89279f608f3569a8f7052174909f7700e55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page