MCP server

Salesforce DX MCP Server

Query Salesforce orgs, deploy metadata, run Apex tests and build Lightning Web Components. Official: built and maintained by Salesforce. It runs locally on your machine over stdio. Setup below for 12 clients (checked 2026-10-25). Repo and registry data checked 2026-10-24.
Maintainer
Official · Salesforce
Runs
Local (stdio)
GitHub
★ 486, last push 2026-10-05 (checked 2026-10-24)
License
Apache-2.0
Connects to
Salesforce

Install the Salesforce DX MCP Server

Pick your client. Each tab starts the same local command. Config shapes checked against each client's docs on 2026-10-25.

Run in a terminal. Everything after -- is the command that starts the server. docs

claude mcp add --transport stdio salesforce-dx -- npx -y @salesforce/mcp

Security notes

  • The local server runs with your user's permissions (npx downloads it from npm on first run).
  • It can change code and repositories. Review what it writes before you push.
  • GitHubofficial · ★ 34k

    Repos, issues, pull requests, Actions, code scanning and Copilot coding agent, hosted or local.

  • Keployofficial · ★ 19k

    Generate and run API tests from OpenAPI specs, curl commands, Postman collections or real traffic.

  • Mobilerunofficial · ★ 9.8k

    Control real Android and iOS devices with an agent: tap, swipe, type and automate flows.

  • Azure DevOpsofficial · ★ 2.1k

    Work items, repos, pull requests, pipelines and wikis in Azure DevOps.

  • MATLABofficial · ★ 1.7k

    Run MATLAB code, tests and code analysis from a coding agent.

  • Docker MCP Gatewayofficial · ★ 1.6k

    Run MCP servers in isolated containers behind one gateway, from the Docker MCP Catalog.

  • Postmanofficial · ★ 325

    Manage Postman workspaces, collections, environments and mocks.

  • Apollo GraphQLofficial · ★ 317

    Expose your GraphQL operations as MCP tools, with schema introspection.

FAQ

What does the Salesforce DX MCP Server do?+

Query Salesforce orgs, deploy metadata, run Apex tests and build Lightning Web Components.

Is the Salesforce DX MCP server official?+

Official: built and maintained by Salesforce.

How do I add Salesforce DX to Claude Code?+

Run: claude mcp add salesforce-dx -- npx -y @salesforce/mcp. Add --scope project to share it with your team through .mcp.json.

How do I use the Salesforce DX MCP server in Cursor or VS Code?+

Open the Cursor or VS Code tab above: it has the mcp.json entry and a one-click install link. Cursor uses the "mcpServers" key; VS Code uses "servers" and needs a type ("stdio").

Does Salesforce DX work in ChatGPT and claude.ai?+

No: it runs locally over stdio, and ChatGPT and claude.ai only connect to remote servers. Use it in Claude Desktop, Claude Code, Cursor, VS Code or another client that can start a local process.

What are the alternatives to the Salesforce DX MCP server?+

Other developer tools & git MCP servers: GitHub, Keploy, Mobilerun, Azure DevOps and MATLAB.

All MCP servers · What is an MCP server? · Agent skills