Connect to Claude
Connecting Claude to a Salesforce Hosted Model Context Protocol (MCP) server allows your AI assistant to interact with Salesforce logic and assets. These instructions apply to Claude.ai and the Claude Desktop app.
Prerequisites
Before starting, ensure you have:
An active Claude.ai account or the Claude Desktop app.
The consumer key for your registered External Client App (ECA) in Salesforce.
The name of your available MCP server.
Step-by-step Setup Instructions
In the left sidebar of Claude, click Customize.
Click Connectors, then click Add and select Add custom connector.
In the connector name field, enter a name for the connector.
Enter the server URL, substituting
<SERVER-NAME>with your specific server name:
Production orgs: https://api.salesforce.com/platform/mcp/v1/<SERVER-NAME>
Sandbox or scratch orgs: https://api.salesforce.com/platform/mcp/v1/sandbox/<SERVER-NAME>
Example:
To use the platform/sobject-all server in a sandbox org, enter:
https://api.salesforce.com/platform/mcp/v1/sandbox/platform/sobject-all
Click Continue.
Under OAuth client, select Use your own OAuth client.
In the OAuth Client ID field, paste the consumer key from your External Client App.
Next to your newly created connector, click Connect.
Configuring tool permissions (optional)
Once authentication completes successfully, click Configure next to the connector to adjust permission settings for the available tools on your selected MCP server.
Testing the connection
To test the client connection to the MCP server, submit a natural language request through Claude’s chat interface and verify that it returns the expected response.
Last updated
Was this helpful?


