MCP server · Audited from source
Salesforce MCP server
by salesforcecli/mcpApache-2.0 licenceAudited 30 Sep 2026 · source f6f55474dbcd
Is it safe? No — BLOCK, grade D (60/100). It exposes 15 tools: 15 read, 0 write and 0 destructive. The audit recorded 23 findings (0 critical, 5 high, 0 medium, 18 low). Maintainer's description: MCP Server for interacting with Salesforce instances
Cite
Cite this page
ModelsAtlas. “Salesforce MCP server (salesforcecli/mcp)”. Retrieved 30 Sep 2026. https://modelsatlas.com/mcp/salesforcecli/salesforce-12
Why this is BLOCK. The audit found 0 critical and 5 high findings; the most severe is Code injection at packages/mcp-provider-code-analyzer/src/actions/create-regex-custom-rule.ts:29. 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 salesforcecli/mcp. Compare all 4 →
- advancedcommunities/salesforce-mcp-server Org-owned★ 35✕BLOCK
- tsmztech/mcp-server-salesforce★ 165✓SAFE
- kablewy/salesforce-mcp-server★ 45✓SAFE
- salesforcecli/mcp★ 483✕BLOCK
Trust audit
Audit 0.4.1 · full source read 30 Sep 2026
23 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
- FilesystemDeclared2 observations
- NetworkNone observedNothing seen in the source
- ShellDeclared9 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
Findings (23)
Sorted by severity
HIGHCode injectioncode.eval_exec · packages/mcp-provider-code-analyzer/src/actions/create-regex-custom-rule.ts:29
exec(input: CreateRegexCustomRuleInput): Promise<CreateRegexCustomRuleOutput>;
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · packages/mcp-provider-code-analyzer/src/actions/create-xpath-custom-rule.ts:26
exec(input: CreateXpathCustomRuleInput): Promise<CreateXpathCustomRuleOutput>;
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · packages/mcp-provider-code-analyzer/src/actions/describe-rule.ts:38
exec(input: DescribeRuleInput): Promise<DescribeRuleOutput>;
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · packages/mcp-provider-code-analyzer/src/actions/get-ast-nodes.ts:18
exec(input: GetAstNodesInput): Promise<GetAstNodesOutput>;
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · packages/mcp-provider-code-analyzer/src/actions/list-rules.ts:49
exec(input: ListRulesInput): Promise<ListRulesOutput>;
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWInventory / provenanceinv.symlink · packages/mcp/README.md
packages/mcp/README.md
- Why
- link not followed
- Fix
- —
LOWFilesystem / pathfs.traversal · .github/workflows/publish-mcp-server.yml:93
cd ../../
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · .github/workflows/publish-mcp-server.yml:206
# Use -L flag to dereference symlinks (e.g., README.md -> ../../README.md)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · .github/workflows/publish-providers.yml:188
cd ../../
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · packages/EXAMPLE-MCP-PROVIDER/test/tools/sf-example-tool.test.ts:2
import { ExampleMcpTool } from "../../src/tools/example_tool.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · packages/mcp-provider-code-analyzer/src/ast/metadata/pmd-ast-reference.ts:40
const fileUrl = new URL(`../../data/pmd/${normalizedLanguage}-ast-reference.json`, import.meta.url);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · packages/mcp/DEVELOPING.md:82
3. If successful, open the specified localhost URL in your browser. In this example it's `http://127.0.0.1:6274`:
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · packages/mcp/DEVELOPING.md:85
MCP Inspector is up and running at http://127.0.0.1:6274
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@commitlint/cli, @commitlint/config-conventional, @modelcontextprotocol/inspector, rimraf
- Why
- 4 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · packages/EXAMPLE-MCP-PROVIDER/package.json
@modelcontextprotocol/sdk, @salesforce/mcp-provider-api, zod, @eslint/js, @types/node, @vitest/coverage-istanbul, eslint, rimraf
- Why
- 12 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · packages/mcp-provider-api/package.json
@modelcontextprotocol/sdk, @salesforce/core, @salesforce/ts-types, @types/semver, semver, zod, @eslint/js, @types/node
- Why
- 12 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · packages/mcp-provider-code-analyzer/package.json
@modelcontextprotocol/sdk, @salesforce/code-analyzer-core, @salesforce/code-analyzer-engine-api, @salesforce/code-analyzer-eslint-engine, @salesforce/code-analyzer-pmd-engine, @salesforce/code-analyze
- Why
- 19 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · packages/mcp-provider-devops/package.json
@modelcontextprotocol/sdk, @salesforce/mcp-provider-api, @salesforce/core, @salesforce/source-deploy-retrieve, @salesforce/ts-types, zod, @eslint/js, @types/node
- Why
- 15 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
15 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
ApexPage | Root element of a Visualforce page | read |
BooleanLiteral | Boolean literal | read |
ClassDeclaration | Represents a class declaration | read |
Element | HTML element | read |
FunctionDeclaration | JavaScript function | read |
HtmlDocument | HTML document root | read |
IfStatement | Represents an if statement | read |
IntegerLiteral | Integer literal | read |
MethodCallExpression | Represents a method call | read |
MethodDeclaration | Represents a method declaration | read |
OutputText | Display text content | read |
StringLiteral | String literal | read |
test-tool | Test tool description | read |
test-tool-2 | Test tool description | read |
test-tool-3 | Test tool description | read |
Safer alternatives
We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.
Audit history
- ✕BLOCK D 60 / 100
First audit ·
f6f55474dbcd
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about Salesforce MCP server
What is the Salesforce MCP server?
What tools does Salesforce expose?
Is Salesforce safe to connect to an agent?
What credentials does Salesforce need?
How does Salesforce run?
How current is this page?
Which Salesforce MCP server is the right one?
I already installed Salesforce. What should I do?
Can the verdict change?
Sources
- salesforcecli/mcp on GitHub — the source we read, its licence, stars and activityObserved · 30 Sep 2026
- ModelsAtlas trust audit — BLOCK verdict for commit f6f55474dbcdObserved · 30 Sep 2026
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.
- What is the Salesforce MCP server?
- What tools does Salesforce expose?
- Is Salesforce safe to connect to an agent?