Ask Krrish Contact
Home
Developer & Admin
Apex Triggers Mastery Asynchronous Apex SOQL & SOSL Governor Limits Flows & Process Builder
Advanced Topics
LWC Essentials Security & Sharing Managed Packages Deployment & CI/CD Integration Patterns
Interview Prep
Practice interview questions
Resources
Sales Cloud Class Diagram
Blog AI News
Available Now
Agentforce Pricing Calculator New Debug Log Analyzer SFX Forge New SFX Grove SFX Travel Manager
Salesforce + AI
AI Agent Development Salesforce Agentforce Development Custom RAG Solutions AI + Salesforce Integration Customer Support AI Agents AI Lead Qualification AI Knowledge Base Assistant AI Workflow Automation
Salesforce work
Issue Fix Sprint Automation Sprint LWC & integrations Overflow support for partners Agentforce & AI usage review All services →
About Ask Krrish Contact
Salesforce MCP

Salesforce DX MCP Server End of Life: What to Use Instead

The Salesforce DX MCP server (@salesforce/mcp) reached end of life on 2 Nov 2026. Learn why it still works if pinned and how to move to sf-skills.

29 November 2026 8 min read Abhay Nama
On this page
Short answer

The Salesforce DX MCP server (@salesforce/mcp) reached end of life on 2 Nov 2026: no more fixes or releases. Setups pinned to 0.30.15 still work; we tested it on 29 Nov 2026. Salesforce now ships this tooling as skills in forcedotcom/sf-skills, and Claude Code users install the salesforce-development plugin.

Tested on: khemjiorgs (SFX test org, Salesforce Developer Edition), 29 Nov 2026: @salesforce/mcp 0.30.15 started over stdio, 4 tools listed, run_soql_query returned 3 records (API v68.0)

# npm output (excerpt)
npm warn deprecated @salesforce/mcp@0.30.15:
The Salesforce DX MCP Server has been deprecated.

That warning is harmless today. What it doesn’t tell you is what replaces the server, and how to switch without leaving the old one running in your AI client.

What happened to the Salesforce DX MCP Server?

Salesforce ended support for @salesforce/mcp on 2 Nov 2026 (GitHub issue #46). There will be no more releases. Its repos, forcedotcom/mcp and salesforcecli/mcp, are now archived (checked 29 Nov 2026).

The issue puts the change in one line: “Salesforce tooling is now delivered as skills”. They live in forcedotcom/sf-skills.

What should I use instead?

It depends on your AI client. From the Salesforce Development plugin README:

Your tool What to use Support notes
Claude Code salesforce-development plugin Install via @claude-plugins-official or forcedotcom/sf-skills
Codex salesforce-development plugin (beta) or standalone skills Beta plugin requires Codex CLI 0.145.0 or later
Cursor, OpenCode, and other editors Standalone skills via npx skills add forcedotcom/sf-skills Some plugin-only skills not included
Agentforce Vibes Built-in skills Auto-installed and auto-updated

The plugin does not drop MCP. It packages several pieces together:

  • Bundled MCP servers: It includes servers such as salesforce-metadata-experts and salesforce-metadata-grounding.
  • Developer skills: It provides skills for Apex generate/test/run, SOQL queries, Flow generation, metadata deploy and retrieve, and permission sets.
  • Agents and hooks: It ships task agents plus hooks for a production deploy-safety gate and Apex pre-deploy diagnostics.
  • Hosted MCP skill: It includes a skill for the Salesforce-hosted "Headless 360 MCP server" (discover, describe, dispatch), which stays off by default.

One caution from the same README: skills and plugins may be renamed or removed between releases. Treat them as fast-moving tooling, not a stable API.

How do I move from the MCP server to the Claude Code plugin?

Follow these steps to retire your old salesforce-dx MCP entry and install the salesforce-development plugin in Claude Code.

  1. Check the prerequisites. Confirm your machine meets the requirements listed in the official plugin README:
    • Claude Code 2.1.222 or later
    • Node.js LTS (bundled language servers run under node)
    • Salesforce CLI (sf), because the MCP host and deploy hooks shell out to sf
    • Python 3.8+ (used by plugin hooks)
  2. Authorize your Salesforce org with Salesforce CLI. Log in and set a default alias if you have not already done so:

    sf org login web --alias my-org --set-default
    
  3. Remove the old salesforce-dx MCP server. In Claude Code, servers can sit in the project .mcp.json or in your local or user settings. List them, then remove the old one. Use the name claude mcp list shows; salesforce-dx below is only an example:

    claude mcp list
    claude mcp remove salesforce-dx
    

    Without --scope, Claude Code removes it from whichever scope has it. Use --scope local, user or project if the same name is in more than one. For Claude Desktop, delete the entry from claude_desktop_config.json and restart the app. In VS Code or Cursor, delete it from that editor’s MCP config file.

  4. Install the salesforce-development plugin in Claude Code. Start an interactive Claude Code session (claude) and type these slash commands there. To install from the pre-registered official marketplace, run:

    /plugin install salesforce-development@claude-plugins-official
    

    If you want the latest Salesforce release directly from forcedotcom/sf-skills, add the marketplace first and install from @salesforce:

    /plugin marketplace add forcedotcom/sf-skills
    /plugin install salesforce-development@salesforce
    

    Keep only one copy enabled. If you switch between @claude-plugins-official and @salesforce, disable or remove the other copy.

  5. Verify the plugin setup. In the same Claude Code session, run the optional setup check and the status command:

    /salesforce-development:setup
    /salesforce-development:status
    

Using Cursor, OpenCode or another client? Steps 4 and 5 are for Claude Code only. Instead:

  1. Remove the old @salesforce/mcp entry from that client’s MCP config file and restart the client.
  2. From your Salesforce DX project folder, run npx skills add forcedotcom/sf-skills.
  3. Check that the new Salesforce skills show in that client’s skills or rules list, then ask it to run a small SOQL query against a sandbox org.

Does my current MCP setup still work?

Yes. Version 0.30.15 still runs. It just gets no fixes.

We checked on 29 Nov 2026 in our Developer Edition test org, with Node and Salesforce CLI on macOS:

npx -y @salesforce/mcp@0.30.15 --orgs khemjiorgs --toolsets data,orgs --no-telemetry
  • The server started over stdio and reported version 0.30.15.
  • With data,orgs it listed four tools: get_username, resume_tool_operation, run_soql_query and list_all_orgs.
  • run_soql_query returned three Account records with no error. It worked from a folder without sfdx-project.json.

Two risks grow over time. Bugs and security issues won’t be fixed. And new Salesforce CLI or API changes are no longer tested against it. So treat it as a bridge while you move.

How do I keep the old server running safely until I migrate?

If your team relies on a client workflow that is not ready to move right away, you can keep @salesforce/mcp@0.30.15 running temporarily. The key is pinning the version and locking down org and toolset scope.

Use a configuration block like this in .mcp.json or claude_desktop_config.json:

{
  "mcpServers": {
    "salesforce-dx": {
      "command": "npx",
      "args": [
        "-y",
        "@salesforce/mcp@0.30.15",
        "--orgs",
        "my-org",
        "--toolsets",
        "data,orgs",
        "--no-telemetry"
      ]
    }
  }
}

Follow four guardrails when keeping 0.30.15 active:

  • Pin @0.30.15: Never leave @latest in a shared project .mcp.json.
  • Pass your authorized org alias to --orgs: The --orgs (-o) flag is required and accepts the alias or username you authorized with sf org login web. Scoping to a non-production alias such as my-org limits where queries can run.
  • Keep customer data out of the model: Tool results enter the model’s context and may be sent to an external provider, depending on your client and model. Use a sandbox or Developer Edition org and skip personal fields.
  • Request the least toolsets needed: Use --toolsets data,orgs (or only the specific toolset your task requires) rather than --toolsets all. Keep --allow-non-ga-tools off unless you explicitly need non-GA tools. --no-telemetry only turns off the MCP server’s own telemetry.

MCP server vs skills vs REST API: which one when?

MCP does not replace the Salesforce REST API. They sit at different layers. In our test, the records @salesforce/mcp returned carried REST API (/services/data/v68.0/) URLs, using the org you authorized with sf.

Option How it works Best fit Main constraint
@salesforce/mcp (0.30.15) Local stdio MCP server wrapping sf auth and org tools Temporary continuity for existing pinned MCP configs End of life, no fixes
sf-skills / salesforce-development Skills, agents, hooks, and bundled metadata MCP servers calling sf Active AI coding in Claude Code, Codex (beta), Cursor, or Agentforce Vibes Changes between releases
Salesforce REST API Direct HTTP calls to Salesforce org endpoints Backend apps, CI scripts, and automation without an AI host Your code handles auth, requests, and errors directly

Use sf-skills or the Claude Code plugin when an AI assistant is helping you write Apex, build Flows, run SOQL, or check pre-deploy diagnostics. Use the Salesforce REST API directly whenever you are building deterministic integrations or scripts outside an AI editor. Keep @salesforce/mcp@0.30.15 only as a pinned bridge while migrating existing setups.

Official sources

Sources checked 29 Nov 2026.

Solution kit

This script checks that a pinned 0.30.15 setup still answers. For the move itself, follow the five migration steps.

Minimal Python test script

Save it as test_sf_mcp.py. On macOS or Linux, run python3 test_sf_mcp.py my-org to verify a pinned 0.30.15 setup over stdio with initialize, tools/list, and one tools/call:

import json
import os
import shutil
import subprocess
import sys

ORG_ALIAS = sys.argv[1] if len(sys.argv) > 1 else "my-org"

NPX = shutil.which("npx") or shutil.which("npx.cmd") or "npx"  # npx.cmd on Windows

cmd = [
    NPX, "-y", "@salesforce/mcp@0.30.15",
    "--orgs", ORG_ALIAS,
    "--toolsets", "data,orgs",
    "--no-telemetry",
]

proc = subprocess.Popen(
    cmd,
    stdin=subprocess.PIPE,
    stdout=subprocess.PIPE,
    stderr=subprocess.DEVNULL,  # npm prints long deprecation warnings; a full pipe would hang the server
    text=True,
)


def send(payload):
    proc.stdin.write(json.dumps(payload) + "\n")
    proc.stdin.flush()


def read_reply(req_id):
    while True:
        raw = proc.stdout.readline()
        if raw == "":
            raise RuntimeError("Server closed stdout. Run the npx command by hand to see its error.")
        line = raw.strip()
        if not line:
            continue
        try:
            msg = json.loads(line)
        except json.JSONDecodeError:
            continue
        if msg.get("id") == req_id:
            if "error" in msg:
                raise RuntimeError(f"Request {req_id} failed: {msg['error']}")
            return msg


try:
    send({
        "jsonrpc": "2.0",
        "id": 1,
        "method": "initialize",
        "params": {
            "protocolVersion": "2025-06-18",
            "capabilities": {},
            "clientInfo": {"name": "mcp-check", "version": "1.0.0"},
        },
    })
    init_res = read_reply(1)
    print("serverInfo:", init_res["result"]["serverInfo"])

    send({"jsonrpc": "2.0", "method": "notifications/initialized"})

    send({"jsonrpc": "2.0", "id": 2, "method": "tools/list", "params": {}})
    tools_res = read_reply(2)
    print("tools:", [t["name"] for t in tools_res["result"]["tools"]])

    send({
        "jsonrpc": "2.0",
        "id": 3,
        "method": "tools/call",
        "params": {
            "name": "run_soql_query",
            "arguments": {
                "query": "SELECT Id, Name FROM Account ORDER BY CreatedDate DESC LIMIT 3",
                "usernameOrAlias": ORG_ALIAS,
                "directory": os.getcwd(),
            },
        },
    })
    call_res = read_reply(3)
    print("isError:", call_res["result"].get("isError"))
    content = call_res["result"].get("content") or []
    print(content[0]["text"] if content else "(no content returned)")
finally:
    try:
        proc.stdin.close()
    except BrokenPipeError:
        pass
    proc.terminate()
    try:
        proc.wait(timeout=5)
    except subprocess.TimeoutExpired:
        proc.kill()

Frequently asked questions

Why does npm show a deprecation warning for @salesforce/mcp?

GitHub issue forcedotcom/mcp #46 announced that the Salesforce DX local MCP server reached end of life on 2 Nov 2026. No new releases ship after that date, and both forcedotcom/mcp and salesforcecli/mcp are now archived (read-only) on GitHub.

Which tools does @salesforce/mcp expose with --toolsets data,orgs?

In our 29 Nov 2026 test of version 0.30.15, tools/list returned four tools: get_username, resume_tool_operation, run_soql_query and list_all_orgs.

Does @salesforce/mcp need an sfdx-project.json folder?

Not for run_soql_query in our test. The server answered from a folder without sfdx-project.json, using the org alias passed to --orgs.

Does the Salesforce Development Claude Code plugin still include MCP servers?

Yes, the plugin still includes MCP servers such as salesforce-metadata-experts and salesforce-metadata-grounding alongside skills, agents, and deploy hooks. It also includes an off-by-default skill for the Salesforce-hosted Headless 360 MCP server.

Do query results from the MCP server go to the AI model?

Usually. Tool results such as SOQL records enter the model's context. With a cloud model they are sent to that provider; with a locally hosted model they may stay on your machine. Use a test org or non-sensitive fields.

Need this built in your Salesforce org?

SFX builds and fixes Salesforce + AI work: Agentforce actions, Prompt Builder, LLM integrations from Apex, Flows and LWC. Written scope and a fixed quote before any work starts.

See SFX services Ask on WhatsApp founders@sfxsupport.com +91-7611896026 Contact SFX Support

SFX Support — Salesforce + AI solutions. Independent: not affiliated with, endorsed by, or a partner of Salesforce, Inc. Salesforce and Agentforce are trademarks of Salesforce, Inc.