Salesforce MCP Server
Published
At a glance
- Category
- Business & payments
- GitHub repository
- forcedotcom/mcp-hosted
- Watch out for
- Requires Enterprise Edition or above and admin setup.
Salesforce now offers hosted MCP servers that run on its own platform, and the forcedotcom/mcp-hosted repository is the hub for setup guides, a wiki and feedback. They are generally available. The earlier local Salesforce DX MCP server (@salesforce/mcp) is archived, and its README gives 2 November 2026 as its end-of-life date, so this page covers the hosted servers.
There are two standard servers to start with. platform/sobject-reads is read-only: it has no tool that can create, update or delete a record. platform/sobject-all adds write and delete access and includes prompt templates for tasks such as account review briefings. Admins can also build custom servers from Apex invocable actions, Apex REST endpoints, Flows and Named Queries when they want an agent to do only specific things.
Security follows the person who signs in. Authentication uses the OAuth authorization code flow through an External Client App, and the agent gets exactly that user's object, field and record permissions. Edits show up under that user's name in the audit trail. Salesforce also notes that no language model runs on its side; the server just executes tool calls.
How it connects
Your AI app
An assistant or agent that supports MCP
Salesforce MCP Server
Runs as
- Remote (HTTP)
Gives the agent
- Querying
- Schema
- Records
- Identity
- Write access
- Custom servers
Salesforce
Signs in with
- Token
What it can do
- Querying
- soqlQuery runs SOQL against your org, and find searches across multiple objects using SOSL.
- Schema
- describeGlobal lists the objects available in the org and getObjectSchema returns detailed metadata for one object.
- Records
- getRelatedRecords retrieves records related to a given record, and listRecentSobjectRecords returns recently viewed records of a type.
- Identity
- getUserInfo returns the signed-in user and is the usual first test of a connection.
- Write access
- platform/sobject-all adds create, update and delete operations on standard and custom objects.
- Custom servers
- Admins bundle Flows, Apex actions or Named Queries into custom servers with only the tools they choose.
Setting it up
An admin turns on a server under Setup, API Catalog, MCP Servers; servers are off by default. Next, create an External Client App with the mcp_api and refresh_token scopes and PKCE enabled; Connected Apps are not supported. The ECA can take up to 30 minutes to work. The server URL looks like https://api.salesforce.com/platform/mcp/v1/platform/sobject-reads, with variants for sandboxes, scratch orgs and My Domain logins. Give your client that URL plus the ECA's client ID and secret. Salesforce suggests testing in Postman first, then connecting Claude, ChatGPT or Cursor.
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Asking about an account's open opportunities and recent activity
- Running SOQL from a chat to answer a quick data question
- Giving a support team a read-only assistant over case data
- Exposing a single approved Flow as a tool
Limitations and things to watch
- Requires Enterprise Edition or above and admin setup.
- Tool calls count against your org's daily API quota.
- The mcp-remote bridge is not supported; clients need native remote MCP with OAuth.
- Experience Cloud custom domains are not yet supported, and ECAs cannot be created directly in scratch orgs.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /forcedotcom/mcp-hosted
- github.com /forcedotcom/mcp-hosted/wiki/Quick-Start-Guide
- github.com /forcedotcom/mcp-hosted/wiki/FAQ
- github.com /forcedotcom/mcp-hosted/wiki/Known-Limitations
- github.com /forcedotcom/mcp-hosted/wiki/Connecting-Your-MCP-Client
- github.com /forcedotcom/mcp-hosted/wiki/Security-and-Permissions
- github.com /forcedotcom/mcp-hosted/wiki/Testing-and-Debugging-with-Postman
- github.com /salesforcecli/mcp
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.