MCP server

Salesforce Hosted MCP

Salesforce-managed MCP endpoints for org data, flows, and Apex actions

Salesforce Hosted MCP servers expose an org's SObjects, Flows, invocable Apex, and other capabilities to MCP clients, respecting each user's CRUD, field-level security, and sharing rules. Servers are enabled per org in Setup under MCP Servers; the sobject-all server provides full CRUD, query, and search. Authentication is OAuth 2.0 with PKCE via External Client Apps.

Also available as

Connect

  1. 1Connect it in ChatGPT

    Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste https://api.salesforce.com/platform/mcp/v1/platform/sobject-all as the MCP server URL, then sign in with OAuth. Add it to a chat from the composer's tools menu.

  2. 2Or add it to Codex or the API
    codex mcp add salesforce-hosted --url https://api.salesforce.com/platform/mcp/v1/platform/sobject-all
    codex mcp login salesforce-hosted

    The login command opens a browser to finish OAuth.

Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.

Things to ask

  • “List open opportunities over $50k owned by my team”
  • “Update the Acme account's billing address”
  • “Create a follow-up task on the Globex opportunity”
  • “How many cases were opened this week by priority?”

Related