Install Salesforce Cloud in Continue
What you need first
- Continue, installed.
- Node.js, which
gives the
npxcommand the server starts with. - Your own values for
YOUR_SF_CLIENT_ID,YOUR_SF_CLIENT_SECRET,YOUR_SF_LOGIN_URL.
Steps
- Open
~/.continue/config.yaml. On Windows it is%USERPROFILE%\.continue\config.yaml. - Add this entry. If the file already has
mcpServers, add only the item from- nameon.
mcpServers:
- name: "salesforce-cloud"
type: stdio
command: "npx"
args:
- "-y"
- "@aaronsb/[email protected]"
env:
"SF_CLIENT_ID": "YOUR_SF_CLIENT_ID"
"SF_CLIENT_SECRET": "YOUR_SF_CLIENT_SECRET"
"SF_LOGIN_URL": "YOUR_SF_LOGIN_URL" - Replace
YOUR_SF_CLIENT_ID,YOUR_SF_CLIENT_SECRET,YOUR_SF_LOGIN_URLwith your own values. - Save the file and restart Continue.
Check it worked
Ask Continue: List the tools of salesforce-cloud.
If it does not start
- spawn npx ENOENT
- Node.js is not on the PATH that Continue sees. Install it, or write the
full path of
npxin the config. - The server starts, but its tools fail
- A
YOUR_…placeholder is still in the config, or its value is wrong. - Nothing changes after a restart
- The file is not valid YAML any more. Check that the entry is indented like the lines around it.