Server Connection Failures

To troubleshoot server connection issues:

Use the URL format that matches your org type and server type:

  • For a Sandbox or scratch org with a standard server: https://api.salesforce.com/platform/mcp/v1/sandbox/platform/sobject-all
  • For a Developer, Enterprise, other non-sandbox org with a standard server: https://api.salesforce.com/platform/mcp/v1/platform/sobject-all
  • For a Sandbox or scratch org with a custom server: https://api.salesforce.com/platform/mcp/v1/sandbox/custom/myserver
  • For a Developer, Enterprise, or other non-sandbox org with a custom server: https://api.salesforce.com/platform/mcp/v1/custom/myserver

Be sure to activate your Salesforce Hosted MCP servers in the Salesforce UI before use.

Try connecting to sobject-all.

  • If sobject-all works, your original server name or configuration is likely incorrect.
  • If sobject-all also fails, continue to the next steps.

Confirm that your Org edition supports API access (for example, Developer or Enterprise, or Professional with API access enabled).

  • Confirm that you can log in to Salesforce UI from the same machine or network.
  • Test with Postman or MCP Inspector. If those tests succeed, the issue is likely specific to your MCP client settings.