# Salesforce MCP server

Page: https://mcpforgtm.com/tools/salesforce
Category: CRM & Deal Management (CRM)
Last verified: 2026-10-16

## Server

- Endpoint: https://api.salesforce.com/platform/mcp/v1/platform/sobject-all
- Transport: Remote HTTP (hosted by Salesforce; mcp-remote stdio bridge not supported)
- Auth: OAuth 2.0 authorization code flow with PKCE via an admin-created External Client App (scopes mcp_api + refresh_token); no DCR, no client-credentials
- Official docs: https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/hosted-mcp-servers-overview.html
- Status: Up · auth (daily check, checked 2026-11-30 19:25 PT)

## Works in

- Claude: Yes (source: https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/claude.html, checked 2026-11-02)
- ChatGPT: Yes (source: https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/chatgpt.html, checked 2026-11-02)
- Claude Code: Yes (source: https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/claude.html, checked 2026-11-02)
- Cursor: Yes (source: https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/cursor.html, checked 2026-11-02)
- GitHub Copilot: Not confirmed

Setup notes from Salesforce's docs: Each MCP client needs its own External Client App. Connected Apps are not supported. For Cursor, add http://localhost:8787/callback. Some Cursor versions also use cursor://anysphere.cursor-mcp/oauth/callback. If the app allows more than one callback URL, add both. Claude's callback is https://claude.ai/api/mcp/auth_callback. For ChatGPT, copy the callback URL from ChatGPT's advanced settings into the External Client App. In Claude, choose Use your own OAuth client and paste the app's consumer key as the OAuth Client ID. Leave the client secret blank unless the authorization server requires one. ChatGPT uses developer mode. Paste the consumer key and the consumer secret. ChatGPT lists the secret as optional, but Salesforce requires it. A production URL looks like https://api.salesforce.com/platform/mcp/v1/platform/sobject-all. Sandbox and scratch orgs put sandbox after v1, for example https://api.salesforce.com/platform/mcp/v1/sandbox/platform/sobject-all. In Cursor's mcp.json, set auth.CLIENT_ID to the consumer key. Salesforce's Claude guide says those steps apply to Claude.ai and the Claude desktop app, and that Claude Code inherits the same connection. That guide does not give a separate Claude Code command. (source: https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/create-external-client-app.html, checked 2026-11-02)

## What it can change

Access: Read + write (source: https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/products-supporting-mcp.html, checked 2026-11-02)

Write actions (source: https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/products-supporting-mcp.html, checked 2026-11-02):

- creates, updates and deletes Salesforce records (platform/sobject-all server)
- runs Apex invocable actions exposed as custom tools
- runs Flows exposed as custom tools

## Cost and credits

Credits: Not confirmed. Salesforce Hosted MCP Servers are intended only for customers with Flex Credits and you may be billed for server usage. Salesforce Help article Understand AIforce Impact (September 17, 2026) says every successful call a registered agent makes over MCP will be metered as a Headless Platform Interaction and will consume Flex Credits in production orgs. The multiplier is listed as TBA, so this usage is not metered yet. Salesforce says it will give 30 days' notice before metering starts. Sandboxes, scratch orgs, and Developer Edition orgs don't incur HPI metering through Digital Wallet, so admins and developers can build and test without drawing down Flex Credits. That article also says traditional integration pricing stays as it is today. (source: https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/hosted-mcp-servers-overview.html, checked 2026-11-02)

## Plan required

Salesforce says hosted MCP is a production-ready capability for every Enterprise Edition org and above. Every Developer Edition org includes access to Salesforce Hosted MCP Servers at no cost. (tier: enterprise) (source: https://developer.salesforce.com/blogs/2026/04/salesforce-hosted-mcp-servers-are-now-generally-available, checked 2026-11-02)

## Setup

Needs admin or IT. An admin or IT has to act first, for example by approving or enabling the integration. Don't plan on connecting it alone. (source: https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/setup-overview.html, checked 2026-11-02)

## Watch out

- An admin or IT has to approve or enable it before you can connect.
- It can change data (3 documented write actions). Approve each change.
- Credit use isn't confirmed. Check before large runs.
- Production orgs need Enterprise Edition or above. Every Developer Edition org includes Salesforce Hosted MCP Servers at no cost.

## Admin and governance

Controls Salesforce itself provides. Settings inside Claude or ChatGPT aren't counted.

No means the vendor's docs name no admin step. It does not mean an admin cannot block the connection.

- An admin must approve or enable the connection: Yes (source: https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/setup-overview.html, checked 2026-11-02)
- Scopes or permissions can limit what it reaches: Yes (source: https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/create-external-client-app.html, checked 2026-11-02)
- Individual tools can be turned off: No (source: https://developer.salesforce.com/docs/platform/hosted-mcp-servers/references/reference/servers-reference.html, checked 2026-11-02)
- MCP activity shows in an audit log: Not confirmed

## What agents can use

- SOQL query (soqlQuery) and SOSL search (find)
- object schema (describeGlobal, getObjectSchema)
- related and recent records
- record create/update/delete (platform/sobject-all)
- custom tools from Apex, Flows and Named Queries
- prompt templates (sobject-all)

## Useful for

AEs, RevOps, Sales leaders, Customer success

## Recipes that use it

- Pre-meeting brief from Salesforce + web: https://mcpforgtm.com/recipes/downloads/pre-meeting-brief-salesforce.md
- Forecast reality check: flag Commit and Best Case deals with no recent activity: https://mcpforgtm.com/recipes/downloads/forecast-reality-check.md
- Closed-lost deal revival: rank last year's lost deals by what changed since: https://mcpforgtm.com/recipes/downloads/closed-lost-revival.md
- New territory ramp pack: inherited accounts, recent conversations and who has left: https://mcpforgtm.com/recipes/downloads/territory-ramp-pack.md
- 1:1 coaching agenda: call habits from Gong and CRM cleanup for each rep, saved to Notion: https://mcpforgtm.com/recipes/downloads/coaching-1on1-agenda.md
- Closed-won vs. paid reconciliation: match Salesforce wins to Stripe invoices and flag the gaps: https://mcpforgtm.com/recipes/downloads/revenue-reconciliation.md
- ICP (ideal customer) list to Salesforce: build a fit-checked prospect list in LeadIQ and export only new people: https://mcpforgtm.com/recipes/downloads/leadiq-icp-list-to-salesforce.md

## Related MCP servers

- Attio (CRM & Deal Management): https://mcpforgtm.com/tools/attio.md
- Pipedrive (CRM & Deal Management): https://mcpforgtm.com/tools/pipedrive.md
- Close (CRM & Deal Management): https://mcpforgtm.com/tools/close.md
- Reevo (CRM & Deal Management): https://mcpforgtm.com/tools/reevo.md
- Insightly (CRM & Deal Management): https://mcpforgtm.com/tools/insightly.md


## Setup guide

Salesforce hosts these servers. The URL above is the full-access production server, platform/sobject-all. Sandbox and scratch orgs put sandbox after v1. A System Administrator creates an External Client App, and each person signs in with OAuth and PKCE. Claude, ChatGPT, Cursor, and Claude Code are confirmed. Claude Code inherits the Claude connector. The Last checked line above is the latest endpoint check.
If you are not an admin, send the Salesforce IT approval one-pager (/toolkit/it-approval/salesforce) before anyone creates the app.

## Can your org use it?

- Edition. Salesforce's April 29, 2026 developer blog says hosted MCP is a production-ready capability for every Enterprise Edition org and above. The April 15, 2026 Developer Edition blog says every Developer Edition org includes Hosted MCP Servers, all at no cost. The Plan row cites those posts.
- Billing. Cost and credits, below, quotes the Get Started page and the Understand AIforce Impact help article. That section has the Flex Credits sentence and the line that sandboxes, scratch orgs, and Developer Edition orgs don't draw down Flex Credits. The Get Started page does not say whether a Developer Edition org is outside that line.
- A System Administrator, or someone with the same permission, has to create the External Client App.
- The server is off until an administrator enables it. Salesforce's standard servers reference says servers are disabled by default, and a May 2026 Salesforce Developers blog says they are inactive by default. The blog says to search Setup for MCP Servers, open the Salesforce Servers tab, open the server, and click Activate.

## Which Salesforce MCP server should you turn on?

Standard servers ship with a fixed set of tools. An administrator can enable one but cannot edit its tool list. The same security rules apply to every call.
- platform/sobject-reads | Read and query only. No create, update, or delete.
- platform/sobject-mutations | Create and update. No delete.
- platform/sobject-deletes | Delete only.
- platform/sobject-all | Create, read, update, delete, query, and search. This is the URL in the listing.
Salesforce also documents product servers, including Data 360, Tableau Next, and CRM Analytics (beta). The products page is the full list: Products Supporting MCP (https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/products-supporting-mcp.html).

## Server URLs

Keep the platform/ prefix. Salesforce says https://api.salesforce.com/platform/mcp/v1/sobject-all does not work. Use platform/sobject-all as the server name. If the org blocks login from login.salesforce.com or test.salesforce.com, use the My Domain URL format. From Setup, in the Quick Find box, enter My Domain, then select My Domain, and copy My Domain Name.
- Production | https://api.salesforce.com/platform/mcp/v1/<SERVER-NAME> | https://api.salesforce.com/platform/mcp/v1/d/<MY-DOMAIN-NAME>/<SERVER-NAME>
- Sandbox or scratch | https://api.salesforce.com/platform/mcp/v1/sandbox/<SERVER-NAME> | Sandbox My Domain: https://api.salesforce.com/platform/mcp/v1/d/<MY-DOMAIN-NAME>--<SANDBOX-NAME>/sandbox/<SERVER-NAME>. Salesforce says to add two hyphens and the sandbox name after the My Domain name. Scratch My Domain: https://api.salesforce.com/platform/mcp/v1/d/<MY-DOMAIN-NAME>/scratch/<SERVER-NAME>.

## Admin setup, done once


### Enable the server

Search Setup for MCP Servers and activate the server you want. Salesforce's May 2026 blog says to open the Salesforce Servers tab, open the server, and click Activate. Then copy the server URL that Setup shows.

### Create the External Client App

Use an External Client App. Connected Apps are not supported. Turn on OAuth, require PKCE, and select Issue JSON Web Token (JWT)-based access tokens for named users. The scopes are Access MCP servers (mcp_api) and Perform requests at any time (refresh_token). The app can take up to 30 minutes to become usable.
Add the callback URL for every client that will connect. Some clients, such as Cursor, have more than one. If the app accepts more than one callback URL, add them all.
- Claude | https://claude.ai/api/mcp/auth_callback
- ChatGPT | Copy the callback from ChatGPT's advanced settings into the app. Salesforce does not publish one fixed ChatGPT callback on the External Client App page.
- Cursor | http://localhost:8787/callback. Some versions also use cursor://anysphere.cursor-mcp/oauth/callback. Add both if the app allows more than one.
- Claude Code, API-key path | http://localhost:38000/callback. Salesforce's Claude setup guide does not list this. The May 2026 blog does, for people who only have an API key. It says everyone else should use the Claude connector, which Claude Code then inherits.

### Copy the consumer key and secret

Open the app's Settings, then Consumer Key and Secret. For Claude, paste the consumer key as the OAuth client ID. Leave the secret blank unless the authorization server requires one. ChatGPT needs both the key and the secret. ChatGPT marks the secret optional, but Salesforce says it is required.

### Connect Salesforce to Claude

Salesforce publishes these steps for Claude.ai and the Claude desktop app. Do them after the External Client App exists. These clicks add a custom connector. HubSpot's directory connector uses different clicks.
- In Claude's left sidebar, click Customize. Then click Connectors, Add, and Add custom connector.
- Paste the server URL. Production looks like https://api.salesforce.com/platform/mcp/v1/platform/sobject-all. Sandbox and scratch orgs use /v1/sandbox/ before the server name.
- Choose Use your own OAuth client. Paste the consumer key as the OAuth client ID. Leave the client secret blank unless the authorization server requires one.
- Click Connect and sign in to the org that owns the External Client App.

### Connect Salesforce to ChatGPT

- Turn on developer mode. Salesforce points to OpenAI's docs for that switch.
- Go to Settings, then Apps, then Create App. Paste the server URL.
- Open Advanced settings. Set the registration method to User-defined OAuth client. Copy ChatGPT's callback URL into the External Client App.
- Paste the consumer key and the consumer secret. Uncheck OIDC. Salesforce requires the secret even though ChatGPT marks it optional.
- Create the app. In a chat, select Salesforce under the plus button.
Salesforce's Cursor guide says to put the server URL and the External Client App consumer key in mcp.json. Replace <SERVER-NAME> with the server name and CONSUMER-KEY with the consumer key. Sandbox and scratch orgs use https://api.salesforce.com/platform/mcp/v1/sandbox/ plus the server name.

```
{
  "mcpServers": {
    "Salesforce": {
      "url": "https://api.salesforce.com/platform/mcp/v1/<SERVER-NAME>",
      "auth": {
        "CLIENT_ID": "CONSUMER-KEY"
      }
    }
  }
}
```
Salesforce's Claude guide says Claude Code inherits the Claude connector, so those Claude steps cover it too. The guide gives no separate Claude Code command. A May 2026 Salesforce Developers blog documents an API-key path with the callback http://localhost:38000/callback. The blog recommends the Claude.ai connector for everyone else. This page follows the setup guide and does not add a command the guide does not publish.
The assistant works as the person who signed in. Field-level security, object permissions, and sharing rules apply to every call. Fields that person cannot see stay hidden.
Salesforce says you can expose Apex invocable actions, AuraEnabled methods, Apex REST methods, Flows, and Named Queries as custom tools, and Prompt Builder templates as prompts. Salesforce says client support for those prompts varies, and to check your client before relying on that.

## Any other assistant

- Server URL: https://api.salesforce.com/platform/mcp/v1/platform/sobject-all
- Sign-in: OAuth 2.0 authorization code flow with PKCE via an admin-created External Client App (scopes mcp_api + refresh_token); no DCR, no client-credentials
- Transport: Remote HTTP (hosted by Salesforce; mcp-remote stdio bridge not supported)
You need the server URL for your org type, an External Client App, and OAuth with PKCE. Copy your client's callback URL into the app. For other clients, Salesforce says to consult the provider's documentation for the callback URL.

## Troubleshooting

Salesforce's authentication troubleshooting page says to make the callback URL match exactly, and that the client must support an OAuth flow compatible with Salesforce Hosted MCP Servers. It does not name a specific error code. The setup pages do name the settings that have to be on.
- Sign-in looks finished and calls still fail. On the External Client App, select Issue JSON Web Token (JWT)-based access tokens for named users, then disconnect and connect again.
- The callback does not match. The URL in the client and the URL on the External Client App have to be the same. For Cursor, add http://localhost:8787/callback. If your Cursor version also uses cursor://anysphere.cursor-mcp/oauth/callback, add that too.
- Nothing is available yet. The External Client App can take up to 30 minutes to become usable. The server also stays off until an administrator activates it.
- A Connected App was used. Salesforce says Connected Apps are not supported. Create an External Client App.

## Where to go next

Tools confirmed for Claude (/works-in/claude) · Tools confirmed for ChatGPT (/works-in/chatgpt) · Tools confirmed for Claude Code (/works-in/claude-code) · Tools confirmed for Cursor (/works-in/cursor) · CRM tools (/category/crm) · HubSpot vs Salesforce (/compare/hubspot-vs-salesforce) · HubSpot (/tools/hubspot) · Dynamics 365 CX sales (/tools/dynamics-365-cx-mcp-server-sales) · Gong (/tools/gong) · Status (/status/salesforce) · Changelog (/changelog) · RevOps (/roles/revops) · AEs (/roles/ae) · Sales leaders (/roles/leader) · Newsletter (/newsletter/)

Sources for this guide are on the HTML page, each with the date it was checked.

---

"Not confirmed" means the vendor's docs don't settle the question. It doesn't mean no.
Source of these facts: StackMCP, an independent directory of official MCP servers (https://mcpforgtm.com/about).
