AUTOMATIONSWITCH

Salesforce DX MCP Server

by Salesforce

Official Salesforce CLI org MCP server. Beta status with rapid release cadence and Apache-2.0 licensing. Wraps Salesforce DX tooling for LLM access across orgs, metadata, data, and users toolsets.

386·5 tools·Released APR 2025·Apache-2.0
npx -y @salesforce/mcp --orgs DEFAULT_TARGET_ORG --toolsets orgs,metadata,data,users
Share:

Official Salesforce CLI org MCP server. The @salesforce/mcp package wraps Salesforce DX tooling for LLM access. Configuration uses CLI-flag-based toolsets (`--toolsets orgs,metadata,data,users`) with optional non-GA tool gating via `--allow-non-ga-tools`. Salesforce documents the server in the Salesforce DX Developer Guide, and beta service terms apply: usage governed by Salesforce Beta Services Terms. The release cadence (21 releases in the last 30 days, 100 total since April 2025) signals active development under the official salesforcecli org. The toolset coverage skews to admin and developer workflows: metadata deployment, SOQL queries, Apex test execution. For end-user CRM tasks like contact updates, the data toolset handles SOQL and record CRUD, but the workflow surface is closer to Salesforce DX than to a sales-rep CRM panel.

Reviewed by M. Nouriel · APR 2026

INSTALL THIS SERVER

Requires authenticationSalesforce CLI org auth (`sf org login web`). The --orgs flag pins which orgs the server can target; use DEFAULT_TARGET_ORG for the active org.
{ "mcpServers": { "Salesforce DX": { "command": "npx", "args": [ "-y", "@salesforce/mcp", "--orgs", "DEFAULT_TARGET_ORG", "--toolsets", "orgs,metadata,data,users" ] } } }
PrereqRequires Salesforce CLI (`sf`) installed and authenticated to a target org via `sf org login web`. The --orgs flag pins which orgs the server can target; DEFAULT_TARGET_ORG selects the active org. Add --allow-non-ga-tools to enable tools still in beta. Quote both flag names and values when editing the args array. Path: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS).
{ "mcpServers": { "Salesforce DX": { "command": "npx", "args": [ "-y", "@salesforce/mcp", "--orgs", "DEFAULT_TARGET_ORG", "--toolsets", "orgs,metadata,data,users" ] } } }
{ "mcpServers": { "Salesforce DX": { "command": "npx", "args": [ "-y", "@salesforce/mcp", "--orgs", "DEFAULT_TARGET_ORG", "--toolsets", "orgs,metadata,data,users" ] } } }
{ "mcpServers": { "Salesforce DX": { "command": "npx", "args": [ "-y", "@salesforce/mcp", "--orgs", "DEFAULT_TARGET_ORG", "--toolsets", "orgs,metadata,data,users" ] } } }
{ "mcpServers": { "Salesforce DX": { "command": "npx", "args": [ "-y", "@salesforce/mcp", "--orgs", "DEFAULT_TARGET_ORG", "--toolsets", "orgs,metadata,data,users" ] } } }

5 TOOLS AVAILABLE

orgs
List, create, login, logout Salesforce orgs
Admin
metadata
Deploy, retrieve, list metadata components
Admin
data
SOQL queries and record CRUD operations
Admin

OUR ASSESSMENT

Strengths
  • Official salesforcecli org publication.
  • Frequent tagged releases (21 in the last 30 days, 100 total since April 2025).
  • Granular toolset gating via `--toolsets` flag.
  • Apache-2.0 licensing.
  • Documented in the official Salesforce DX Developer Guide.
  • NPM distribution via `@salesforce/mcp`.
Weaknesses
  • Beta service status applies. Covered by Salesforce Beta Services Terms.
  • Requires CLI-flag-based configuration (more complex than env-var-only servers).
  • Toolset coverage skews to admin and dev workflows over end-user CRM tasks.
Security Notes

Authentication uses Salesforce CLI existing org auth (`sf org login`). The --orgs flag pins which orgs the server can target. Use DEFAULT_TARGET_ORG to restrict to the active org. Beta status means the security model may evolve before GA; review the Salesforce Beta Services Terms before production use. Apex test execution and metadata deployment are write operations against the configured org; scope the org to a sandbox for LLM-driven development workflows.

Best For

Salesforce admins and developers running DX workflows from an LLM, teams already using Salesforce CLI (`sf`) and wanting agent integration, and Apex testing/metadata/SOQL workflows from Claude or Cursor.

TECHNICAL DETAILS

Language
typescript
Transport
stdio
Clients
Claude DesktopClaude CodeCursorVS CodeWindsurf
License
Apache-2.0
GitHub
npm
@salesforce/mcp
Last Release
0.30.7APR 23, 2026
First Released
APR 23, 2025

ADOPTION METRICS

// GitHub Stars
386

// Reading this386 stars; the editorial weight comes from official salesforcecli org placement plus rapid release cadence (100 releases since launch one year ago).

// Popularity Rank
#14
Globally · #5 in Productivity

// Reading thisFifth-ranked in productivity. Beta status caveat applies; recommend monitoring for GA designation in the next quarter.

SOURCES & VERIFICATION

We don't take any single directory's word for it. Before scoring, we cross-reference 5 public MCP sources, install the server ourselves against the clients we cover, and record when we last re-verified.

01
Discovered
Manual submission
First indexed APR 29, 2026
02
Cross-referenced
5 directories
PulseMCP, MCP.so, Smithery, Glama, Official MCP Registry
03
Verified against
VS Code with Copilot, Claude Code, Cline, Cursor
Installed and tested across clients
04
Last re-checked
APR 29, 2026
Weekly re-verification
// How other directories see it

The same server, 5 different lenses. We reconcile these signals into our editorial score, which is why our number sometimes diverges from a directory-aggregate star count.

SourceTheir ratingTheir star countTheir downloadsLast synced
AutomationSwitch This page4editorial386APR 29, 2026
PulseMCP— unratedunavailableunavailableAPR 29, 2026
MCP.so— unratedunavailableunavailableAPR 29, 2026
Smithery— unratedunavailableunavailableAPR 29, 2026
Glama— unratedunavailableunavailableAPR 29, 2026
Official MCP Registry— unratedunavailableunavailableAPR 29, 2026

// Counts are directory-reported; we don't adjust them. Discrepancies usually come from different snapshot times or star-caching.

// Get in touch

DISCUSS YOUR
MCP REQUIREMENTS.

Evaluating a server, scoping an internal deployment, or working out whether MCP is the right fit at all. Start the conversation and we will point you at the right piece of the ecosystem.

Discuss Your MCP Requirements →