Skip to main content

A Model Context Protocol (MCP) server implementation for Salesforce integration

Project description

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",
            }
        }
    }
}

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_salesforce_connector-0.1.8.tar.gz (39.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_salesforce_connector-0.1.8-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file mcp_salesforce_connector-0.1.8.tar.gz.

File metadata

File hashes

Hashes for mcp_salesforce_connector-0.1.8.tar.gz
Algorithm Hash digest
SHA256 e65ca011c23643a7ca1d30cec39e4e318c780e569757567feafd6d992859b2a9
MD5 95d5e08cc9f5a8c627ca2b709d6c581f
BLAKE2b-256 5e8580b5e0c69591a398294aa1c5a08f20efcc5d3a58eeb3107d91cd56c11598

See more details on using hashes here.

File details

Details for the file mcp_salesforce_connector-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_salesforce_connector-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6256827d60b4d177696292de66b627ac70b6c1345b2f300c86c4477b18138aba
MD5 eb9829bd899f9634a9de6a1ce3c5f2c6
BLAKE2b-256 cc1261d0cd870458778933a985d3a67e0097b44ef4e17028496426c6243fb103

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page