Salesforce MCP Server

# Salesforce Instance URL (Optional) # Default: https://login.salesforce.com # For sandbox use: https://test.salesforce.com SALESFORCE_INSTANCE_URL=https://login.salesforce.com # Method 1: Username/Password Authentication SALESFORCE_USERNAME=your.email@example.com SALESFORCE_PASSWORD=your_password_here SALESFORCE_TOKEN=your_security_token_here # Method 2: OAuth2 Authentication # Uncomment and fill these values to use OAuth2 instead of username/password auth # Note: Username and password are still required even with OAuth2 #SALESFORCE_CONSUMER_KEY=your_connected_app_consumer_key #SALESFORCE_CONSUMER_SECRET=your_connected_app_consumer_secret # Note: # 1. Rename this file to .env to use it # 2. Never commit your actual .env file to version control # 3. Get your security token from Salesforce Setup -> Reset Security Token # 4. For OAuth2, create a Connected App in Salesforce Setup to get consumer key/secret