Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Salesforce MCP Server

MCP server by advancedcommunities Verified · npm:@advanced-communities

Salesforce MCP Server lets AI assistants work with Salesforce orgs through the Salesforce CLI. It is for developers and admins who want assistants to run Apex, query data and manage org connections.

  • Score 75
  • 38 stars
  • 630 a week
  • MIT
  • Updated

Install Salesforce MCP Server

Built from the published package, never by AI.

claude mcp add salesforce-mcp-server -- npx -y @advanced-communities/salesforce-mcp-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Salesforce MCP Server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the salesforce-mcp-server block.

About

Salesforce MCP Server is a Model Context Protocol server that enables AI assistants to interact with Salesforce organizations. According to the source, it provides tools to execute Apex code, query data, describe objects and manage org connections through the Salesforce CLI. It can be installed with npx, as an MCP Bundle file, or built from source.

Access can be restricted with environment variables. READ_ONLY=true prevents Apex execution, and ALLOWED_ORGS limits which org aliases are reachable. Org usernames, IDs and instance URLs are masked before they reach the AI client. The source lists clients such as Claude Desktop, Claude Code, Codex CLI, VS Code and Cursor, and it is aimed at people who work with Salesforce orgs from an AI assistant.

Written from the project's README and checked against it.

Tools it gives your assistant

  • list_connected_salesforce_orgsLists connected orgs, with usernames, org IDs and instance URLs masked.
  • get_default_orgReturns the alias of the Salesforce CLI target-org.
  • get_server_permissionsReports server permissions, including the default org alias.
  • login_into_orgLogs into a Salesforce org, with the username and org ID masked in the result.
  • logoutLogs out of a Salesforce org, with identifiers masked in the result.
  • display_userShows user details for an org, with identifiers masked in the result.
  • openOpens an org in the desktop browser or returns its URL in client browser mode.
  • open_recordOpens a Salesforce record, returning the pre-authenticated URL in client browser mode.

What you need

  • Node.js v22 or higher
  • Salesforce CLI (sf) installed and configured
  • At least one authenticated Salesforce org

Try asking

  • Check which Salesforce orgs are connected to my assistant.
  • Which org is my default Salesforce org?
  • Open the Salesforce record I'm looking at in my client browser.

Good to know

  • READ_ONLY=true prevents execution of Apex code, including anonymous execution and tests.
  • ALLOWED_ORGS restricts access to the listed org aliases.
  • The default org is reported by alias only, and usernames, org IDs and instance URLs are not returned.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Salesforce MCP Server

All alternatives →
Relaticle relaticle
94

Connects Claude, ChatGPT or other MCP-capable agents to a self-hosted CRM for companies, people, opportunities, tasks and notes. Built for people who sell to a named list of companies without a sales team.

ACA Remote 1.9k
mcp-gtm-suite mambalabsdev
89

Gives an AI assistant 21 Mamba Labs account-intelligence tools for go-to-market research, from company identity and buying signals to ICP fit scoring. Each tool runs a Mamba Labs actor on Apify and returns Clay-ready flat JSON. Built for sales and GTM teams.

AAC Local 1.4k/wk
brilliant-directories-mcpbrilliantdirectories
89

Connects AI assistants to a Brilliant Directories site through its REST API. Lets an assistant manage members, posts, leads, reviews, pages and more with one API key. Built for Brilliant Directories site owners and admins.

AAC Local and remote 11k/wk
WireCat hubspot WireCatLabs
89

Lets AI agents read and update HubSpot CRM records over MCP, from a local copy of deals, contacts and companies. Built for sales teams that want pipeline answers and recent changes without opening HubSpot. Free and open source under Apache 2.0.

AAC Local 1.9k/wk
Conduyt CRM ptaramona
87

Conduyt CRM is an MCP server that lets Claude, ChatGPT and other MCP-compatible agents work with a Conduyt account. It covers contacts, deals, pipelines, tasks, automations, messaging and reports.

BAC Local 3.9k/wk
Linkbreakers MCP linkbreakers-com
87

Connects AI assistants to a Linkbreakers workspace through a hosted MCP server. It is for creating QR codes and links and reading who scanned them and what leads they produced.

AAC Local and remote 1k/wk

Compare with Relaticle, mcp-gtm-suite or brilliant-directories-mcp

Salesforce MCP Server: common questions

Does Salesforce MCP Server need the Salesforce CLI?

Yes. The source lists the Salesforce CLI (sf) as a prerequisite and says the server works through it.

Can I stop the AI assistant from running Apex code?

Yes. Setting READ_ONLY to true prevents execution of Apex code, including anonymous execution and tests.

Are my Salesforce usernames sent to the AI client?

Org identifiers are masked before they reach the AI client. The source says usernames, org IDs and instance URLs are partially masked, and there is nothing to configure.

How do I install Salesforce MCP Server?

In Claude Code run claude mcp add salesforce-mcp-server -- npx -y @advanced-communities/salesforce-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Salesforce MCP Server the official server?

Salesforce MCP Server is published by npm:@advanced-communities from its verified domain in the official MCP Registry.

Is Salesforce MCP Server free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Salesforce MCP Server safe to use?

It scores 75 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Salesforce MCP Server?

Similar MCP servers: Relaticle, mcp-gtm-suite, brilliant-directories-mcp, WireCat hubspot.

Does Salesforce MCP Server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Salesforce MCP Server Install

Add to stack

Loading.