Salesforce MCP server

Works in Claude, ChatGPT, Claude Code and Cursor. An admin or IT has to act first.

CRM & Deal Management · Remote · Up · auth · Docs checked 2026-11-02. Endpoint checked 2026-11-30.

Salesforce has an official hosted MCP server at https://api.salesforce.com/platform/mcp/v1/platform/sobject-all. It uses 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 over Remote HTTP (hosted by Salesforce; mcp-remote stdio bridge not supported). Agents can use: SOQL query (soqlQuery) and SOSL search (find), object schema (describeGlobal, getObjectSchema), related and recent records. Last checked 2026-11-30 19:25 PT: Up · auth.

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.

Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02

If you are not an admin, send the Salesforce IT approval one-pager before anyone creates the app.

Check the Plan and Setup rows under At a glance. If Setup says Needs admin or IT, ask them before you start. Need IT or RevOps to approve it? Send them the Salesforce IT approval one-pager. Claude vs ChatGPT.

What to try first

Step-by-step prompts that use Salesforce. Anything that writes or sends waits for your approval.

All 7 recipes that use Salesforce

What it can change

Read + write Some Salesforce MCP tools change data, not just read it.

Things it can do in your Salesforce account:

  • creates, updates and deletes Salesforce records (platform/sobject-all server)
  • runs Apex invocable actions exposed as custom tools
  • runs Flows exposed as custom tools
Source: developer.salesforce.com, checked 2026-11-02

Review each change before you approve it, especially anything that sends messages or edits records other people rely on.

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.

Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02

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.

Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02

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. Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02
  • 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. Source: developer.salesforce.com, checked 2026-11-02Source: help.salesforce.com, checked 2026-11-02
  • A System Administrator, or someone with the same permission, has to create the External Client App. Source: developer.salesforce.com, checked 2026-11-02
  • 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. Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02

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.

Source: developer.salesforce.com, checked 2026-11-02
ServerWhat it can do
platform/sobject-readsRead and query only. No create, update, or delete.
platform/sobject-mutationsCreate and update. No delete.
platform/sobject-deletesDelete only.
platform/sobject-allCreate, read, update, delete, query, and search. This is the URL in the listing.
Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02

Salesforce also documents product servers, including Data 360, Tableau Next, and CRM Analytics (beta). The products page is the full list: Products Supporting MCP.

Source: developer.salesforce.com, checked 2026-11-02

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.

Source: developer.salesforce.com, checked 2026-11-02
OrgStandard URLMy Domain URL
Productionhttps://api.salesforce.com/platform/mcp/v1/<SERVER-NAME>https://api.salesforce.com/platform/mcp/v1/d/<MY-DOMAIN-NAME>/<SERVER-NAME>
Sandbox or scratchhttps://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>.
Source: developer.salesforce.com, checked 2026-11-02

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.

Source: developer.salesforce.com, checked 2026-11-02

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.

Source: developer.salesforce.com, checked 2026-11-02

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.

Source: developer.salesforce.com, checked 2026-11-02
ClientCallback URL
Claudehttps://claude.ai/api/mcp/auth_callback
ChatGPTCopy the callback from ChatGPT's advanced settings into the app. Salesforce does not publish one fixed ChatGPT callback on the External Client App page.
Cursorhttp://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 pathhttp://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.
Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02

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.

Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02

Connect Salesforce without code

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.

Source: developer.salesforce.com, checked 2026-11-02
  1. In Claude's left sidebar, click Customize. Then click Connectors, Add, and Add custom connector. Source: developer.salesforce.com, checked 2026-11-02
  2. 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. Source: developer.salesforce.com, checked 2026-11-02
  3. 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. Source: developer.salesforce.com, checked 2026-11-02
  4. Click Connect and sign in to the org that owns the External Client App. Source: developer.salesforce.com, checked 2026-11-02

Connect Salesforce to ChatGPT

  1. Turn on developer mode. Salesforce points to OpenAI's docs for that switch. Source: developer.salesforce.com, checked 2026-11-02
  2. Go to Settings, then Apps, then Create App. Paste the server URL. Source: developer.salesforce.com, checked 2026-11-02
  3. Open Advanced settings. Set the registration method to User-defined OAuth client. Copy ChatGPT's callback URL into the External Client App. Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02
  4. Paste the consumer key and the consumer secret. Uncheck OIDC. Salesforce requires the secret even though ChatGPT marks it optional. Source: developer.salesforce.com, checked 2026-11-02
  5. Create the app. In a chat, select Salesforce under the plus button. Source: developer.salesforce.com, checked 2026-11-02

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. The Get Started page does not say whether Developer Edition orgs are outside its Flex Credits line.

Source: developer.salesforce.com, checked 2026-11-02Source: help.salesforce.com, checked 2026-11-02

Compare plans and credits. Read vs write.

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.

Source: developer.salesforce.com, checked 2026-11-02

Admin and governance

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

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

What the Salesforce MCP server can do

  • 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)

Developer setup (Cursor and Claude Code)

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.

Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02
{
  "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.

Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02

Salesforce MCP endpoint and transport

https://api.salesforce.com/platform/mcp/v1/platform/sobject-all
Transport
Remote HTTP (hosted by Salesforce; mcp-remote stdio bridge not supported)
Docs
Official Salesforce MCP docs

Salesforce MCP authentication

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

Sign in with OAuth in your client. Do it once interactively, and the client stores and refreshes the token.

Salesforce MCP status

Up · auth HTTP 401 · 149 ms · checked 2026-11-30 19:25 PT. Full status and history.

In the last 30 days, 30 of 30 checks came back up or as an auth challenge. An auth challenge counts as up.

Full status and history. New MCP servers, auth changes and breakages. One email a week. This form does not send a separate alert for one tool.

What changed recently

  • Salesforce plan line states both editions. The plan line was updated. It no longer reads as Enterprise Edition or above, then Developer Edition as a second floor. 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. The Get Started page says the servers are intended only for customers with Flex Credits and you may be billed for server usage. The Understand AIforce Impact help article says sandboxes, scratch orgs, and Developer Edition orgs don't incur Headless Platform Interaction metering. A plain fetch of that article still returns a loading shell, so the metering sentence is the quote already on the cost page. The plan tier stays enterprise, for the production floor. Checked November 2, 2026.
  • Salesforce standard servers do not let you turn tools off. The hosted MCP servers reference says a standard server's tool set cannot be modified. The GitHub FAQ says you limit tools by choosing a more restrictive standard server or by creating a custom server. Individual tool toggles are now no.
  • Salesforce hosted MCP billing, plan, and client setup re-sourced. The credits line no longer says there are no paid credits. The Get Started page says Hosted MCP Servers are intended only for customers with Flex Credits, and you may be billed for server usage. Salesforce Help, Understand AIforce Impact (September 17, 2026), says a registered agent's successful MCP calls will consume Flex Credits in production orgs as Headless Platform Interactions. The multiplier is TBA. Usage is not metered yet, and Salesforce will give 30 days' notice. The plan line now cites two posts: Salesforce's April 29, 2026 developer blog for Enterprise Edition or above, and the April 15, 2026 Developer Edition blog for Developer Edition orgs. Cursor setup now includes http://localhost:8787/callback as well as cursor://anysphere.cursor-mcp/oauth/callback. For Claude, you paste the External Client App consumer key. For ChatGPT, you also paste the consumer secret. Sandbox and scratch orgs use https://api.salesforce.com/platform/mcp/v1/sandbox/ plus the server name. Claude Code inherits the Claude connector, and Salesforce does not publish a separate Claude Code command on that page. The old wiki source had a line saying it 'creates opportunities', but that line was not on the products page. So the listing's write actions follow that page: record create, update, and delete, plus Apex invocable actions and Flows. The tool page also names other things Salesforce says you can expose, including AuraEnabled methods, Apex REST, Named Queries, and Prompt Builder templates.

Full changelog.

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.

Source: developer.salesforce.com, checked 2026-11-02

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.

Source: developer.salesforce.com, checked 2026-11-02
  • 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. Source: developer.salesforce.com, checked 2026-11-02
  • 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. Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02
  • 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. Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02
  • A Connected App was used. Salesforce says Connected Apps are not supported. Create an External Client App. Source: developer.salesforce.com, checked 2026-11-02

Tools confirmed for Claude · Tools confirmed for ChatGPT · Tools confirmed for Claude Code · Tools confirmed for Cursor · CRM tools · HubSpot vs Salesforce · HubSpot · Dynamics 365 CX sales · Gong · Status · Changelog · RevOps · AEs · Sales leaders · Newsletter

Further reading

Hand-picked articles, videos and podcasts about Salesforce. They're editorial picks, not sources for the facts on this page. All resources

Salesforce MCP FAQ

What is the Salesforce MCP server URL?

https://api.salesforce.com/platform/mcp/v1/platform/sobject-all

How does Salesforce MCP authenticate?

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.

Which apps does Salesforce MCP work with?

Salesforce's docs confirm it works in Claude, ChatGPT, Claude Code and Cursor. Other apps aren't confirmed in the docs yet.

Can I connect Salesforce MCP on my own?

Not always. The vendor's setup notes say an admin or IT has to act first, for example by approving or enabling the integration. See the setup notes on this page.

Can I use Salesforce in Claude or ChatGPT without code?

Yes. Salesforce's docs confirm it works in Claude and ChatGPT. The server URL is on this page. General steps are on the Start here page.

Can the Salesforce MCP server change my data?

Yes. Some tools change data, for example: creates, updates and deletes Salesforce records (platform/sobject-all server), runs Apex invocable actions exposed as custom tools, runs Flows exposed as custom tools. Review each change before you approve it.

What Salesforce plan do I need for MCP?

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.

Is the Salesforce MCP server official?

Yes. It's documented on developer.salesforce.com, checked 2026-11-30.

Which Salesforce MCP server should a sales team turn on?

Salesforce's standard servers are off until an administrator enables one. platform/sobject-reads is read and query only. platform/sobject-mutations can create and update, and cannot delete. platform/sobject-deletes is delete only. platform/sobject-all is full create, read, update, and delete, plus query and search. Every one of them follows the signed-in user's field-level security, object permissions, and sharing rules. The listing URL on this page is platform/sobject-all.

Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02

Who has to set up Salesforce MCP?

Someone with System Administrator or equivalent permission creates the External Client App and enables the server. Each person then signs in with their own Salesforce login. Connected Apps are not supported.

Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02

Can the assistant see Salesforce records I cannot see?

No. Salesforce says field-level security, object permissions, and sharing rules apply to every tool call. Record tools follow the signed-in user's field-level security and sharing rules.

Source: developer.salesforce.com, checked 2026-11-02Source: developer.salesforce.com, checked 2026-11-02

Related MCP servers

Build a recipe with Salesforce: add your other tools and get a prompt for your assistant.

See all CRM tools with official MCP servers. Compare: HubSpot vs Salesforce. Compare CRM MCP servers.

Something out of date on this page? Report a correction, with a link to the vendor page that shows the right information.

This page as Markdown, for agents and scripts.