salesforce-mcp-server

LokiMCPUniverse/salesforce-mcp-server

3.3

If you are the rightful owner of salesforce-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Salesforce MCP Server is a highly customizable server designed to integrate Salesforce APIs with GenAI applications using the Model Context Protocol (MCP).

The Salesforce MCP Server is a robust and flexible solution for integrating Salesforce APIs with GenAI applications. It offers comprehensive coverage of Salesforce functionalities, including SOQL queries, CRUD operations, metadata access, bulk operations, and Apex REST endpoint calls. The server supports various authentication methods, such as OAuth 2.0 and username-password flow, making it suitable for enterprise environments. It is designed to handle multiple Salesforce organizations, implement rate limiting, and provide detailed error handling and audit logging. The server is built with Python and is easy to install and configure, making it accessible for developers looking to leverage Salesforce data in their GenAI applications.

Features

  • Comprehensive Salesforce API Coverage
  • Flexible Authentication Options
  • Enterprise-Ready with Multi-Org Support
  • Rate Limiting and Retry Logic
  • Detailed Error Handling and Audit Logging

Usages

usage with Claude Desktop

{
  "mcpServers": {
    "salesforce": {
      "command": "python",
      "args": ["-m", "salesforce_mcp.server"],
      "env": {
        "SALESFORCE_USERNAME": "your_username@company.com",
        "SALESFORCE_PASSWORD": "your_password",
        "SALESFORCE_SECURITY_TOKEN": "your_security_token"
      }
    }
  }
}

Tools

  1. salesforce_query

    Execute SOQL queries to retrieve data.

  2. salesforce_get_record

    Retrieve a specific record by ID.

  3. salesforce_create_record

    Create new records in Salesforce.

  4. salesforce_update_record

    Update existing records in Salesforce.

  5. salesforce_delete_record

    Delete records from Salesforce.

  6. salesforce_describe_object

    Get metadata about Salesforce objects.

  7. salesforce_bulk_create

    Handle large data volumes with bulk operations.

  8. salesforce_execute_apex

    Run Apex code in Salesforce.