See the demo

Salesforce MCP server: what an AI agent can read from your CRM, and what it shouldn't

Salesforce's hosted MCP servers give an agent the user's own CRM permissions. sobject-reads can't write, but it still reads every field that user can see.

· 8 min read · Gabriel Sorato

Salesforce’s official MCP server lets an AI agent read anything the person who connected it can read in Salesforce, and nothing more. Salesforce Hosted MCP Servers became generally available on April 29, 2026, for Enterprise Edition orgs and above (Salesforce Developers blog), and every tool call runs with that user’s object permissions, field-level security and sharing rules (security best practices, read November 11, 2026). So the real question is which user you connect, and which of the servers.

Salesforce Hosted MCP Servers: Salesforce-managed endpoints under https://api.salesforce.com/platform/mcp/v1/ that expose a fixed set of tools over the Model Context Protocol. Standard servers are disabled by default, an administrator enables them, and their tool sets can’t be modified (Standard MCP Servers Reference).

What does the problem look like from the sales floor?

A sales ops lead connects Claude or ChatGPT to Salesforce with her own login, because that’s how the OAuth screen works. She asks for “closed-won revenue from wholesale accounts last quarter” and gets a clean number. Three things go wrong after that, and none of them throws an error.

  • The agent read more than the question needed. Her profile can see every contact’s email, mobile number and notes, so the agent can too. Ask it to “summarize our top accounts” and it will quote names and phone numbers into a chat transcript stored outside Salesforce.
  • The number is pipeline, not revenue. The agent summed Amount on won opportunities. Finance closes the quarter from invoices in NetSuite, after returns and short-shipped orders.
  • She connected a server that can write. If the admin turned on platform/sobject-all, the same chat that answers questions can update a stage or delete a record.

What do the official servers expose?

Salesforce publishes four SObject servers. They differ only in which tools they carry (reference pages, checked November 11, 2026):

Toolsobject-readssobject-mutationssobject-deletessobject-all
getObjectSchemayesyesyesyes
soqlQueryyesyesyesyes
findyesyesyesyes
getUserInfoyesnonoyes
listRecentSobjectRecordsyesnonoyes
getRelatedRecordsyesnonoyes
createSobjectRecordnoyesnoyes
updateSobjectRecordnoyesnoyes
updateRelatedRecordnoyesnoyes
deleteSobjectRecordnonoyesyes
deleteRelatedRecordnonoyesyes

The production endpoint for the read-only server is https://api.salesforce.com/platform/mcp/v1/platform/sobject-reads; sandboxes add /sandbox after v1 (SObject Reads). Salesforce’s own launch post tells newcomers to start there: “It’s read-only, risk-free, and immediately useful.”

Beyond SObjects, the reference lists servers for Data 360, Tableau Next, CRM Analytics (beta), Salesforce CMS content, Metadata Grounding (beta) and Headless 360 (beta). Billing is separate from your licenses: the overview says hosted servers “are intended only for customers with Flex Credits and you may be billed for server usage” (overview).

One older project causes confusion in search results. salesforcecli/mcp, published on npm as @salesforce/mcp, is a developer-tooling server with more than 60 tools, including run_soql_query. Its repository was archived on November 2, 2026, and the README says the server reaches end of life the same day (GitHub). For CRM data, the hosted servers are the current path.

Why does the agent see what it sees?

Because Salesforce built the MCP layer on top of its existing permission model instead of adding a new one. The security page puts it in four lines: the agent has the user’s CRUD permissions, respects field-level security, follows sharing rules, and every action is attributed to the named user. It adds: “There are no service accounts, no machine-to-machine flows, and no autonomous operation outside of user context.” HubSpot’s remote server also gives the agent the connected user’s CRM access, as covered in HubSpot MCP server.

That design has two consequences.

Read scope equals the human’s read scope. sobject-reads removes writes, but not fields. Whatever a profile can see on Contact, Lead or Case, including email, phone, mailing address and free-text descriptions, soqlQuery can return. The docs describe no separate field policy for MCP traffic. If a field should stay out of the agent’s reach, it has to be out of that user’s reach. getUserInfo also returns the connected user’s own email, role, manager and timezone, by design.

Free text is an input, not only an output. Case descriptions, email bodies logged as activities and web-to-lead comments were typed by people outside your company. When find or soqlQuery returns them, the model reads them as context, and a sentence written to look like an instruction gets read too. Salesforce’s permission model limits what that instruction could make the agent do, which is one more reason the connected user should be narrow. The mechanics are in prompt injection through marketing data.

Volume is limited by the platform, not by your intent. soqlQuery allows a maximum of 50,000 total records per transaction across all queries, and find returns at most 2,000 records (SObject All). A sloppy question can pull tens of thousands of contact rows into a model’s context before anyone notices.

Writes inherit the same rule, with two documented sharp edges. deleteSobjectRecord sends records to the Recycle Bin, recoverable “for up to 15 days (no undelete tool is available through MCP)”. And deleteRelatedRecord, pointed at a master record in a master-detail relationship, “also deletes all of its detail records, including the child record you started from.”

Why the CRM number isn’t revenue. The Opportunity object stores a forecast. Amount is an editable currency field, Probability changes with the stage, and ExpectedRevenue is a read-only currency field derived from both (Opportunity reference). IsWon and CloseDate record a booking. None of them records an invoice, a payment or a return. An agent asked for “revenue” picks one of these fields, and nothing in the schema stops it.

getObjectSchema “includes admin-authored guidance about data quality and business definitions alongside the standard schema”, with Salesforce’s own example: “use Calculated_ACV__c instead of Amount for accurate forecasting.” That is a small metric definition living inside the CRM. It helps, but it only covers what lives in Salesforce.

How do you check what your agent can reach?

Six checks, all doable by an admin in an afternoon.

CheckWhere to lookWhat signals a problem
Which servers are onSetup › Quick Find “MCP Servers” › API Catalogsobject-all, sobject-mutations or sobject-deletes enabled with no written reason
Who can authenticateExternal Client App › OAuth PoliciesNo required Permission Set: by default “any user in your org can authenticate”
Token lifetimeExternal Client App › OAuth PoliciesRefresh Token Validity left at the default, which is indefinite
OAuth scopesExternal Client App › OAuth ScopesAnything beyond mcp_api and refresh_token, or beta-era scopes such as sfap_api still present
Field exposureField-level security on Contact, Lead, Case for the connecting profileEmail, phone, address or notes readable by a profile used for analysis
Actual agent trafficAPI logs filtered by API_CLIENT_CATEGORY = SALESFORCE_HOSTED_MCPObjects queried that the use case never needed

Sources: Create an External Client App, Activate MCP Servers, Transition from Beta, security best practices.

Then run one revenue test: ask the agent for last quarter’s closed-won total, and put it next to the invoiced total finance reported for the same accounts. Write down which field the agent used. If it was Amount or ExpectedRevenue, you’ve found the gap before the board deck did.

How do you fix it?

1. Default to sobject-reads. Turn on writes only for a named workflow, with a named owner, and record that in your AI agent and MCP permission inventory.

2. Connect a narrow user, not a power user. Create a profile or permission set for analysis that can’t see contact PII fields, and require that permission set on the External Client App. The agent then inherits a narrow view through the same mechanism that made it broad. The broader pattern, answering cohort and LTV questions from a pseudonymous ID, is in how to give an AI agent customer context without exposing PII.

3. Prefer Named Queries and custom tools for recurring questions. Salesforce recommends both: Named Queries define “specific SOQL queries as reusable APIs”, and Apex Invocable Actions or Flows let you embed business logic. A tool called closed_won_by_quarter with fixed fields leaks less than open soqlQuery.

4. Shorten tokens. The docs suggest refresh-token validity of “30 days or less” with rotation enabled, plus single logout so revoking a Salesforce session ends the MCP session.

5. Write the definition down. Use getObjectSchema guidance to say which field means what, and give “revenue” a written definition that names its system of record. For why marketing and finance end up with two correct numbers, see marketing and finance never close the same revenue number.

When can’t it be fixed inside Salesforce?

When the agent needs the user’s permissions to do its job. There is no service-account option: Salesforce requires the OAuth authorization code flow with PKCE for every connection. An agent meant to run unattended at 3 a.m. is outside what this server was designed for.

When the answer lives in more than one system. A US brand that sells direct on Shopify, wholesale through Salesforce and books revenue in NetSuite has three systems and three numbers. A round-number example, synthetic:

ReadingValueVisible to the Salesforce MCP?
Closed-won Amount, wholesale, Q3$1,200,000yes
Short-shipped and cancelled lines after booking− $90,000no
Wholesale returns credited in NetSuite− $40,000no
Shopify DTC net sales$2,100,000no
Revenue finance recognizes$3,170,000no

In this made-up case the agent answers $1.2 million with the same confidence it would answer $3.17 million. The gap in your business only shows when you measure it. When two MCP servers share one chat and each returns its own “revenue”, you get the problem described in three MCPs, three revenues.

When the CRM data is wrong at entry. Permissions don’t fix a rep who never updates CloseDate. The agent repeats it faster.

That second case is where Precisian fits. It doesn’t replace your CRM or its MCP server. It keeps sales, store and finance data in a data lake isolated per customer, on Precisian’s infrastructure, with the revenue definition written once in a semantic layer and served to the AI you already use through its own governed MCP, plus API and BI access. If the only question your team asks is about pipeline inside Salesforce, sobject-reads with a narrow user is enough, and you don’t need us.

What does this article not cover?

It isn’t a setup guide; the client steps for Claude, ChatGPT, Cursor and Postman are in Salesforce’s client connection guide and change by release. It doesn’t cover Agentforce, Data 360 or the Tableau Next server in depth. It doesn’t price Flex Credits, which Salesforce doesn’t publish on the MCP pages. And one documentation quirk worth knowing: the sobject-all page names the query tool soqlQuery in its tool list but refers to soql_query in the description of find. Check the name your client shows.


If your agent answers “revenue” from Salesforce and the number doesn’t tie to the invoices, the first step is listing which field it read and which system finance closes from. Watch a governed MCP answer over an isolated lake, with no contract commitment.