GitHub list of ChatGPT Plugin Directory
MCP server

Salesforce DX MCP

Salesforce developer tools: deploy metadata, run SOQL and Apex tests

The official Salesforce DX MCP server brings Salesforce CLI capabilities to AI coding assistants, including org management, metadata deploy and retrieve, SOQL queries, Apex tests, LWC development, and code analysis. Toolsets are enabled with flags and it uses orgs authorized in the Salesforce CLI.

Also available as

Connect

  1. 1Add the server to Codex
    codex mcp add salesforce-dx -- npx -y @salesforce/mcp --orgs DEFAULT_TARGET_ORG --toolsets orgs,metadata,data,users

Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.

Tools 6

run_soql_querydeploy_metadataretrieve_metadatarun_apex_testrun_code_analyzercreate_lwc_component_from_prd

Things to ask

  • “Deploy the changes in force-app to my default org”
  • “Run the Apex tests in AccountServiceTest”
  • “Query the 10 most recently created Accounts with SOQL”
  • “Scaffold an LWC component from this spec”

Related