mcp-server-salesforce

mcp-server-salesforce

11

Salesforce MCP Server is a Model Context Protocol server that facilitates natural language interactions with Salesforce data. It provides features like object management and detailed schema information, making it easier to manipulate and search Salesforce data.

How do I authenticate with Salesforce using this server?

You can authenticate using either username/password with a security token or OAuth2 with a consumer key and secret.

What should I do if I encounter authentication errors?

Verify your credentials, ensure your security token is correct for username/password authentication, and check your consumer key and secret for OAuth2.

How can I integrate this server with Cursor IDE?

Install the package globally and configure the MCP server in Cursor IDE's .cursor/mcp.json file with the appropriate environment variables.

What are the required environment variables for OAuth2 authentication?

You need SALESFORCE_USERNAME, SALESFORCE_PASSWORD, SALESFORCE_CONSUMER_KEY, SALESFORCE_CONSUMER_SECRET, and optionally SALESFORCE_INSTANCE_URL.

How do I troubleshoot connection issues?

Check your Salesforce instance URL, verify network connectivity, and ensure proper API access permissions.