- Agentforce
- Customer Experience
- Cybersecurity
- Digital Transformation
- Salesforce Consulting Services
- Salesforce CRM
- Salesforce Development Services
- Salesforce Implementation Services
- Salesforce Integration services
- Salesforce Managed Services
- Salesforce Org Optimization & Technical
Salesforce MCP connects AI clients to hosted servers so they can use approved Salesforce data and actions under the signed-in user’s permissions. This guide explains how hosted servers and Agentforce’s MCP client differ, which server to enable first, how to set up a connection and how to reduce security risks. It also covers pricing, recent protocol changes and a practical rollout order.
MCP is short for Model Context Protocol. Salesforce offers hosted servers and an Agentforce client; its local DX server has reached end of life. Three of its 12 standard hosted servers were still in beta as of Nov. 11, 2026.
The same permissions that govern your people govern your agents, and five risks still need a plan: prompt injection, tool poisoning, stolen tokens, destructive writes and custom proxies. MCP also sits inside a wider shift toward agent-first architecture, and the standard itself keeps changing. The latest spec release, on July 28, 2026, adds a stateless core and a new way for clients to identify themselves.
Table of Contents
- What Is Salesforce MCP?
- Why Are Salesforce Teams Adopting MCP Now?
- How Does Salesforce MCP Work?
- Which Salesforce MCP Server Should You Turn On First?
- Salesforce MCP vs. REST API, Apex Actions, Flow and MuleSoft: Which Should You Use?
- Salesforce MCP Setup: How to Set Up Salesforce Hosted MCP Servers, Step by Step
- How to Connect Claude to Salesforce
- How Does Salesforce MCP Security Work?
- Salesforce MCP Security Risks and What Stops Each
- Salesforce MCP Security Checklist Before You Go Live
- How the Agentforce MCP Client Connects to External Salesforce MCP Servers
- Our Recommended Rollout Order for Salesforce's Hosted MCP Servers
- Where Salesforce MCP Is Heading
- Case Study: Clean Salesforce Data Before an MCP Rollout
- Plan Your Salesforce MCP Rollout With VALiNTRY360
What Is Salesforce MCP?
Salesforce MCP is Salesforce's support for the Model Context Protocol, an open standard that Anthropic introduced to let AI apps talk to outside systems through servers. In MCP terms, the AI app is the client, and Salesforce is the server that hands over data and actions as tools.
You set a server up once, and every compatible AI tool can use it. People use the name for three different things, and mixing them up causes most of the confusion:
- Salesforce hosted MCP servers: Salesforce runs them, and you control which ones are on.
- Agentforce's built-in MCP client: lets Agentforce agents call outside MCP servers. Salesforce documents it in its MCP for Agentforce help article.
- Salesforce DX MCP server: a local tool for developers, which reached its announced end of life on Nov. 2, 2026.
Most admins start with the hosted servers, so that's where we'll start too, before coming back to the Agentforce client.
Why Are Salesforce Teams Adopting MCP Now?
With Salesforce hosted MCP servers, Salesforce runs the servers, the scaling and the sign-in for you, which removes the work of hosting your own.
One Salesforce MCP setup can serve Claude, ChatGPT, Postman and Cursor. Slackbot can also connect through Salesforce Hosted MCP Servers if your team has a supported paid Slack plan with access to Slackbot and Salesforce.
- June 23, 2025: hosted servers start as a pilot. The DX server is in developer preview, and the Heroku and MuleSoft MCP servers are GA.
- Oct. 9, 2025: hosted servers enter beta.
- April 15, 2026: Salesforce announces Headless 360, with more than 60 new MCP tools and more than 30 coding skills.
- April 29, 2026: hosted servers reach GA for Enterprise Edition and above.
Only two weeks separate the Headless 360 announcement from general availability, and GA itself is about six months old as of Nov. 11, 2026. Expect the docs to keep changing.
How Does Salesforce MCP Work?
In the MCP flow, an AI app, which acts as the client, signs in as a user and then calls the tools that a Salesforce MCP server exposes. Hosted servers run on Salesforce infrastructure, and the language model runs on the client side. Salesforce's hosted MCP documentation says no language model processes requests or responses on the Salesforce side.
Traffic can flow the other way too, because Agentforce's built-in client calls outside servers. The table shows how the two directions differ.
| Hosted Servers | Agentforce MCP Client | |
|---|---|---|
| Direction | An outside AI app calls into Salesforce | Agentforce calls out to an external server |
| Who signs in | The user, through OAuth | A server-level connection, with no user sign-in |
| Where the model runs | In the client app | Inside Agentforce |
| Who sets it up | An admin enables servers and creates an External Client App | An admin registers the server and allowlists its tools |
Keep the two directions apart when you plan. They use different sign-in methods and carry different limits.
Which Salesforce MCP Server Should You Turn On First?
Start with the SObject Reads MCP server in a sandbox. It only reads and queries, and Salesforce's own security guidance is to start with the most restrictive setup that meets your use case. As of Nov. 11, 2026, Salesforce's standard servers reference lists 12 servers. Every one is disabled by default, an admin has to enable it, and you can't modify its tool set.
The table groups them by the job they do. Servers marked Beta carry that label in the reference, and the other nine have no status label.
| Job | Server | What the Docs Say It Does |
|---|---|---|
| Records | SObject Reads | Read and query only, with no changes to records |
| Records | SObject Mutations | Create and update records, but not delete |
| Records | SObject Deletes | Delete records only |
| Records | SObject All | Create, read, update and delete records, plus query and search across all objects. Its 11 tools include getObjectSchema, soqlQuery, which caps at 50,000 records per transaction, and find, which caps at 2,000 records |
| Content | Content Read-Only | Read access to Salesforce CMS assets, including workspaces, channels, content and folders |
| Content | Content Write | Write access to the same CMS assets |
| Data and analytics | Data 360 | Queries unified customer data. View Data 360 covers reads and Manage Data 360 covers configuration. It needs a Data 360 license and API v66.0 or later |
| Data and analytics | Tableau Next | Discovers semantic models, queries KPIs and runs analytics |
| Data and analytics | CRM Analytics, Beta | Discovers analytics apps, inspects dataset schemas, runs SAQL queries and reads dashboard and lens metadata |
| Org and metadata | Headless 360, Beta | Reaches a broad range of Setup and platform capabilities through Discover, Describe, Dispatch and Dispatch Read-Only. Dispatch can change org configuration, create or freeze users, assign permission sets and deploy Apex |
| Org and metadata | Metadata Grounding, Beta | Finds and reuses org metadata such as objects, fields, LWCs, users, permission sets, flows and Apex classes |
| Industry | Insurance Design Advisor | Validates insurance product setup, pricing configuration, API payloads and user permissions before runtime |
If none of these fits, you can build a custom MCP server that exposes autolaunched Flows, Apex invocable methods, @AuraEnabled methods, @RestResource endpoints or REST endpoints registered in the API Catalog. Salesforce notes that beyond a few dozen tools an AI client struggles to pick the right one, so keep each custom server focused. Status labels change, so check the reference again before you plan a rollout.
Salesforce MCP vs. REST API, Apex Actions, Flow and MuleSoft: Which Should You Use?
Reach for a Salesforce hosted MCP server when an AI agent needs to discover Salesforce capabilities as callable tools. For everything else, the table shows which option fits. Salesforce's general best practices say custom proxy layers around the REST APIs bypass platform security controls, drop request-level telemetry and add maintenance work, so use the hosted server as intended.
| Option | Choose It When | Watch For |
|---|---|---|
| Hosted MCP server | An agent must discover Salesforce capabilities as callable tools | Every call needs a signed-in user, so unattended jobs need another route |
| REST API integration | A system-to-system job runs with nobody signed in | You own the authentication, logging and error handling |
| Flow | You need multi-step logic with branching | Expose it to agents as an autolaunched Flow tool |
| Apex actions | You need callouts or logic beyond declarative tools | Expose them through @InvocableMethod, @AuraEnabled or @RestResource |
| External Services | You call an outside system that publishes an OpenAPI spec | The spec has to describe the API accurately |
| MuleSoft | You need protocol translation, transformation or orchestration across backends | The agent makes one callout, and MuleSoft handles the downstream work |
Plenty of projects use more than one. MCP handles the conversation, Flow or Apex holds the logic behind a tool, and MuleSoft reaches systems outside Salesforce.
Salesforce MCP Setup: How to Set Up Salesforce Hosted MCP Servers, Step by Step
Here's the MCP setup in eight steps. Salesforce describes the core flow as three steps: activate a server, create an External Client App and connect your client.
- Pick a server. Start with SObject Reads in a sandbox.
- Activate it. In Setup, enter MCP Servers in Quick Find, select MCP Servers under API Catalog and turn the server on. Allow up to two minutes.
- Find your client's callback URL. To connect Claude to Salesforce, use
https://claude.ai/api/mcp/auth_callback, and Postman over HTTP useshttps://oauth.pstmn.io/v1/callback. Cursor useshttp://localhost:8787/callback, and some versions also usecursor://anysphere.cursor-mcp/oauth/callback, so add both if you can. For ChatGPT, copy the callback URL from its Advanced settings. - Create an External Client App. Follow Salesforce's External Client App guide: open External Client App Manager, click New External Client App, fill in Basic Information and select Enable OAuth. Enter the callback URL and add the scopes Access MCP servers, which is mcp_api, and Perform requests at any time, which is refresh_token. Under Security, select Issue JSON Web Token based access tokens for named users, deselect the other options and click Create.
- Save the Consumer Key. Open Settings, then Consumer Key and Secret under OAuth Settings. The app can take up to 30 minutes to become available.
- Build the server URL. The format is
https://api.salesforce.com/platform/mcp/v1/followed by the server name, for exampleplatform/sobject-reads. Sandboxes add a sandbox segment:https://api.salesforce.com/platform/mcp/v1/sandbox/platform/sobject-reads. Orgs that block logins from login.salesforce.com or test.salesforce.com use the My Domain format instead. - Connect your client. Paste the server URL and Consumer Key into the client, then approve access in the browser.
- Test. Run a call in Postman first, then try a plain prompt.
A few gotchas trip people up. Connected Apps aren't supported, clients can't register themselves, and the mcp-remote package won't work. You can't create External Client Apps directly in a scratch org, so create the app in a Dev Hub org, add it to a package and install that package in the scratch org. If Cursor authorization fails, check that the callback in your Cursor version matches a value in your app.
How to Connect Claude to Salesforce
After completing the MCP setup above, connect Claude through the browser or desktop app, or through Claude Code. Both options use the Consumer Key and MCP server URL from steps 5 and 6.
Source: Salesforce’s guide to connecting Claude.
Claude in the Browser or Desktop App
Add https://claude.ai/api/mcp/auth_callback as a callback URL in your Salesforce External Client App. In Claude, add a connector using the MCP server URL and the Consumer Key. Then sign in to Salesforce and approve access.
Claude Code
Use the command-line setup if your enterprise has provisioned an Anthropic API key for you. Add http://localhost:38000/callback as a callback URL in your Salesforce External Client App. Replace the placeholders in the command below with your server name, server URL, Consumer Key and Consumer Secret.
claude mcp add --transport http "<server-name>" "<server-url>" \
--callback-port 38000 \
--client-id "<consumer-key>" \
--client-secret "<consumer-secret>"
In Claude Code, run /mcp and select Authenticate. If your enterprise hasn’t provisioned an Anthropic API key, set up the connector in your Claude.ai account and use it from Claude Code.
If you connect multiple servers, use names that identify them clearly. Salesforce’s guide uses salesforce- followed by the server’s API name, such as salesforce-sobject-all. With either setup, the signed-in Salesforce user’s permissions determine which records and fields Claude can access.
How Does Salesforce MCP Security Work?
Here's the short version: every tool call to a Salesforce MCP server runs as the signed-in user, so the permissions you already have decide what an agent can touch. This write-up on access controls for AI in Salesforce applies the same ideas to sales teams, and the model breaks into four layers.
- Authentication. Authorization code flow only, through a browser sign-in, so every transaction traces to a named user. PKCE is mandatory, and there's no dynamic client registration, no service accounts and no machine-to-machine flow. Salesforce's developer blog from June 30, 2026 strongly recommends a dedicated External Client App for each MCP client.
- Authorization. By default any org user can authenticate, so require a permission set for pre-authorization and assign it only to the people who need it. Add allowed IP ranges, though some clients use ranges too large for Salesforce's allowlist, so confirm with the vendor first. Turn on single logout, keep refresh token validity at 30 days or less, enable refresh token rotation, and revoke tokens from OAuth Usage when you need to.
- Permission controls. Object CRUD, field-level security and sharing rules all apply. If a user can't do something in the UI, their agent can't do it through MCP. Tool annotations such as readOnlyHint and destructiveHint are hints, not enforcement, and platform tools ship with accurate values.
- Logging. Open the Event Log File Browser in Setup, filter the event type to API Total Usage, then look for rows where API_CLIENT_CATEGORY is SALESFORCE_HOSTED_MCP. USER_NAME, CLIENT_IP and STATUS_CODE show who did what.
Most of this lives in settings admins already know, so the go-live checklist later focuses on testing it.
Salesforce MCP Security Risks and What Stops Each
Five risks come up again and again, and each one has a documented fix.
1. Prompt Injection Through CRM Text
In ForcedLeak, Noma Labs showed that hidden instructions in a Web-to-Lead Description field, which accepted about 42,000 characters, could make Agentforce send lead email addresses to an attacker's server. Noma reported the issue on July 28, 2025. Salesforce fixed it with Trusted URLs Enforcement on Sept. 8, 2025, and Noma disclosed it on Sept. 25, 2025, with a CVSS 9.4 rating. No hosted MCP server was involved. Fix: treat record text as untrusted, require approvals on writes and start read-only.
2. Tool Poisoning and Rug Pulls
The MCPTox benchmark ran 1,348 malicious cases against 45 live servers, 353 tools and 20 agents. Attack success reached as high as 72.8%, and the best refusal rate stayed under 3%. A separate study of 1,899 open-source servers found MCP-specific tool poisoning in 5.5% of them. Fix: allowlist tools and read each tool description before you enable it.
3. Stolen or Over-Broad OAuth Tokens
In August 2025, stolen OAuth tokens tied to the Salesloft Drift app exported data from many Salesforce instances. Google's threat intelligence team says it was not a core Salesforce platform flaw, and it wasn't an MCP incident. Fix: pre-authorize users with a permission set, set IP ranges, shorten refresh token life and revoke suspect tokens in OAuth Usage.
4. Destructive Writes
SObject Deletes exists, and deleting a parent record in a master-detail relationship also deletes its detail records. Deleted records go to the Recycle Bin, where you can recover them in the UI for up to 15 days, and MCP has no undelete tool. Fix: separate servers, client-side approval and a sandbox first.
5. Custom Proxies That Skip Platform Controls
A proxy around the REST APIs bypasses platform security controls and drops request-level telemetry. The MCP spec forbids token passthrough and requires per-client consent for proxy servers, which closes the confused deputy hole. Fix: use the hosted servers, and validate the token audience on anything custom.
Every fix above uses controls from the security section or the checklist that follows.
Salesforce MCP Security Checklist Before You Go Live
Run these tests after your MCP setup and before any agent touches real data. They check the settings from the earlier sections instead of repeating them.
Prepare the Sandbox
- One server enabled, starting with SObject Reads
- A low-privilege test user pre-authorized with a permission set
- A dedicated External Client App for each client
Prove the Limits Hold
- The test user can't see a field that field-level security hides
- Permissions tested with Apex runAs
- Revoking the token in OAuth Usage cuts the client off
Review Custom Tools
- Annotations set explicitly on every custom tool, with readOnlyHint true and destructiveHint false on read tools and destructiveHint true on tools that delete
- Tool names and descriptions are clear and specific
- Each tool returns a self-contained result
Confirm Monitoring and Approvals
- A test call shows up under API_CLIENT_CATEGORY
- Client approval required before write or delete
- Logs reviewed regularly after launch
Finish every item in the sandbox first, then repeat the same tests against production.
How the Agentforce MCP Client Connects to External Salesforce MCP Servers
You register the server in the Agentforce Registry, allowlist the tools you trust and add them to agents as actions. At registration, Agentforce captures the server and tool definitions and checks names and descriptions for invisible characters. It rechecks those definitions at each session start and each tool call, and it pulls any tool that changed.
MCP Risk Scores rate servers Low, Medium or High at registration and are GA per Salesforce's Winter '27 platform post, while Gateway policies govern how agents use each server. Winter '27, which is API v68.0, also lets agents built in Agent Script Builder act as MCP tools on a custom server. Treat this capability as new and test it in a sandbox first. The Considerations for MCP for Agentforce page lists the limits to design around:
- Transport: Streamable HTTP only.
- Auth: none, or OAuth 2.0 client credentials, with no user-level auth.
- Scope: tools only, with no prompts or resources.
- Time: 60 seconds per server call and 120 seconds for the reasoning step.
- Known issues: server registration metadata can't be packaged, and an out-of-sync server can still show as connected.
Design each tool to finish well inside the 60-second limit, and check connection status yourself, since a server that's out of sync can still say connected.
Our Recommended Rollout Order for Salesforce's Hosted MCP Servers
Enable servers from least powerful to most powerful. Here are the six tiers.
This order is based on VALiNTRY360's review of Salesforce's published server documentation as of Nov. 11, 2026.
- Read-only first. SObject Reads, which reads and queries only, and Content Read-Only, which reads CMS assets.
- Analytics and unified data. Tableau Next, CRM Analytics in beta and Data 360. Data 360 can also change configuration through Manage Data 360, so grant that permission only to people who need it.
- Specialty servers. Insurance Design Advisor and Metadata Grounding in beta. The reference describes their jobs but not every tool, so confirm the tool lists before you enable them.
- Controlled writes. SObject Mutations, which creates and updates with no delete, and Content Write.
- Broad or destructive. SObject Deletes, then SObject All, which covers full create, read, update and delete.
- Sandbox only. Headless 360 is in beta, and its Dispatch tool can change the org itself. Salesforce tells you to require approval for changes and to try them in a sandbox first.
Enable one tier at a time, and run the checklist above at each step before you move up.
Where Salesforce MCP Is Heading
MCP is still moving, so build on generally available features and keep an eye on the rest. Salesforce’s August 2026 Headless 360 announcement says the Headless 360 MCP Server is in open beta, while the Data 360 MCP Server and Slackbot MCP Server and Client are generally available. Salesforce’s Winter ’27 release notes list Observability Center as a beta feature.
On the protocol side, the MCP spec release of July 28, 2026 adds a stateless core, deprecates the older client registration method in favor of Client ID Metadata Documents, and deprecates Roots, Sampling and Logging with at least a 12-month window. Check the servers reference for spec support whenever you plan an upgrade. If you're unsure whether to wait, a read-only server in a sandbox is a safe first step whichever way the spec and the beta servers go.
Case Study: Clean Salesforce Data Before an MCP Rollout
Real California Milk’s CRM migration is not an MCP implementation, but it shows why reliable source data matters before agents use it. VALiNTRY360 migrated the agricultural marketing board from SugarCRM to Sales Cloud, automated quarterly Account and Contact imports and reconciliations, and connected Mailchimp and Zoom. Manual data work fell from 500 hours a year to 4, returning roughly 12 working weeks annually. Read the Real California Milk case study.
Plan Your Salesforce MCP Rollout With VALiNTRY360
Start with a focused server, clear permissions and a sandbox test of the actions your AI client can take. VALiNTRY360 can help plan and review the rollout.
Contact UsFrequently Asked Questions About Salesforce MCP
MCP stands for Model Context Protocol. Anthropic introduced it as an open standard that lets AI apps connect to outside systems through servers, and Salesforce Model Context Protocol support, known as Salesforce MCP, builds on it.
Yes. The official Salesforce MCP server is the hosted one, which reached general availability on April 29, 2026, according to Salesforce's GA announcement. The Salesforce DX MCP server is a separate local developer tool.
Enterprise Edition and above, according to Salesforce's GA announcement. Agentforce's built-in MCP client runs in Enterprise, Performance, Unlimited and Developer editions.
Salesforce documents Claude, ChatGPT, Cursor and Postman, plus Agentforce Vibes. Any client that supports OAuth 2.0 authorization code flow with PKCE should work. Slackbot can also connect on a supported paid Slack plan with access to Slackbot and Salesforce. Test each client in a sandbox first.
Create an External Client App with Claude's callback URL, https://claude.ai/api/mcp/auth_callback, and turn on a hosted server. Then add the server URL and Consumer Key in Claude and approve access in the browser. Claude Code can also connect through the claude mcp add command, as Salesforce's May 2026 guide to connecting Claude explains.
No. Every MCP tool call runs with the same permissions as the user who authorized the connection, so field-level security, object permissions and sharing rules decide what the agent sees. Salesforce's security best practices guide states this directly.
No. Salesforce's security guide says there are no service accounts, no machine-to-machine flows and no autonomous operation outside user context. For unattended system-to-system jobs, build an API integration instead, and MuleSoft is one common way to do it. Agentforce's built-in client is the exception, since it can use OAuth client credentials when it calls outside servers.
Yes. Hosted servers use an External Client App for OAuth, and Connected Apps aren't supported. Agentforce Vibes is the one documented client that doesn't need one.
Most of the wait is propagation. External Client App changes can take up to 30 minutes to apply, and switching a server on takes up to two minutes, as Salesforce's guide to activating MCP servers explains.
Only if you enable a delete-capable server or tool. Deleted records go to the Recycle Bin, and you can recover them in the Salesforce UI for up to 15 days. This Agentforce governance framework covers who signs off on destructive actions.
Open the Event Log File Browser in Setup, filter the event type to API Total Usage and look for rows where API_CLIENT_CATEGORY is SALESFORCE_HOSTED_MCP. This Agentforce observability guide covers logging and incident response for agents.
It's hidden instructions inside text an agent reads, like a lead description. The ForcedLeak research from Noma Labs hit Agentforce in 2025, so start read-only and require approvals on writes.
No. With Salesforce Hosted MCP servers, the language model runs in the client app, outside Salesforce, so review your AI client’s data terms. Salesforce’s Winter ’27 guidance says Trust Layer policies apply when an Agentforce agent is exposed as an MCP tool.
MCP is the protocol. Agentforce is Salesforce's agent platform, and it includes a built-in MCP client that calls outside servers.
It reached end of life on Nov. 2, 2026, according to the notice in Salesforce’s repository. Salesforce’s skills repository is the current place to start. Pinned installs still run, but they no longer receive fixes.
Salesforce says Hosted MCP Servers are intended only for customers with Flex Credits and that server usage may be billed. Salesforce’s Agentforce pricing page lists Flex Credits at $500 per 100,000 credits. Salesforce’s overview doesn’t list a per-call rate, so confirm your org’s entitlements and rates with your account executive.
| Pricing Item | Published Price or Terms |
|---|---|
| Hosted server usage | Intended only for customers with Flex Credits; server usage may be billed. |
| Flex Credits | $500 per 100,000 credits. |
| Per-call rate | Not listed in Salesforce’s overview. Confirm with your account executive. |
Related Posts
- Digital Transformation
- EHR/EMR
- Health Cloud Solutions
- Healthcare and Life Sciences
- Medical tech
- Patient Management Software
- Product Updates
- Salesforce CRM
- Salesforce Health Cloud
- Salesforce Healthcare Consulting
- Salesforce Org Optimization & Technical
Salesforce Winter ’27: Features Admins and Healthcare Teams…
Salesforce Winter ’27 gives admins new options for editing list views, retaining record access after an ownership change and testing flows. Start with a sandbox test of the settings your users need. For healthcare workflows, confirm which services your agreement…
- Salesforce CRM
- Salesforce vs
Salesforce vs. Microsoft Dynamics 365: An Honest 2026 Comparison
Salesforce vs. Microsoft Dynamics 365 is a choice about how your teams sell, support customers and share data with other systems. Salesforce offers customer-facing applications such as Sales Cloud and Service Cloud. Dynamics 365 includes CRM and ERP applications, with…
- EHR/EMR
- Health Cloud Solutions
- Healthcare and Life Sciences
- Medical tech
- Patient Management Software
- Salesforce Consulting Engagement
- Salesforce Consulting Services
- Salesforce Health Cloud
- Salesforce Healthcare Consulting
- Salesforce Implementation
- Salesforce Implementation Services
- Salesforce Integration
- Salesforce Integration services
- Salesforce Service Cloud
Health Cloud vs. Service Cloud: Which Does Your…
The Health Cloud vs. Service Cloud choice depends on whether your organization coordinates ongoing patient or member care or handles case-based support. Health Cloud supports healthcare workflows such as care management, appointments, referrals, utilization management, and clinical data. Service Cloud…