dotsagent.io
Language:English
Commerce · Salesforce

Set up Salesforce DX

Salesforce CLI tools for agents: query data, deploy and retrieve metadata, and manage orgs and users.

Publisher
Salesforce Official
Run locally
npx -y @salesforce/mcp --orgs DEFAULT_TARGET_ORG --toolsets orgs,metadata,data,users
Transports
stdio
Authentication
Uses orgs you have already authorised in the Salesforce CLI.
What it can touch
Read and write, limited to the toolsets enabled with --toolsets.
Licence
Apache-2.0
Source
github.com/salesforcecli/mcp
Status
Active

Install

This server runs on your machine as a child process of the client. You need the runtime its command uses, such as Node.js for npx, uv for uvx or Docker, plus any variables listed under Environment.

Claude Code

shell
claude mcp add --scope project salesforce-dx -- npx -y @salesforce/mcp --orgs DEFAULT_TARGET_ORG --toolsets orgs,metadata,data,users

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "salesforce-dx": {
      "command": "npx",
      "args": [
        "-y",
        "@salesforce/mcp",
        "--orgs",
        "DEFAULT_TARGET_ORG",
        "--toolsets",
        "orgs,metadata,data,users"
      ]
    }
  }
}

Codex

~/.codex/config.toml
[mcp_servers.salesforce-dx]
command = "npx"
args = ["-y", "@salesforce/mcp", "--orgs", "DEFAULT_TARGET_ORG", "--toolsets", "orgs,metadata,data,users"]

Config for other clients →

Other servers in commerce

Sources

  1. github.com/salesforcecli/mcp

Independent reference for people who build AI agents. Not affiliated with any vendor named here.

© 2026 DotsAgent · Facts checked October 1, 2026