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"] } } }

06Badge

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.