Connecting Claude to Salesforce with the Salesforce Hosted MCP Server
Step-by-step guide to Salesforce's official hosted MCP integration. No local install required — your whole team can connect in minutes.
Why this matters
Connecting Claude to Salesforce is one of the biggest productivity unlocks your sales team can get right now. Instead of your AEs, SDRs, and ops team hunting through reports, copying data into spreadsheets, or pinging you for queries, they can ask Claude in plain English. "Which of my accounts in the Southeast haven't been touched in 30 days?" "Draft a note on the Acme account summarising my last call." "Show me every opportunity closing this quarter with no activity logged." Claude handles it, using each person's own Salesforce permissions.
But this only works if your CRM data is actually clean.
If your account ownership is stale, your contact titles are blank, your opportunity stages are inconsistent, your custom fields are half-populated, then Claude will happily give your team fast, confident, wrong answers. And wrong answers are worse than slow answers, because people act on them. You end up with AEs chasing the wrong accounts, ops making the wrong forecasts, and leadership making the wrong bets.
The foundational layer is boring. Cleaning up duplicate accounts, standardising picklists, enforcing required fields, making sure every contact has a category, every opportunity has a close date, every account has an owner. Nobody puts CRM hygiene on their OKRs. But without it, tools like this amplify your data problems instead of solving them.
If your CRM is in good shape, what follows unlocks real leverage across your whole sales org. If it isn't, fix the data first. Then come back.
What this guide covers
Salesforce's Hosted MCP Servers let anyone on your team connect Claude to your Salesforce org without installing anything locally. Users add a connector in claude.ai, log in with their Salesforce credentials, and they can immediately start asking Claude to query accounts, create notes, update contacts, and run other Salesforce workflows in plain English.
This guide walks you through the admin side setup in Salesforce and the user side connection in claude.ai. Active work takes about 15 minutes, plus a short propagation wait.
Single OAuth App
One app in Salesforce that all teammates authenticate against
Full API Access
Claude can read and modify records through standard Salesforce APIs
Per-User Permissions
Each user inherits their own Salesforce profile permissions
Central Visibility
See who's connected and revoke any user with a click
Before you start
Confirm your Salesforce edition
Go to Setup → Company Information. You need Enterprise Edition or higher. Professional Edition doesn't support this.
Confirm admin access
You need System Administrator rights in the org, because you'll be activating new MCP servers, creating an OAuth app, and editing policies. If you don't have that, loop in whoever does.
Decide production or sandbox
If you have both, pick one for your first setup. They use different connector URLs.
Activate the MCP server
Salesforce offers several MCP servers and you turn on only the ones you want. For a typical sales ops use case you want platform/sobject-all, which gives Claude full read and write access to standard and custom objects.
In Salesforce Setup, search for "API Catalog" in the Quick Find box. Click into API Catalog → MCP Servers. You'll see a list of available servers, including sobject-reads (read only), sobject-mutations (create and update, no delete), sobject-deletes, data-cloud-queries, and sobject-all.
Find sobject-all and toggle it to Active.
A note on picking a server:
- sobject-all is the right default for a sales ops admin. Full CRUD access to standard and custom objects. Covers note creation, contact updates, opportunity management, and most sales ops workflows.
- sobject-reads is safer for broader rollouts where you don't want any user's Claude session to modify data. Good for analyst or read-heavy use cases.
- You don't need multiple servers active if sobject-all covers you. It's a superset of the read-only and mutation-only versions.
If you see a banner about MuleSoft Anypoint Platform, ignore it. That's relevant only if you're exposing non-Salesforce APIs through MCP, which is outside the scope of this setup.
Create the External Client App
The MCP server is live, but Claude still needs OAuth credentials to authenticate against it. That's what an External Client App provides.
In Setup, search for "External Client App Manager" and click it. Then click New External Client App at the top right.
Basic Information
Fill in the required fields:
Claude Hosted MCP. This is what users will see on the OAuth consent screen.Skip the optional fields (Contact Phone, Info URL, Logo, Icon, Description).
API (Enable OAuth Settings)
Expand this section and tick Enable OAuth. More fields appear.
This is where Salesforce sends users back after they authorize.
Select these three from the left-hand list and move them to the right:
- Manage user data via APIs
(api) - Perform requests at any time
(refresh_token, offline_access) - Access Salesforce hosted MCP servers
(mcp_api)
The mcp_api scope is critical. Without it the hosted MCP server won't accept your connection. If you don't see it in the list at first, scroll further. It's there.
Leave Introspect all Tokens and Configure ID token unchecked.
Flow Enablement
Check only this one:
Do NOT enable Client Credentials Flow. Salesforce will warn you with a scary popup, and rightly so. That flow lets any caller with the client secret access the org without a user login, which breaks the whole per-user permissions model.
Security
Check these:
Leave unchecked: Enable Refresh Token Rotation, Limit Idle Refresh Token Time to Live, Enforce Refresh Token IP Allowlist.
Scroll further and you'll see collapsed sections for SAML, Canvas App, Mobile App, Push Notifications, and Notifications. Ignore all of those.
Click Create.
Configure OAuth Policies
Creating the app drops you on its detail page. There's one more setting to change before you're done.
Click the Policies tab, then expand OAuth Policies.
In the App Authorization section you'll see an IP Relaxation dropdown. By default it's set to "Enforce IP restrictions". Change it to "Relax IP restrictions" and save.
Why relax IP restrictions?
"Enforce IP restrictions" only allows connections from IPs in your org's trusted ranges. Claude.ai runs on cloud infrastructure with unpredictable IPs, so enforcing IP restrictions would block it entirely. Relaxing them lets claude.ai connect while still requiring full OAuth authentication on every session.
The other settings are fine at their defaults: Permitted Users ("All users can self authorize"), Refresh Token Policy (365 days), Named User JWT Based Access Token Settings (user's default session timeout), Enable Single Logout (off), High Assurance Session Required (off).
Wait for propagation
Salesforce needs up to 30 minutes to propagate the new External Client App across its infrastructure. In practice it's often 2 to 10 minutes, but budget for longer just in case.
Use this time to do Step 5 if you haven't already.
Check claude.ai connector permissions
This is the step that surprises most people.
In many claude.ai workspaces, individual users can't add custom MCP connectors without admin approval. When you go to add the Salesforce MCP URL, claude.ai will either let you in immediately, or it'll display a "request permission" prompt and fire off a ticket to your IT or Anthropic workspace admin.
If you hit that prompt, here's what to ask for:
"Please approve the Salesforce Hosted MCP URL (https://api.salesforce.com/platform/mcp/v1/platform/sobject-all) as a trusted connector for our Anthropic workspace. It's an officially supported, Salesforce-hosted integration. It uses standard OAuth, so each user authenticates with their own Salesforce credentials, and the MCP can only do what their own Salesforce permissions allow. The connector URL is owned and operated by Salesforce directly."
Tip: Getting org-wide approval is better than per-user approval. If IT approves the URL once at the workspace level, every teammate can add it afterwards without a ticket.
Connect claude.ai
Once propagation is done and connector permissions are sorted, open claude.ai in a browser.
Go to Settings → Connectors → Add custom connector. In the URL field, paste:
https://api.salesforce.com/platform/mcp/v1/platform/sobject-allhttps://api.salesforce.com/platform/mcp/v1/sandbox/platform/sobject-allClaude.ai will redirect you to your Salesforce login page. Log in with your normal Salesforce credentials. You'll see a consent screen showing the External Client App name and the permissions it's requesting (api, refresh_token, and mcp_api). Click Allow.
You should be redirected back to claude.ai with the connector listed as connected.
Test it
In a new claude.ai chat, ask something simple to verify the connection:
"What's my Salesforce user info?"
Calls get_user_info, no arguments needed, confirms auth is working.
"How many accounts do we have in California?"
Tests a basic SOQL query.
"Show me the five most recently modified opportunities."
Tests list retrieval.
If those work, you're set.
What Claude can do once connected
With platform/sobject-all active, Claude has access to these tools:
soql_query— SOQL queriesfind— SOSL full text searchdescribe_global— explore schemadescribe_sobject— object detailslist_recent_sobject_records— recent recordsget_related_records— traverse relationshipscreate_sobject_record— create recordsupdate_sobject_record— update recordsdelete_sobject_record— delete recordsget_user_info— identity checkIn practical terms, that's enough for Claude to handle most sales ops workflows: creating notes on accounts, updating contacts after a meeting, bulk checking account attributes, finding opportunities by filter, pulling pipeline reports.
Rolling out to your team
Once you've set up the admin side, onboarding teammates is trivial. Send them:
The connector URL for your org (production or sandbox)
A heads up that they'll see a Salesforce login screen during setup. They should use their normal Salesforce credentials.
A reminder that Claude can only do what their Salesforce profile lets them do. Read-only users get a read-only Claude. Admins get admin-powered Claude.
No installs, no configs, no support tickets when something breaks on one person's machine.
Central governance
As Salesforce admin you retain full control:
See who's connected via Setup → External Client App Manager → your app → OAuth Usage
Revoke any user's access from that same view with one click
Disable the whole thing via the app's Disable button if something goes wrong
Audit what's been done through standard Salesforce audit logs. Every API call made via MCP shows up as if that user made it directly.
Common issues
401 Unauthorized when connecting
Check the OAuth scopes include mcp_api. This is the most common cause.
404 when connecting
The server probably isn't activated. Double-check Setup → API Catalog → MCP Servers shows sobject-all as Active.
404 with "Unable to process request with empty serverURI"
Your connector URL probably includes a /d/{mydomainname}/ segment. Remove it. See the section below for the full explanation.
401 even though everything looks right
Give it another 20 minutes. Propagation can take longer than expected.
Wrong org
Production and sandbox use different URLs. Make sure the URL matches the org you're trying to connect to.
Claude.ai won't let you add the connector
You need admin approval for custom connectors in your workspace. See Step 5.
Pitfall: the /d/{mydomainname}/ segment
One issue trips up enough teams that it's worth flagging on its own. If you've copied the connector URL from an internal doc or an older Salesforce reference, you may end up with a URL that looks like this:
https://api.salesforce.com/platform/mcp/v1/d/{mydomainname}/platform/sobject-allWhen Claude tries to connect, the gateway returns a 404 with the message Unable to process request with empty serverURI.
Root cause: the /d/{mydomainname}/ segment is only required for orgs that have disabled the standard Salesforce login URL (login.salesforce.com). If your org still allows the standard login — which most do — that segment isn't needed and causes the gateway to reject the request.
Resolution: drop the /d/{mydomainname}/ portion. The correct URL is:
https://api.salesforce.com/platform/mcp/v1/platform/sobject-allNo changes are needed on the Salesforce side — the MCP server, External Client App, and OAuth token flow remain correctly configured. Just update the Claude connector config (and any Postman or API tests pointing at the same URL) to the corrected form.
Known issue: transient "has not been initialized" errors
As of 4 May 2026, Salesforce's Hosted MCP gateway has been experiencing intermittent server-side issues that briefly break working connections.
The symptom is an error along the lines of "has not been initialized — please reconnect", even though your OAuth token, External Client App, and MCP server configuration are all valid. Multiple users in the same org tend to be affected at the same time, and the issue typically self-resolves within a few hours.
Root cause (per Salesforce support): the Hosted MCP gateway loses the initialized session state for the tenant (e.g. the sobject-all server), even though tokens are still being accepted. This is a backend infrastructure event, not anything wrong with your setup, so it can't be fixed from the customer side.
If you hit this:
In Salesforce Setup → API Catalog → MCP Servers, toggle the affected server off and back on. This can force a fresh initialization on Salesforce's backend.
In claude.ai, disconnect and reconnect the connector to trigger a fresh OAuth flow (new token + new initialize call).
If it doesn't self-resolve within a few hours, open a Salesforce support case and ask them to escalate to the Hosted MCP backend team for a tenant-level reset.
Heads up on Salesforce cases: support manages one issue per case, so if this recurs you'll need a fresh case rather than reopening an old configuration ticket.
Need help setting this up?
If you sell into higher ed and want this configured properly for your team — along with the CRM hygiene work that makes it actually useful — get in touch.