MCP server

Salesforce MCP Server: DX Server, End of Life, Skills

Checked 2026-10-31

Install

Claude Code
claude mcp add salesforce-dx -- npx -y @salesforce/mcp@0.30.15 --orgs DEFAULT_TARGET_ORG --toolsets data,metadata

Commands come from the project's own docs or registry entry. Check them against the source before you run them.

Loading poll...

The Salesforce DX MCP server, @salesforce/mcp, lets an agent work with orgs you have signed into through the Salesforce CLI. It reaches end of life on 2 November 2026, two days after our check, and Salesforce points users to skills in forcedotcom/sf-skills instead. Pinned installs keep working. Salesforce also documents hosted MCP servers. We checked on 31 October 2026.

Quick facts

Maintainer

Salesforce (salesforcecli/mcp; issues in forcedotcom/mcp)

License

Apache-2.0

Language

TypeScript, run with npx -y @salesforce/mcp

Latest version

0.30.15 (npm and GitHub release, 9 Jul 2026)

Status

End of life 2 Nov 2026; repos to be archived, npm package deprecated

Transport

stdio

Auth

Orgs authorized locally with the Salesforce CLI

Tool count

"Over 60", per the README

Replacement

Skills in forcedotcom/sf-skills (Apache-2.0, 1,133 stars, release 1.68.0 on 30 Oct 2026)

Hosted option

Salesforce Hosted MCP Servers, documented on developer.salesforce.com

Telemetry

On by default; --no-telemetry disables it

The end-of-life notice, in plain words

Both READMEs open with a warning: "End of Life: November 2nd, 2026". The notice on forcedotcom/mcp issue 46 says that after that date the server is no longer maintained or supported and no further releases will ship. Specifically:

  • salesforcecli/mcp and forcedotcom/mcp will be archived and read-only.
  • The npm package will be marked deprecated.
  • It stays installable, so pinned setups on 0.30.15 keep working.
  • Salesforce says: "Use skills instead," with the public location at forcedotcom/sf-skills.

So if you came here to set up a Salesforce MCP server for a new project, read the replacement section before you start. If you already run it, nothing breaks on 2 November, but nothing improves either.

What the DX server does

Salesforce describes it as "a specialized Model Context Protocol (MCP) implementation designed to facilitate seamless interaction between large language models (LLMs) and Salesforce orgs". It targets developers working in Salesforce DX projects, not end users in the Salesforce UI. It deploys metadata, runs Apex tests, queries data with SOQL, analyzes code and helps migrate Aura components to Lightning Web Components.

The tools are grouped into toolsets, and you pick which to load:

Toolset

Examples

core (always on)

get_username, resume_tool_operation

orgs

list_all_orgs; NON-GA: create_scratch_org, delete_org, open_org, create_org_snapshot

data

run_soql_query

metadata

deploy_metadata, retrieve_metadata

users

assign_permission_set

testing

run_apex_test, run_agent_test

code-analysis

run_code_analyzer, list_code_analyzer_rules, query_code_analyzer_results, describe_code_analyzer_rule

devops

DevOps Center tools such as list_devops_center_work_items, commit_devops_center_work_item, promote_devops_center_work_item

aura-experts

Aura to LWC migration helpers

lwc-experts, experts-validation

LWC development and validation

scale-products

scan_apex_class_for_antipatterns

mobile, mobile-core

Mobile development capabilities

enrichment

enrich_metadata (NON-GA)

The README warns that "the DX MCP Server includes over 60 MCP tools", and that loading all of them takes a lot of the model's context. Use --toolsets and --tools to load only what you need. An experimental --dynamic-tools flag starts with a minimal set and loads more as needed.

How you restrict it

Four controls matter.

Control

Flag

Notes

Which orgs

--orgs (required)

DEFAULT_TARGET_ORG, DEFAULT_TARGET_DEV_HUB, a username or alias, or ALLOW_ALL_ORGS ("use with caution")

Which toolsets

--toolsets

Comma-separated; all enables everything

Which tools

--tools

Individual names, combined with toolsets

Non-GA tools

--allow-non-ga-tools

Off by default

Orgs must be authorized on your computer first, with the CLI command org login web or the VS Code extension. The server cannot reach an org you have not signed into. The default-org tokens are resolved on every tool call, not at startup, so switching your default org changes what the agent reaches, which is worth remembering.

What it costs

The server is free and Apache-2.0 licensed. Your Salesforce org's own limits apply to what it does, and we did not look up how its calls count against them. We could not read licensing terms for Salesforce's Hosted MCP Servers, so check those with Salesforce.

Install it in each agent

Authorize an org first:

sf org login web --alias my-org

The README gives entries for Claude Code, Cline, Cursor, VS Code and other clients. All use the same args format. Other agents are our adaptation. See MCP clients for field differences.

Claude Code

From the README, in your project's .mcp.json:

{
  "mcpServers": {
    "Salesforce DX": {
      "command": "npx",
      "args": ["-y", "@salesforce/mcp",
               "--orgs", "DEFAULT_TARGET_ORG",
               "--toolsets", "orgs,metadata,data,users",
               "--tools", "run_apex_test",
               "--allow-non-ga-tools"]
    }
  }
}

Our suggestion for a pinned, safer version: replace @salesforce/mcp with @salesforce/mcp@0.30.15 and drop --allow-non-ga-tools. Or use the command form claude mcp add salesforce-dx -- npx -y @salesforce/mcp@0.30.15 --orgs DEFAULT_TARGET_ORG --toolsets data,metadata.

Cursor

The README documents Cursor with the same mcpServers block in ~/.cursor/mcp.json or .cursor/mcp.json.

Codex

Our adaptation, in ~/.codex/config.toml:

[mcp_servers.salesforce_dx]
command = "npx"
args = ["-y", "@salesforce/mcp@0.30.15", "--orgs", "DEFAULT_TARGET_ORG", "--toolsets", "data,metadata,testing"]

Antigravity

Our adaptation. In ~/.gemini/config/mcp_config.json, add the same stdio entry under mcpServers. Gemini CLI is now Code Assist enterprise only.

OpenCode

Our adaptation, in opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "salesforce-dx": {
      "type": "local",
      "command": ["npx", "-y", "@salesforce/mcp@0.30.15",
                  "--orgs", "DEFAULT_TARGET_ORG",
                  "--toolsets", "data,metadata,testing"]
    }
  }
}

The replacement: skills and plugins

The forcedotcom/sf-skills repository describes itself as "Salesforce's curated collection of agent skills for building applications", optimized for Agentforce Vibes and compatible with other AI tools. It has skills for Agentforce agents, Lightning apps, Flow, Apex, SOQL, Lightning Web Components, UI bundles, objects and fields and permission sets.

Tool

How to use it, from the README

Agentforce Vibes

Skills auto-installed and auto-updated

Claude Code

The Salesforce Development plugin, per Salesforce's installation guide

Codex

The Salesforce Development plugin, with Codex manifests and a minimum Codex CLI version in its README

OpenCode, Claude Code, Codex, Cursor and others

Standalone skills: npx skills add forcedotcom/sf-skills

The repository also carries a Claude plugin marketplace manifest, and the builder plugins bundle skills with agents, hooks, commands and MCP servers. Its README adds a warning: "Expect frequent changes." Skills and plugins "may be renamed, restructured, or removed between releases" and do not carry the stability guarantees of generally available platform APIs.

Skills are different from MCP in kind. A skill is instructions plus scripts that an agent loads when relevant, often calling the Salesforce CLI. An MCP server is a running process that exposes tools. See skills and the skill creator for how skills work.

Moving from the DX server to skills: a plan

We would not rip the server out in a hurry, since pinned installs keep working. A sensible order follows.

Step

What to do

Why

1

Pin @salesforce/mcp@0.30.15 in every agent config

A floating @salesforce/mcp tag will not get fixes after 2 Nov

2

List which tools your team actually calls

The README lists over 60, most teams use five or six

3

Map each used tool to a CLI command

Deploy, retrieve, SOQL and Apex test runs all have Salesforce CLI equivalents

4

Install the skills in a sandbox project

npx skills add forcedotcom/sf-skills, then try the same task

5

Compare results and context cost

A skill loads instructions on demand, a server loads tool schemas up front

6

Remove the server entry

Only after the sandbox run matches

Two things deserve care. First, the skills call the CLI under your own authorization, so the same org-scope rules apply: authorize sandboxes only. Second, the skills repository changes fast, and its README says skills may be renamed, restructured or removed between releases. Re-run your sandbox check after each update.

Example prompts for the DX server

Salesforce's guide lists sample prompts for the core tools. These are our own examples of the kinds of requests each toolset serves, with the risk of each.

Prompt

Toolset

Risk

"Which orgs do I have authorized?"

orgs

Read only

"Run a SOQL query for accounts created this week"

data

Reads customer data

"Run the Apex tests for the Invoice class"

testing

Uses org resources

"Retrieve the metadata for this object into my project"

metadata

Writes local files

"Deploy my changes to the sandbox"

metadata

Changes the org

"Assign this permission set to a user"

users

Changes access

"Scan this Apex class for performance antipatterns"

scale-products

Local analysis

The pattern is useful. Reads and local analysis are safe to allow freely. Deploys and permission changes should always ask first.

Which agents it suits

The DX server fits coding agents that run on a developer's machine, because it relies on a local CLI sign-in. That covers Claude Code, Codex, Cursor and OpenCode. It does not suit hosted or chat-only clients, since they cannot reach your local CLI session. The skills route is wider: Salesforce lists Claude Code, Codex, Cursor, OpenCode and Agentforce Vibes among supported tools.

Hosted MCP servers

Salesforce's developer site has a section on Hosted MCP Servers. The page needs a browser to read, and our fetch got only the title. We will not describe what we could not read. If you need an agent to read and write CRM data for business users, not to deploy code, the hosted route is the one to evaluate.

Security notes

  • Org scope. ALLOW_ALL_ORGS lets the agent reach every org you have authorized, production included. Use a named sandbox alias instead.
  • Production. Deploy and data tools can change a production org if it is authorized. Authorize only sandboxes for agent work.
  • NON-GA tools. Tools such as delete_org are NON-GA and off by default. Leave --allow-non-ga-tools off unless you need one.
  • Data leaving the org. SOQL results go to the model provider. Customer records may include personal data. Check your data-handling terms.
  • Telemetry. On by default, disable with --no-telemetry if your policy requires.
  • Pinning. After end of life, new vulnerabilities in the package will not get fixes. Pin the version and plan the move.
  • Prompt injection. Record fields such as case descriptions are written by outsiders. Do not let an agent that reads them also deploy metadata without a prompt.

Limits and known issues

  • End of life on 2 Nov 2026. No more releases.
  • More than 60 tools. Context cost is real.
  • It needs a local Salesforce CLI authorization, so it does not suit remote or hosted agents.
  • Several tools are NON-GA.
  • Only stdio.
  • The skills library changes often.
  • Where to report problems. The forcedotcom/mcp repository is issue-only: it collects feedback and bug reports for the DX server, and its README says GitHub is not a way to get support under any agreement or SLA. For urgent help, Salesforce points you to Salesforce Customer Support. Since the server reaches end of life on 2 November 2026, expect new bugs to go unfixed.

Alternatives

Option

Fits when

Notes

DX MCP server, pinned

You have it working and need a bridge

Unmaintained after 2 Nov 2026

sf-skills

You build on the Salesforce platform with a coding agent

Salesforce's stated direction

Hosted MCP servers

You need CRM access without a local CLI

Read Salesforce's own page

HubSpot MCP

Your CRM is HubSpot

Different product

Zapier MCP

You want Salesforce actions among many apps

Task-billed

Snowflake MCP

Salesforce data is shared into Snowflake

Governed warehouse access

Atlassian Jira MCP

You track work in Jira

Different job

Our take

The honest advice is short. Do not start a new project on the DX MCP server. Salesforce has told users it ends on 2 November and has named its replacement. If you already use it, pin 0.30.15, restrict orgs and toolsets, and plan a move to skills.

The move is a real change of approach, not a rename. Skills are lighter and fit coding agents well, but they are still changing quickly, and the repository says so. If you need structured CRM access for non-developers, look at Salesforce's hosted servers, and read their terms and edition requirements before committing.

This is our reading of the documentation, not a hands-on test.

A short setup checklist

  1. Decide whether you want the pinned DX server or the skills route.
  2. If pinned, install the Salesforce CLI and authorize a sandbox.
  3. Pin @salesforce/mcp@0.30.15.
  4. Set --orgs to one alias, --toolsets to what you need, and leave out non-GA tools.
  5. Add --no-telemetry if required.
  6. Test with a SOQL query and an Apex test run.
  7. If moving to skills, run npx skills add forcedotcom/sf-skills in a sandbox project.
  8. Review hosted MCP server docs if you need CRM data access.

See also the MCP server list and best MCP servers.

Frequently asked questions

Is the Salesforce DX MCP server being retired?

Yes, on 2 November 2026. Pinned installs keep working.

What replaces it?

Skills in forcedotcom/sf-skills, plus Salesforce's hosted MCP servers.

How does the DX MCP server authenticate?

Through orgs you authorized locally with the Salesforce CLI.

Can I limit what it can do?

Yes, with --orgs, --toolsets, --tools and by leaving non-GA tools off.

Does it send telemetry?

By default, yes. --no-telemetry turns it off.

Questions

Is the Salesforce DX MCP server being retired?

Yes. Salesforce says the local server, @salesforce/mcp, reaches end of life on 2 November 2026. The repositories will be archived and the npm package deprecated, though pinned installs of 0.30.15 keep working.

What replaces it?

Salesforce says tooling is now delivered as skills, in forcedotcom/sf-skills, installable with npx skills add forcedotcom/sf-skills. Salesforce also documents hosted MCP servers.

How does the DX MCP server authenticate?

It uses orgs you have already authorized locally with the Salesforce CLI, for example with org login web. You list them with the required --orgs flag.

Can I limit what it can do?

Yes. Pick toolsets with --toolsets and individual tools with --tools, and limit orgs with --orgs. Non-GA tools stay off unless you pass --allow-non-ga-tools.

Does it send telemetry?

Telemetry is on by default and the --no-telemetry flag turns it off.

Loading poll...

Reviews

Loading reviews…

Write a review

Your rating

Up to 1000 characters. Stars alone are enough.

Sources

  1. github.com/salesforcecli/mcp
  2. github.com/forcedotcom/mcp
  3. github.com/forcedotcom/mcp/issues/46
  4. github.com/forcedotcom/sf-skills
  5. developer.salesforce.com/docs/platform/hosted-mcp-servers/overview
  6. code.claude.com/docs/en/mcp
  7. developers.openai.com/codex/mcp
  8. antigravity.google/docs/mcp
  9. opencode.ai/docs/mcp-servers

Similar

  • browser-use MCP

    Browser Use is an open-source Python library for AI browser agents, and our entry covers its MCP route.

    • MCP server
    • Official

    browser-use · 119,597 stars

  • Scrapling MCP Server

    Scrapling is a Python web scraping framework from D4Vinci, described on GitHub as handling everything from a single request to a full-scale crawl, and this entry is its MCP server.

    • MCP server

    D4Vinci · 90,477 stars

  • Netdata MCP

    Netdata is an observability platform, and this entry is its hosted MCP endpoint at app.netdata.cloud, reached over streamable HTTP.

    • MCP server

    netdata · 81,227 stars

  • claude-flow MCP

    Claude Flow is published on npm as claude-flow, and its repository now sits at ruvnet/ruflo, which the GitHub description calls the original agent harness for deploying multi-agent swarms and coordinating autonomous workflows.

    • MCP server

    ruvnet · 80,298 stars

  • Context7 MCP

    Context7 is an MCP server from Upstash that serves up-to-date library documentation to coding agents, so the model reads current docs instead of guessing from training data.

    • MCP server

    upstash · 63,974 stars

  • Chrome DevTools MCP

    MCP server published on npm as chrome-devtools-mcp. Transports: stdio. Maintained in ChromeDevTools/chrome-devtools-mcp.

    • MCP server

    ChromeDevTools · 54,503 stars

Part of the Wbcom Designs family

The all-in-one WordPress community stack

Also ours: wbcomdesigns.comvapvarun.combrndle.com