Back to Home
tsmztech icon

mcp-server-salesforce

by tsmztech

Overview

Enables natural language interaction with Salesforce data and metadata through an MCP server, allowing Claude to query, modify, and manage Salesforce objects, records, and Apex code.

Installation

Run Command
npx -y @tsmztech/mcp-server-salesforce

Environment Variables

  • SALESFORCE_CONNECTION_TYPE
  • SALESFORCE_USERNAME
  • SALESFORCE_PASSWORD
  • SALESFORCE_TOKEN
  • SALESFORCE_CLIENT_ID
  • SALESFORCE_CLIENT_SECRET
  • SALESFORCE_INSTANCE_URL

Security Notes

CRITICAL: Multiple SOQL/SOSL injection vulnerabilities exist due to direct string interpolation of user-provided arguments (e.g., `whereClause`, `orderBy`, `havingClause` in queries; `className`, `triggerName` in Apex read operations; `profileNames`, `username`, `logId` in permission/log management) into query strings without proper escaping or parameter binding. This contradicts the `SECURITY.md` claim of SOQL input sanitization. Additionally, the server allows full Apex code creation, update, and anonymous execution, which are high-privilege operations and pose a significant risk if the LLM is compromised or manipulated into generating malicious code. The potential for unauthorized data access, modification, or malicious code deployment is high.

Similar Servers

Stats

Interest Score52
Security Score2
Cost ClassMedium
Avg Tokens400
Stars115
Forks68
Last Update2025-12-08

Tags

SalesforceCRMAI IntegrationData ManagementAutomation