Your Salesforce Org Just Became a Tool Anyone’s Agent Can Call

Integration Architecture · AI · Headless 360

Your Salesforce Org Just Became a Tool Anyone’s Agent Can Call

Summer ’26 made Salesforce-hosted MCP servers generally available. For the first time, your org is not a destination that external systems push data into. It is a set of governed tools that Claude, ChatGPT, Cursor, or a custom agent can call directly over OAuth. Here is what that inversion means for architects.

Reading time: ~9 minutes | Published: June 2026 | Published By: Sandip Patel, Salesforce Architect
RELEASE v67.0 Hosted MCP servers went GA in Summer ’26
ZERO INFRA 0 Servers for you to host, patch, or scale
STANDARD SERVERS 11+ Pre-built MCP endpoints ready to turn on
AUTH PKCE Per-user OAuth 2.0 on every single call
TL;DR

Salesforce now hosts MCP servers that expose your org’s records, SOQL, Flows, Apex, Named Queries, Data 360, and Tableau as callable tools for any MCP client. No middleware, no connector code, no infrastructure. Authentication is per-user OAuth 2.0 with PKCE, and every call respects field-level security and sharing rules. The architecture question is no longer “how do we integrate with Salesforce.” It is “which of our capabilities do we expose, to whom, and how do we govern it.”

1
The Integration Pattern Just Flipped
For twenty years, integrating meant pushing data into Salesforce. That assumption no longer holds.

Think about every Salesforce integration you have ever built. A middleware layer in the middle. MuleSoft, or a Heroku app, or a stack of Apex REST endpoints, all doing the same fundamental job: taking some external system and teaching it how to talk to your org. Your org sat at the end of the pipe. Things flowed toward it.

Summer ’26 inverts that. With Salesforce-hosted MCP servers now generally available, your org becomes a set of tools that an external AI agent calls directly. The agent does the reasoning. Your org provides the capability. No connector code sits in between.

Here is the part that changes how you think. An analyst opens Claude or ChatGPT, asks a question in plain language, and the model decides on its own that it needs to query your Salesforce data, runs a SOQL statement through the hosted MCP server, gets governed results back, and reasons over them. Nobody built a custom integration for that question. The capability was just there, exposed and waiting.

The Shift in One Line

You used to integrate with Salesforce. Now external agents integrate by calling Salesforce. The org stops being a place data goes and starts being a service other systems consume.

MCP, the Model Context Protocol, is the open standard underneath this. It gives AI clients a consistent way to discover and call tools. Salesforce did not invent it. What Salesforce did was host the servers itself, so there is no infrastructure for you to stand up, patch, or scale. You turn the feature on, define what is exposed, and the org answers.

That sounds small. It is not. It removes the single most expensive and brittle layer in most integration projects: the custom glue.

2
What’s Actually in the Box
Two flavors of server, and a catalog of capabilities you can turn on without writing connector code.

Salesforce ships two kinds of hosted MCP server. Standard servers are pre-built and generally available. You enable them, and a defined set of org capabilities becomes callable. Custom servers let you define your own, exposing exactly the actions you choose. Most teams will start with standard and graduate to custom as they learn what their agents actually need.

The standard catalog covers the operations you would expect an agent to want, and a few you might not have considered.

📋
SObject Operations

Read, create, update, and delete records on any object. Every operation respects field-level security and sharing rules, so the agent sees exactly what the authenticated user can see.

🔍
SOQL & Search

Run SOQL queries and SOSL search directly. This is the tool that lets a model answer “how many open opportunities over 50k in EMEA” without a pre-built report.

Invocable Actions & Flows

Expose Apex Invocable Actions, @AuraEnabled methods, Apex REST, and Flows as MCP tools. Your existing business logic becomes agent-callable with no rewrite.

📑
Named Queries

The Named Query API hit GA in Summer ’26. It lets you expose curated, parameterized SOQL as a scalable action, which is far safer than handing agents raw query access.

📊
Data 360 & Tableau

Query Data 360 and pull Tableau analytics through MCP. Agents can ground their answers in your unified data and your real metrics, not just CRM records.

🤖
Prompt Templates

Use Prompt Builder templates from your MCP client. The prompt engineering you already did inside Salesforce becomes reusable from any connected agent.

Notice what is happening with Invocable Actions and Flows. You spent years building business logic inside the platform. That logic does not get thrown away or reimplemented in some external orchestration layer. It gets exposed, as is, and an agent calls it like any other tool. The investment carries forward.

“The best part of hosted MCP isn’t the new capability. It’s that your existing Flows, Apex, and prompts become agent-callable without a rewrite.”

There is also a developer-facing layer worth knowing about. The Data 360 MCP Server arrived in developer preview, and rather than exposing roughly 200 REST operations one at a time, it fronts them with three facade tools: search to find a capability by intent, payload_examples to fetch a working request body, and execute to run it. That facade pattern is a smart bit of API design, and you will probably want to copy it when you build custom servers of your own.

3
How a Call Actually Flows
From a plain-language prompt in Claude to a governed result, step by step.

The magic feels like nothing happens, which is the point. But as an architect you need to know exactly where the security boundaries sit. Here is the path a single call takes.

Step 1
Client Prompt
User asks a question in Claude, ChatGPT, or a custom agent
Step 2
OAuth + PKCE
Client authenticates per-user against an External Client App
Step 3
Tool Discovery
Model reads available MCP tools and picks the right one
Step 4
Governed Execution
Org runs the call under that user’s FLS and sharing
Step 5
Result Returns
Only permitted data flows back to the model

The critical detail is in step four. Authentication is per-user OAuth 2.0 with PKCE, not a single shared integration account. When the agent runs a query, it runs as the person who authenticated. If that person cannot see a field, the agent cannot see it either. Your field-level security and sharing model becomes the access policy for AI, with no extra configuration.

This matters because the lazy alternative, a fat integration user with broad access, is exactly how data leaks happen at machine speed. Per-user auth means your existing permission design is doing the work. If your sharing model is sound, your agent access is sound. If it is not, this is a very good reason to fix it.

Architect’s Note

Per-user OAuth with PKCE is the single most important design decision in this feature. It means you do not need a separate “AI permission model.” You need your existing FLS and sharing to be correct, because that is precisely what now governs every agent call.

A Concrete Example

Say you expose a Named Query that returns open pipeline by region, parameterized on region and minimum deal size. An analyst in Claude asks about EMEA deals over 50k. The model finds the Named Query tool, supplies the two parameters, and the org executes it under the analyst’s permissions. The analyst gets numbers they were already allowed to see, surfaced through a model they were already using. You wrote one Named Query. You did not write an integration.

4
The Architect’s Adoption Playbook
A phased way to turn this on that prioritizes governance over speed.

The temptation with a feature this powerful is to enable everything and see what sticks. Resist it. The orgs that adopt hosted MCP well treat it as an access-design exercise first and a capability rollout second.

SCOPE EXPOSE OPERATE
1
Audit Your Sharing Model First
Because per-user OAuth makes FLS and sharing the access policy for agents, start by confirming those are correct for the users who will connect. If a profile has overly broad field access today, every agent that user runs inherits it. Fix this before anyone connects a client.
Do this before enabling anything
2
Pick One Read-Only Use Case
Start with querying, not writing. A SOQL or Named Query use case lets you prove the pattern with minimal blast radius. Nobody mutates a record while you are still learning how the agent behaves.
Lowest blast radius
3
Prefer Named Queries Over Raw SOQL
Raw SOQL access is flexible and dangerous. Named Queries let you expose curated, parameterized reads that you control. The agent gets exactly the query shapes you sanctioned, and nothing else. This is the difference between a tool and an open door.
Highest control per unit of effort
4
Expose Existing Flows and Invocables
When you are ready for write operations, reach for Flows and Invocable Actions you already trust. They carry your validation and business logic with them, so the agent cannot bypass the rules a record would normally enforce.
Reuse, don’t rebuild
5
Scope the External Client App Tightly
Auth runs through OAuth with PKCE on an External Client App. Treat its scopes the way you would any integration: least privilege, explicit object and field access, and a clear owner. Do not reuse a broad connected app you set up years ago for something else.
Least privilege, always
6
Monitor What Agents Actually Do
Capture the calls. Watch which tools get used, by whom, and how often. Agents process faster than humans, so a misconfigured loop or an over-eager query pattern shows up as volume long before it shows up as a complaint.
Observability is not optional
Org with clean sharing and Named Queries
Production-ready in days
Typical org, some permission cleanup needed
2-4 weeks of access work first
Org with broad profiles and integration users
Fix sharing before you connect
5
What Will Bite You
Even a well-designed rollout hits these. Plan for them.

Hosted MCP is a strong feature, and it still has sharp edges. Here is what to watch.

🔐
Your Sharing Model Is Now Public-Facing
Every gap becomes an agent capability
  • An over-permissive profile that nobody noticed becomes an agent that can read more than it should
  • Field-level security you assumed was tight gets tested by a model that asks for everything
  • Broad “View All” permissions are now AI access grants, not just human convenience
  • Fix: Treat the FLS and sharing audit as a security review, not a checkbox
Agents Hit Limits Differently
Machine-speed access meets governor limits
  • A model that retries a failed query can generate call volume a human never would
  • Raw SOQL access invites expensive, unselective queries that strain the org
  • API consumption adds up when multiple users connect multiple clients
  • Fix: Named Queries and tight scopes cap the damage a runaway agent can do

The API Version 67.0 Gotcha

Summer ’26 ships on API v67.0, and it removes the WITH SECURITY_ENFORCED SOQL clause. You replace it with WITH USER_MODE, which supports polymorphic fields and returns the full set of access errors. Apex triggers now always run in system mode, and sharing declarations on triggers are no longer permitted. If you have custom code in the path of your exposed tools, validate it against v67.0 before you rely on it for agent traffic.

There is a second timing detail. Multi-agent orchestration and several Summer ’26 features rolled out in waves from June 13 to 15. If you are reading release notes, confirm your org’s exact wave date rather than assuming everything is live the moment the announcement drops.

Real Talk

The hardest part of hosted MCP is not technical. It is organizational. Once analysts realize they can query the org from Claude, demand explodes, and your governance has to be ready before that wave hits. Set up Named Queries, scope your client apps, and define ownership now, while adoption is still small and you can shape it.

6
Where This Goes Next
The headless org is the direction, and Summer ’26 is the on-ramp.

Hosted MCP servers are one piece of a larger Salesforce theme called Headless 360, the idea that every major platform capability should be available as an API, an MCP tool, or a CLI command. The org you administer is becoming a set of services that humans, apps, and autonomous agents all consume through the same governed surface.

You can see where the roadmap points. Marketing Cloud is adding its own MCP server. MuleSoft shipped an API Catalog to centralize API and MCP server management across MuleSoft, Heroku, and Apex sources. The Data 360 MCP Server is in preview. The pattern is consistent: more of the platform, exposed as callable tools, governed by the same trust layer.

Today: Standard Servers GA
Summer ’26

SObject operations, SOQL, Search, Invocable Actions, Flows, Named Queries, Data 360, Tableau, and Prompt Templates are callable now through Salesforce-hosted servers.

Near Term: Custom Servers Mature
Next Releases

As teams learn what agents actually need, custom hosted servers with facade-style tool design become the norm for production AI workflows.

Direction: The Fully Headless Org
12 Months Out

Every capability available as API, MCP tool, or CLI. The org becomes a service consumed by humans, apps, and agents through one governed surface.

For architects, the strategic question shifts. It is no longer “how do we connect system A to Salesforce.” It becomes “which capabilities do we expose, to which clients, under whose identity, and how do we observe it.” That is a governance and access-design problem, which is exactly the kind of problem architects are supposed to own.

So here is the question worth sitting with. If you turned on hosted MCP tomorrow and let your team’s agents call your org under their current permissions, would you trust what they could reach? If the answer is yes, you are ready. If it is no, you just found your next project.

7
Frequently Asked Questions
Common questions on setup, security, and getting started with hosted MCP
What is a Salesforce-hosted MCP server in plain terms?
It is a server that Salesforce runs for you, exposing parts of your org as tools that any MCP-compatible AI client can call. Instead of building a custom integration so an external system can reach Salesforce, you turn on a hosted server and the org answers calls directly. There is no infrastructure for you to host or maintain.
Do I need to build anything to use the standard servers?
No. Standard hosted servers are pre-built and generally available. You enable the feature, configure an External Client App for OAuth, and connect a client like Claude or ChatGPT. Custom servers are available when you need to expose your own specific actions, but most teams start with standard.
How is access controlled so agents don’t see too much?
Authentication is per-user OAuth 2.0 with PKCE, so the agent operates as the person who authenticated. Every call respects that user’s field-level security and sharing rules. If a user cannot see a field or record, neither can the agent acting on their behalf. Your existing permission model becomes the access policy.
Should I expose raw SOQL or Named Queries?
Prefer Named Queries for production. Raw SOQL is flexible but lets agents run unselective or expensive queries you never anticipated. Named Queries, which reached GA in Summer ’26, let you expose curated, parameterized reads that you control, which is safer and more predictable at scale.
What’s the single highest-impact thing I can do this week?
Audit the sharing and field-level security for the users who will connect agents. Because per-user OAuth makes those settings the access policy for AI, a quick review will tell you whether you are ready to turn the feature on or whether you have permission cleanup to do first.
Does API version 67.0 affect my existing code?
It can. Version 67.0 removes WITH SECURITY_ENFORCED in favor of WITH USER_MODE, and Apex triggers now always run in system mode with sharing declarations on triggers no longer permitted. If custom Apex or Flows sit in the path of your exposed MCP tools, validate them against v67.0 before relying on them for agent traffic.

Leave a reply

Your email address will not be published. Required fields are marked *