🌐

Salesforce MCP Server

Updated June 2026✓ Official

The Salesforce MCP server, built by Salesforce, provides the Salesforce DX MCP Server (npm package `@salesforce/mcp`) is Salesforce's official Model Context Protocol integration, built and maintained by the Salesforce CLI (salesforcecli) team to let AI assistants read, manage, and operate Salesforce orgs securely from Claude, Cursor, VS Code, Windsurf, or Cline. It is officially maintained and best for API & Web.

by Salesforce

About

The Salesforce DX MCP Server (npm package `@salesforce/mcp`) is Salesforce's official Model Context Protocol integration, built and maintained by the Salesforce CLI (salesforcecli) team to let AI assistants read, manage, and operate Salesforce orgs securely from Claude, Cursor, VS Code, Windsurf, or Cline. Rather than exposing one flat set of tools, it is organized into configurable toolsets you enable with the `--toolsets` flag: `orgs` (list and inspect the orgs you've authenticated), `data` (run SOQL queries and read/create/update records for standard and custom objects), `metadata` (deploy and retrieve source and metadata), and `users` — plus individually-gateable tools such as `run_apex_test`. This makes it useful both for developers automating deploys and Apex test runs and for RevOps teams asking Claude to "pull all open opportunities closing this quarter over $50K" or "update this deal to Negotiation." A key security design point: the server never takes raw usernames and passwords — instead it operates on orgs you have already authenticated through the Salesforce CLI (`sf org login`), which you reference by alias via the `--orgs` flag, so credentials stay in the CLI's secure store and each MCP session is scoped only to the orgs you explicitly allow. Install with `npx -y @salesforce/mcp --orgs DEFAULT_TARGET_ORG --toolsets orgs,metadata,data,users`. Apache-2.0 licensed. Community CRM-focused alternatives such as tsmztech/mcp-server-salesforce and smn2gnt/MCP-Salesforce exist for teams wanting a lighter SOQL-and-records-only server.

Installation

npm / npx
npx -y @salesforce/mcp --orgs DEFAULT_TARGET_ORG --toolsets orgs,metadata,data,users

Frequently Asked Questions

What is Salesforce MCP Server?
Salesforce is an MCP server built by Salesforce. The Salesforce DX MCP Server (npm package `@salesforce/mcp`) is Salesforce's official Model Context Protocol integration, built and maintained by the Salesforce CLI (salesforcecli) team to let AI assistants read, manage, and operate Salesforce orgs securely from Claude, Cursor, VS Code, Windsurf, or Cline. Rather than exposing one flat set of tools, it is organized into configurable toolsets you enable with the `--toolsets` flag: `orgs` (list and inspect the orgs you've authenticated), `data` (run SOQL queries and read/create/update records for standard and custom objects), `metadata` (deploy and retrieve source and metadata), and `users` — plus individually-gateable tools such as `run_apex_test`. This makes it useful both for developers automating deploys and Apex test runs and for RevOps teams asking Claude to "pull all open opportunities closing this quarter over $50K" or "update this deal to Negotiation." A key security design point: the server never takes raw usernames and passwords — instead it operates on orgs you have already authenticated through the Salesforce CLI (`sf org login`), which you reference by alias via the `--orgs` flag, so credentials stay in the CLI's secure store and each MCP session is scoped only to the orgs you explicitly allow. Install with `npx -y @salesforce/mcp --orgs DEFAULT_TARGET_ORG --toolsets orgs,metadata,data,users`. Apache-2.0 licensed. Community CRM-focused alternatives such as tsmztech/mcp-server-salesforce and smn2gnt/MCP-Salesforce exist for teams wanting a lighter SOQL-and-records-only server.
Who built Salesforce MCP Server?
Salesforce MCP Server was built by Salesforce.
Is Salesforce MCP Server free?
Salesforce is free to install as an MCP server, but the underlying service may require payment. The MCP server is free and open-source. Salesforce: Starter: $25/user/mo. Professional: $80/user/mo. Enterprise: $165/user/mo. Unlimited: $330/user/mo.
How do I install Salesforce MCP Server?
Install Salesforce MCP Server with npm: npx -y @salesforce/mcp --orgs DEFAULT_TARGET_ORG --toolsets orgs,metadata,data,users
What does Salesforce MCP Server integrate with?
Salesforce MCP Server integrates with Claude Desktop, Cursor, VS Code, Windsurf, Cline.

Repo Health

Local install

Local/stdio install — runs on your machine, so there is no remote endpoint to verify live. Trust signal below is from the source repo.

Repo recency not yet available for this server.

Quick Info

Install Type
npm
Author
Salesforce
Categories
3
Integrations
5

Sponsored

Better Stack

Free Plan

Get alerted when your APIs, browser tests, payment pipelines, or MCP server dependencies go down. Used by 100K+ developers.

Start monitoring free →