Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Connected while the plugin is enabled; Claude calls their tools.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Salesforce Consumer Keyclient_id
Consumer Key of the External Client App you created for this integration (Setup → External Client App Manager → your app → Settings → Consumer Key and Secret).
stringRequired
Salesforce MCP server URLsalesforce_mcp_url
Server URL from Setup → MCP Servers. Production: https://api.salesforce.com/platform/mcp/v1/platform/sobject-all. Sandbox or scratch: https://api.salesforce.com/platform/mcp/v1/sandbox/platform/sobject-all. For custom servers, replace platform/ with custom/.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
stringRequired
Claude Code plugin that connects agents to Salesforce through Salesforce Hosted MCP, Salesforce's first-party Model Context Protocol service.
Run SOQL and SOSL, inspect object schemas, traverse relationships, and create, update, or delete records — all under the signed-in user's own permissions and field-level security.
/plugin marketplace add seanGSISG/cstack/plugin install salesforce@agent-plugins/mcp to connect.{
"mcpServers": {
"salesforce": {
"type": "http",
"url": "${user_config.salesforce_mcp_url}",
"oauth": {
"clientId": "${user_config.client_id}",
"scopes": "mcp_api refresh_token"
}
}
}
}
Salesforce Hosted MCP requires an External Client App in your org. Connected Apps are not supported.
From Setup, go to External Client App Manager → New External Client App, fill in the basics, then expand API (Enable OAuth Settings) and check Enable OAuth.
Add the callback URL Claude Code uses — a loopback redirect of the form http://localhost:<port>/callback. Pin the port by adding "callbackPort": 8080 to the server's oauth block in .mcp.json, then register http://localhost:8080/callback here. Any free local port works as long as the two match.
Under OAuth Scopes, select exactly these two and nothing broader:
mcp_api)refresh_token, offline_access)The second one is easy to miss because the picker labels scopes by description rather than by value. Without it the plugin cannot refresh, and every user has to re-authenticate when their access token expires. Do not add Full access (full) — Hosted MCP does not need it.
Under Security, select Issue JSON Web Token (JWT)-based access tokens for named users. This is required: without it Salesforce issues opaque tokens and every tool call fails with JWT Token is required. Leave Require Secret for Web Server Flow off — Claude Code authenticates as a public client using PKCE, so no client secret is involved. Do not enable the JWT Bearer Flow, which is a different feature and needs a certificate.
Finally, copy the Consumer Key from Settings → Consumer Key and Secret.
A new External Client App can take up to 30 minutes to propagate. Until it does, authentication fails with invalid_client_id; wait rather than recreating the app.
In Setup, open MCP Servers, activate the server you want, and copy its Server URL. The URL encodes both the org type and the server:
| Org type | Standard server | Custom server |
|---|---|---|
| Production, Developer, Enterprise | https://api.salesforce.com/platform/mcp/v1/platform/sobject-all | https://api.salesforce.com/platform/mcp/v1/custom/myserver |
| Sandbox or scratch | https://api.salesforce.com/platform/mcp/v1/sandbox/platform/sobject-all | https://api.salesforce.com/platform/mcp/v1/sandbox/custom/myserver |
Salesforce ships several standard servers with different blast radii — sobject-reads for read-only access, sobject-mutations for reads plus create and update, sobject-deletes, and sobject-all for everything. Point the plugin at the narrowest one that does the job.
Enable the plugin. Claude Code prompts for two values and substitutes them into .mcp.json:
| Prompt | Goes into |
|---|---|
| Salesforce MCP server URL | the server's url |
| Salesforce Consumer Key | the server's oauth.clientId |
The scopes are already pinned in .mcp.json as the space-separated string mcp_api refresh_token, so there is nothing to pick. Then run /mcp and complete the Salesforce login.
There is no client secret to supply — Hosted MCP authenticates as a public client with PKCE. Each member sets their own two values and authenticates individually, so tools run with that member's own object and field permissions.
| Symptom | Cause |
|---|---|
invalid_client_id | The External Client App has not finished propagating. Wait up to 30 minutes. |
invalid_scope | The app is missing Access Salesforce hosted MCP servers or Perform requests at any time. |
JWT Token is required or Invalid token after a successful login | Issue JSON Web Token (JWT)-based access tokens for named users is not enabled. |
| Auth succeeds but the server 404s | The MCP server is not activated in Setup, or the URL's org type does not match the org you logged into. |
npx claudepluginhub seangsisg/cstack --plugin salesforceBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground