Back to Home

Salesforce-MCP-Server

Verified Safe

by 5p875v6f46-ai

Overview

Provides programmatic access to Salesforce metadata through a standardized interface, enabling AI applications to discover and interact with Salesforce org structure.

Installation

Run Command
python salesforce_mcp.py

Environment Variables

  • SF_INSTANCE_URL
  • SF_CLIENT_ID
  • SF_CLIENT_SECRET

Security Notes

The primary authentication in `salesforce_mcp.py` uses Web Server OAuth Flow with PKCE, which is a secure standard. Credentials (Client ID/Secret) are loaded from environment variables, which is good practice. However, access tokens are saved to a plaintext file (`~/.salesforce_mcp_token.json`), which presents a moderate risk as any local process with file access can read the token. The `configure_salesforce` MCP tool within `salesforce_mcp.py` confusingly still accepts and stores `username` and `password` in `os.environ`, though these are not used by the primary PKCE authentication flow. Older documentation and test scripts also reference the less secure Username-Password Flow, but the main server has pivoted to PKCE. No malicious patterns like `eval` or obfuscation were detected.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-11-25

Tags

SalesforceMetadataOAuth2AI IntegrationDev Tools