Salesforce MCP: the five ways to connect an AI client to Salesforce
Salesforce MCP is the way AI clients such as Claude, ChatGPT or Slack read and act on Salesforce data through the Model Context Protocol. Since April 2026, Salesforce hosts MCP servers for every Enterprise Edition org and above, and every call runs with the signed-in user's permissions.
There is more than one route, though, and they differ on who hosts the server, who holds the credentials and what you pay.
What MCP does, in one paragraph
The Model Context Protocol is an open standard for connecting AI applications to outside systems. An MCP server lists tools (query records, update an opportunity, run a flow) and an MCP client, the AI application, decides when to call them. For Salesforce, the server is the gatekeeper: it decides which operations exist and checks permissions before anything happens in the org.
The five routes into Salesforce
| Route | Hosted by | Auth | Edition | Billing on 21 Oct 2026 | Best for |
|---|---|---|---|---|---|
| Hosted standard MCP servers | Salesforce | OAuth per user, External Client App with mcp_api | Enterprise Edition and above | API allocation; agent metering planned | Most teams connecting Claude or ChatGPT |
| Headless 360 MCP Server (beta) | Salesforce | Same as above | Enterprise Edition and above | Same as above | Agents that need many operations through four tools |
| Salesforce DX MCP Server | You, on a developer machine | Your Salesforce CLI login | Any org you can log in to | Your org's API allocation | Developers working on metadata and code |
| Community servers from GitHub | You | Credentials you configure | Depends on the API access of your org | Your org's API allocation, plus your hosting | Prototypes, special needs |
| Third-party hosts (Zapier, CData and others) | The vendor | The vendor's connection to your org | Depends on API access | The vendor's subscription plus your API allocation | Teams already using that vendor |
The first two are the official, supported path for production. The DX server is a developer tool. The last two put someone else's code between the AI client and your CRM, which is a security review in itself.
The hosted servers in practice
Salesforce's developer blog gives the shortest path, which it says takes under 30 minutes:
- Enable a server in Setup, API Catalog, MCP Servers.
- Create an External Client App with the
mcp_apiandrefresh_tokenscopes. Connected Apps are not supported for MCP clients. - Connect your client. Postman for testing, then Claude, ChatGPT or a similar client for daily use.
Salesforce suggests starting with the platform/sobject-reads server in a sandbox: it is read-only, so nothing can be changed by mistake. From there you can choose a standard server or build the exact tool set your org needs. A separate Data 360 MCP server covers customer data in Data 360.
The Headless 360 server
The platform/headless-360 server takes a different approach. Instead of one tool per feature, it exposes four tools and a growing library of operations behind them:
| Tool | What it does |
|---|---|
| Discover | Searches the operations available right now |
| Describe | Returns the technical specification of one operation |
| Dispatch | Runs the operation (read and write) |
| Dispatch Read-Only | Runs read operations only |
At beta launch, most of its operations were Setup tasks for admins: managing users and permission sets, Apex triggers, platform events, named credentials. It is the server the Salesforce in Claude plugin is built on, and the core of what Salesforce first called Headless 360.
One request, end to end
What happens when a seller asks Claude "which of my deals closing this month have had no activity for two weeks?" through a hosted MCP server:
- The client picks a tool. Claude decides that the question needs a query on opportunities and calls the read tool exposed by the server.
- The server authenticates the user. The call carries the seller's OAuth token, issued through the External Client App.
- Salesforce applies permissions. The query runs as the seller: only the opportunities they can see are returned, with only the fields they can read.
- The API call is counted. It draws on the org's daily API allocation.
- The client composes the answer. Claude reads the records and writes the reply. That reasoning is billed by Anthropic, not Salesforce.
- Nothing is written unless the seller asks for a change and approves it, in which case a second, write tool is called and logged under the seller's name.
The answer is only as good as the Last Activity Date and Close Date fields it reads.
Permissions and audit
Every hosted MCP transaction runs as the authenticated user. Object permissions, field-level security, sharing rules, profile permissions and permission sets all apply, and the audit trail attributes each action to that user. If someone cannot edit an opportunity in Salesforce, their AI client cannot edit it through MCP either.
Two practices Salesforce recommends, and that are worth turning into rules:
- Ask before writing. Configure the AI client to require approval before any tool that changes configuration, alters or deletes data.
- Sandbox first. Admins and developers carry broad permissions; their first runs belong in a sandbox or a Developer org.
What MCP calls cost
Today, MCP calls are API calls. They count against the org's daily API allocation, which Salesforce pools across the whole org rather than per user. The published allocation is 100,000 calls plus a number per license: 1,000 per Enterprise license and 5,000 per Unlimited license, per 24 hours, plus any API add-ons you buy.
Worked example. An Enterprise org with 40 licenses has 100,000 + 40 x 1,000 = 140,000 API calls per 24 hours, shared by every integration. If 20 sellers each run a morning brief that triggers 150 MCP calls, that is 3,000 calls, about 2 % of the allocation. A nightly integration that already uses 120,000 calls a day changes the picture: the same briefs would push the org to the edge, and the limit applies to everyone at once.
The second meter is coming. Salesforce plans to register agents and bill each successful call from a registered agent as a Headless Platform Interaction in Flex Credits, targeted for November 2026, with rates still to be announced and 30 days' notice before metering starts. AI usage on the client side (Claude, ChatGPT) is billed separately by the AI vendor, which is why Claudeforce has no single price.
Troubleshooting the first connection
| Symptom | Likely cause | What to check |
|---|---|---|
| The client cannot complete OAuth | The app is a Connected App, or the scopes are incomplete | Use an External Client App with mcp_api and refresh_token |
| An endpoint that worked in beta stopped answering | Beta URLs were replaced by the generally available endpoints | Copy the server URL again from Setup, API Catalog, MCP Servers |
| A tool returns "insufficient access" | The signed-in user lacks object or field permission | Test the same action as that user in Salesforce; MCP applies the same rules |
| Some records are missing from answers | Sharing rules hide them from that user | Working as designed; compare with a report run by the same user |
| Calls fail late in the day | The org's daily API allocation is used up | Read API usage in Setup, System Overview; find the heaviest integration |
| A write happened without anyone noticing | The client was allowed to run write tools without approval | Turn on approval for every tool that creates, updates or deletes |
A security review in ten questions
- Which hosted servers are enabled, and is each one needed?
- Are write tools enabled, and on which servers?
- Which External Client Apps hold the
mcp_apiscope, and who owns each one? - Do clients require human approval before write tools run?
- Which users have broad permissions (admins, integration users), and do they use MCP clients?
- Is there an integration user acting on behalf of several people (for example in Slack), and is that acceptable for audit?
- Where are refresh tokens stored on the client side, and who can revoke them?
- Who reviews API usage weekly?
- Is every new agent registered once agent registration opens?
- Has every write scenario been tested in a sandbox first?
Glossary
| Term | Meaning |
|---|---|
| MCP server | The endpoint that lists tools and runs them against your org |
| MCP client | The AI application that decides which tool to call (Claude, ChatGPT, an internal agent) |
| Tool | One operation the server exposes, such as reading records or updating an opportunity |
| External Client App | The Salesforce app record that defines OAuth settings and scopes for an MCP client |
mcp_api scope | The OAuth scope that lets a client call hosted MCP servers |
| API allocation | The org's pool of API calls per 24 hours, shared by every integration |
| Headless Platform Interaction | Salesforce's planned billing unit for each call from a registered agent |
Sandbox first, in practice
Create the External Client App in a sandbox, enable only the read-only platform/sobject-reads server, and connect one client. Ask it ten questions your sellers would ask and compare each answer with a report. Only then enable a write tool, with approval required, and repeat. The whole exercise takes an afternoon and catches most permission surprises before production.
When MCP is the wrong tool
- Bulk data movement. Loading or syncing thousands of records is the job of the Bulk API or an ETL tool, not of an AI client calling tools one by one.
- Scheduled reporting. A report that must run every morning for every manager is better as a scheduled report or a dedicated job than as a prompt someone remembers to send.
- Strict, repeatable rules. If the answer must be the same every time (for example, "deals with no activity for 14 days"), a deterministic query is cheaper and more reliable than a model deciding how to query.
Choosing a route
- You want sellers to use Claude or ChatGPT on Salesforce data: hosted standard servers, read-only first.
- You want an agent to perform many kinds of tasks: the Headless 360 server, in a sandbox, while it is in beta.
- You are a developer working on metadata: the DX MCP server.
- You are below Enterprise Edition: the hosted servers are not available; a third-party host or a community server is possible if your org has API access, after a security review.
Whatever the route, the AI reads your fields as they are. An opportunity marked Commit with no activity for 90 days will be described as a Commit deal. MCP gives agents access to your pipeline; it does not make the pipeline true.
Frequently asked questions
What is the Salesforce MCP server?
A Salesforce MCP server is an endpoint that exposes your org's data, flows, Apex actions and queries to AI clients through the Model Context Protocol. Salesforce hosts these servers for Enterprise Edition orgs and above.
Are Salesforce hosted MCP servers generally available?
Yes, Salesforce announced general availability of hosted MCP servers in April 2026 for every Enterprise Edition org and above, after a pilot in spring 2025 and a beta in October 2025. The Headless 360 MCP Server is still in beta.
How do I connect Claude to Salesforce with MCP?
Enable an MCP server in Setup under API Catalog, create an External Client App with the mcp_api and refresh_token scopes, then add it as a connector in your AI client. Salesforce says the setup takes under 30 minutes.
Do MCP calls count against Salesforce API limits?
Yes, calls made through MCP are API calls and count against the org's daily allocation, which is pooled across the whole org. Salesforce also plans to bill registered agents in Flex Credits from November 2026.
Is a GitHub Salesforce MCP server safe to use?
It can be, but you host it, you hold the credentials and you review its code. Hosted servers run every call as the signed-in user with Salesforce's permission checks, which a community server may not replicate.
Related guides
Sources
- Salesforce Hosted MCP Servers Are Now Generally Available, Salesforce Developers Blog, Apr 2026
- Headless 360 MCP Server (Beta), Salesforce Developers, read 21 Oct 2026
- Introducing MCP support across Salesforce, Salesforce Developers Blog, Jun 2025
- Salesforce Platform API request limits, Salesforce Developers, read 21 Oct 2026
- Claudeforce has no published price and two separate meters, Beri, 28 Aug 2026
- Model Context Protocol, read 21 Oct 2026
TruthPipe is an independent product. It is not affiliated with, sponsored or endorsed by Salesforce or Anthropic. Salesforce, Agentforce and Claude are trademarks of their owners.