When a Salesforce MCP server completes the OAuth login and then fails with an authorization error, the most common root cause is one unchecked box in the External Client App: "Issue JSON Web Token (JWT)-based access tokens for named users." Salesforce's hosted MCP servers require an External Client App — Connected Apps are not supported — configured with your MCP client's exact callback URL (for Claude, https://claude.ai/api/mcp/auth_callback), the mcp_api and refresh_token scopes, and the named-user JWT security setting enabled. After any change, allow up to 30 minutes for the app to become operational before retesting. This guide gives the full correct configuration and the troubleshooting order that isolates Salesforce-side versus client-side failures — the same checklist Vantage Point uses when connecting Claude to client Salesforce orgs.
Of all the failure modes in a Salesforce–Claude rollout, this one is the most misleading. The user clicks through the OAuth screen, approves access, watches the login succeed — and then the connector reports that authorization failed. Teams burn hours re-checking usernames, passwords, and SSO, because every signal says the login worked. It did. The failure is in what happens next.
Understanding that distinction is what makes this a ten-minute fix instead of a multi-week support ticket.
The MCP connection handshake has two separate legs. First, OAuth authentication: the user proves who they are and consents to the connection. Second, token issuance for the MCP session: Salesforce mints the access token the MCP client will actually use, scoped to that named user.
The classic failure sits in the second leg. Salesforce's hosted MCP setup guide requires the External Client App's Security section to have "Issue JSON Web Token (JWT)-based access tokens for named users" selected — and all other options that don't require Salesforce support to change deselected. When that box is unchecked, OAuth completes perfectly and the authorization callback then fails, because the token format the hosted MCP server expects was never enabled.
Support engineers may first check whether PKCE (Proof Key for Code Exchange) is required on the app — a reasonable guess for OAuth callback failures generally. But for the hosted MCP server specifically, the named-user JWT setting is the documented requirement and the first place to look.
Salesforce's hosted MCP documentation is explicit: use an External Client App, not a Connected App — Connected Apps aren't supported for MCP clients. The correct configuration:
https://claude.ai/api/mcp/auth_callback. (Postman and Cursor use their own documented callbacks; some clients accept multiple.)Access MCP servers (mcp_api) and Perform requests at any time (refresh_token).Miss any one of these — wrong app type, a callback URL that doesn't match character-for-character, a missing scope, the JWT setting — and the failure surfaces only at authorization time, after the login appears to succeed.
When the configuration looks right and authorization still fails, work Salesforce's documented connection-failure sequence in order:
| Step | Check | What it tells you |
|---|---|---|
| 1 | Verify the server URL format — sandbox and scratch orgs use .../mcp/v1/sandbox/...; production orgs omit it |
A URL built for the wrong org type fails no matter how good the OAuth app is |
| 2 | Confirm the MCP server is activated in the Salesforce UI | Created-but-not-activated servers reject connections |
| 3 | Test a known server — connect to sobject-all |
If the known server works, your server name or configuration is wrong; if it also fails, the problem is deeper |
| 4 | Check org API eligibility — the edition must support API access | Professional edition without API access enabled can't host MCP connections |
| 5 | Isolate client-side issues — test with Postman or MCP Inspector from the same machine | If those succeed, the failure is specific to the MCP client's own settings — e.g., the connector isn't enabled for users in the client's admin panel |
That last step matters more than it looks. When OAuth succeeds in a test tool but fails in Claude, the remaining suspects live on the client side: whether the custom connector was added at the organization level, whether an admin has made it available to the user, and whether the user is authenticating into the correct org. Splitting "Salesforce's half" from "the client's half" with a neutral test tool is how you avoid two vendors each blaming the other.
Once the connection works in a sandbox, the same External Client App offers production-grade controls worth enabling deliberately:
The reassuring part of the architecture: the hosted MCP server respects the org's existing security model. Sharing rules, role hierarchy, and field-level security all apply — access is dynamically scoped to whichever user authenticated. A well-governed org's controls carry straight through.
If you're mid-failure right now: open the External Client App, check the named-user JWT setting, correct the callback URL and scopes if needed, wait 30 minutes, and retest before touching anything else. If you're planning a rollout: build the External Client App in a sandbox first, validate against a known server, harden the OAuth policies, and only then replicate to production. The setup is declarative and genuinely quick — the failures come from skipping one checkbox in a guide nobody reads until something breaks.
Vantage Point implements Salesforce's hosted MCP connectivity as part of its Salesforce practice and its work as a Claude Partner Network member — including the Claude-side configuration where client admin settings matter just as much. Senior consultants only — no junior handoffs; the experts you meet are the experts who deliver. For the broader architecture picture, see the companion piece on how MCP connects Claude to your CRM, and for complex multi-system work, the firm's integration services cover the patterns beyond a single connector.
A working session with a senior consultant can validate your External Client App, walk the troubleshooting order, and get the connector authorized — usually in a single call.
No. Salesforce's hosted MCP documentation states that Connected Apps aren't supported for MCP clients. You must register the client through an External Client App from the External Client App Manager in Setup.
Enter https://claude.ai/api/mcp/auth_callback as the callback URL in the External Client App's OAuth settings. Other clients use their own documented callbacks — Postman uses its oauth.pstmn.io URLs, and Cursor uses a localhost callback.
Two: "Access MCP servers" (mcp_api) and "Perform requests at any time" (refresh_token). Adding broader scopes isn't necessary for the connection and widens the token's reach beyond what the MCP server uses.
Up to 30 minutes. Salesforce compares the delay to DNS propagation. Authorization attempts during that window can fail even with a perfect configuration, so wait before concluding something is wrong.
That pattern isolates the problem to the client side. Check whether the custom connector was added at the organization level in the client's admin panel, whether it's enabled for your user, and whether the callback URL in the External Client App matches the client's exact current value.
Yes. Access through the hosted MCP server is dynamically scoped to the authenticated user, so sharing rules, role hierarchy, and field-level security all apply exactly as they do in the UI.
Vantage Point is a boutique CRM consulting firm helping businesses transform with Salesforce, HubSpot, and AI — 150+ clients, 400+ engagements, and a 4.71/5 average engagement rating. Learn more at vantagepoint.io.