Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

Salesforce MCP server

by advancedcommunities/salesforce-mcp-serverMIT licenceAudited 8 Oct 2026 · source 41e571bc9836

npm @advanced-communities/salesforce-mcp-server 1.7.0stdio★ 35
✕BLOCKGrade D · 64/100 · 8 Oct 2026 · 41e571b

Is it safe? No — BLOCK, grade D (64/100). It exposes 40 tools: 23 read, 14 write and 3 destructive. The audit recorded 11 findings (0 critical, 4 high, 3 medium, 2 low). Maintainer's description: MCP server that enables AI assistants to interact with Salesforce orgs through the Salesforce CLI, providing tools for Apex execution, SOQL queries, metadata management, code analysis, and development automation.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Salesforce MCP server (advancedcommunities/salesforce-mcp-server)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/advancedcommunities/salesforce-11

Why this is BLOCK. The audit found 0 critical and 4 high findings; the most severe is Code injection at scripts/verify-command-injection-fix.mjs:26. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

4 MCP servers are called Salesforce. You are viewing advancedcommunities/salesforce-mcp-server. Compare all 4 →

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score64/100✕BLOCK D
0 critical4 high3 medium2 low2 info

11 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared3 observations
  • NetworkDeclared1 observation
  • ShellDeclared4 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (11)

Sorted by severity

HIGHCode injectioncode.eval_exec · scripts/verify-command-injection-fix.mjs:26
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(command, (error, stdout, stderr) =>
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/tools/records.ts:261
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(command, (error, stdout, stderr) => {
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/utils/sfCommand.ts:61
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/utils/sfCommand.ts:122
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
MEDIUMFilesystem / pathfs.system_paths · src/utils/sfCommand.ts:10
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"/usr/local/bin/sf",
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathfs.system_paths · src/utils/sfCommand.ts:16
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"/usr/local/bin/sf",
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
clear_default_org, delete_record, package_uninstall
Why
3 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injectioncode.eval_exec · test/shellEscape.test.mjs:69
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
"posixQuote: exec() (the sfCommand.ts path) does not run injected commands",
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, @salesforce/apex-node, @salesforce/core, zod, @anthropic-ai/mcpb, @types/node, typescript
Why
7 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOPrompt injectionprompt.authority_framing · README.MD:360
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
**Full access to specific orgs only:**
Why
No further detail recorded for this rule.
Fix
—
INFOPrompt injectionprompt.credential_read · CHANGELOG.md:30
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- Users migrating from `generate_frontdoor_url` should use `open` with `USE_CLIENT_BROWSER=true` environment variable
Why
asks the agent to read credentials
Fix
—

Tools it exposes

40 declared in source · 3 destructive

23 read14 write3 destructive

3 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
clear_default_orgNo description in the sourcedestructive
delete_recordNo description in the sourcedestructive
package_uninstallNo description in the sourcedestructive
assign_permission_setNo description in the sourcewrite
assign_permission_set_licenseNo description in the sourcewrite
create_recordNo description in the sourcewrite
deploy_startNo description in the sourcewrite
execute_anonymous_apexNo description in the sourcewrite
generate_triggerNo description in the sourcewrite
install_skillNo description in the sourcewrite
package_installNo description in the sourcewrite
run_apex_testsNo description in the sourcewrite
run_code_analyzerNo description in the sourcewrite
scanner_runNo description in the sourcewrite
scanner_run_dfaNo description in the sourcewrite
set_default_orgNo description in the sourcewrite
update_recordNo description in the sourcewrite
apex_get_logNo description in the sourceread
apex_log_listNo description in the sourceread
display_userNo description in the sourceread
generate_classNo description in the sourceread
generate_componentNo description in the sourceread
get_apex_code_coverageNo description in the sourceread
get_apex_test_resultsNo description in the sourceread
get_default_orgNo description in the sourceread
get_server_permissionsNo description in the sourceread
list_code_analyzer_rulesNo description in the sourceread
list_connected_salesforce_orgsNo description in the sourceread
list_metadataNo description in the sourceread
list_metadata_typesNo description in the sourceread
login_into_orgNo description in the sourceread
logoutNo description in the sourceread
openNo description in the sourceread
open_recordNo description in the sourceread
query_recordsNo description in the sourceread
query_records_to_fileNo description in the sourceread
schema_generate_tabNo description in the sourceread
search_recordsNo description in the sourceread
sobject_describeNo description in the sourceread
sobject_listNo description in the sourceread

Safer alternatives

Audit history

  1. ✕BLOCK D 64 / 100

    First audit · 41e571bc9836

Questions about Salesforce MCP server

What is the Salesforce MCP server?
MCP server that enables AI assistants to interact with Salesforce orgs through the Salesforce CLI, providing tools for Apex execution, SOQL queries, metadata management, code analysis, and development automation.
What tools does Salesforce expose?
40 in total: 23 read-only, 14 that write, and 3 that can delete or overwrite (clear_default_org, delete_record, package_uninstall). Every one is listed on this page with its risk.
Is Salesforce safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (64/100) and found 4 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 3 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Salesforce need?
It reads SFMCP_TEST_SECRET from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Salesforce run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @advanced-communities/salesforce-mcp-server at 1.7.0.
How current is this page?
The grade is for one exact copy of the source (41e571bc9836), read on 2026-10-08. The repository is watched and re-audited when it changes.
Which Salesforce MCP server is the right one?
4 unrelated servers share the name “Salesforce”; compare them side by side before you install.
I already installed Salesforce. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.