mcps / salesforce
MCPExplorer Verified

Salesforce MCP server

Query, deploy, and test against your Salesforce orgs from your agent.

CRMby SalesforceSalesforce CLIFree · open source

01What it is

Salesforce's official MCP server connects an agent to your authorized Salesforce orgs: run SOQL queries, deploy and retrieve metadata, run Apex tests, and build and validate Lightning Web Components. Orgs must be explicitly authorized via the Salesforce CLI before the server can touch them.

Who it’s for: Salesforce developers and admins who want an agent working against real org data and metadata, safely scoped.


02Highlights
Query & data
Run SOQL and work with records across your authorized orgs.
Metadata & Apex
Deploy and retrieve metadata and run Apex tests from the loop.
Explicitly authorized
The agent can only reach orgs you've authorized via the Salesforce CLI.

03Add it to your agent

Local MCP server — runs on your machine via the command below.

claude mcp add salesforce -- npx -y @salesforce/mcp --orgs DEFAULT_TARGET_ORG --toolsets orgs,data,metadata
{ "mcpServers": { "salesforce": { "command": "npx", "args": ["-y","@salesforce/mcp","--orgs","DEFAULT_TARGET_ORG","--toolsets","orgs,data,metadata"] } } }

07FAQ
What is Salesforce MCP?

Salesforce's official MCP server connects an agent to your authorized Salesforce orgs: run SOQL queries, deploy and retrieve metadata, run Apex tests, and build and validate Lightning Web Components. Orgs must be explicitly authorized via the Salesforce CLI before the server can touch them.

Who is Salesforce for?

Salesforce developers and admins who want an agent working against real org data and metadata, safely scoped.

How do I connect Salesforce to my agent?

Salesforce runs locally over stdio. Add it to your MCP client config: claude mcp add salesforce -- npx -y @salesforce/mcp --orgs DEFAULT_TARGET_ORG --toolsets orgs,data,metadata.

Does Salesforce require authentication?

Yes — Salesforce authenticates with Salesforce CLI. You connect your own account, and it acts only within the scopes you grant.

How much does Salesforce cost?

Free · open source.

Is Salesforce verified on MCPExplorer?

Yes — Salesforce is hand-checked and featured on MCPExplorer. We pull its real tool surface, required scopes, and risk labels from the live index so you can see exactly what it does before connecting.


08Similar MCPs

Other MCP servers worth a look in CRM.

HubSpot
CRM
Read and write your CRM from your agent.
Attio
CRM
Your CRM, queryable in plain English.
ChatSEO
SEO & content
An AI SEO agent inside your MCP client.
Apex
LinkedIn & outbound
Governed LinkedIn hands for your AI agent.

09Badge

Salesforce is featured on MCPExplorer. Add this badge to Salesforce’s site or README — it links back to this page.

Salesforce MCP — as seen on mcpexplorer.com

HTML — for your website

<a href="https://mcpexplorer.com/mcps/salesforce" target="_blank" rel="noopener"><img src="https://mcpexplorer.com/badge/salesforce.svg" alt="Salesforce MCP — as seen on mcpexplorer.com" height="20" /></a>

Markdown — for a README

[![Salesforce MCP — as seen on mcpexplorer.com](https://mcpexplorer.com/badge/salesforce.svg)](https://mcpexplorer.com/mcps/salesforce)

Get started

Set up Salesforce and put it to work — Free · open source. Or see its full verified profile.