Configure Claude

Since Anthropic authored the original MCP specification, Claude has strong support for the MCP protocol and works well for developer testing.

These setup steps apply to Claude.ai and the Claude Desktop app. Claude Code inherits the same connection, so after you add the connector, it’s also available to Claude Code.

  1. In the left sidebar, click Customize.

  2. Click Connectors, then click Add and select Add custom connector.

  3. Enter a name for the connector. The name is shown in the connectors list.

  4. Enter the server URL, substituting the SERVER-NAME from the list of available servers.

    Server URL format:

    • For a All production orgs: https://api.salesforce.com/platform/mcp/v1/<SERVER-NAME>
    • For sandbox or scratch orgs: https://api.salesforce.com/platform/mcp/v1/sandbox/<SERVER-NAME>

    If your org blocks logins from login.salesforce.com or test.salesforce.com, use the My Domain URL format instead. See Find Your Server URL.

    Example: To use the platform/sobject-all server in a scratch org:

  5. Click Continue.

  6. Under OAuth client, select Use your own OAuth client.

  7. In OAuth Client ID, paste the consumer key that you copied from the external client app. This is the public identifier from the app’s OAuth settings, not an API key or token.

  8. Leave OAuth Client Secret blank, unless your authorization server requires one.

  9. Click Connect next to the connector you created.

    Claude will redirect to the org containing the External Client App created in the previous step. If you’ve logged in already, the user challenge is skipped and the flow proceeds forward, obtaining an access token and sending it back to Claude.

If authentication completes successfully, you can click Configure to configure the tools available in the MCP server you’ve chosen, allowing you to adjust permission settings.

You can now test the client’s connection to the MCP server by using Claude’s chatbot features. See Test Your MCP Client for prompt examples.