A Salesforce MCP server that only reads

sf-intelligence reads your org’s metadata once and answers questions about it from your computer: what breaks if you change something, what runs on save, who can see what. It never writes to Salesforce.

Short answer

sf-intelligence is a free, open-source (MIT) MCP server for Salesforce. Most Salesforce MCP servers act on the org: they query records, deploy or run tests. This one only reads. It answers impact, automation and access questions from a local snapshot, and names every component an answer relies on.

How it differs from other Salesforce MCP servers

Topicsf-intelligenceTypical Salesforce MCP servers
JobExplain the org: dependencies, automation, access, deployment riskAct on the org: records, queries, deploys, tests
Writes to the orgNever. There is no write codeOften, where enabled
Where answers come fromA snapshot on your computer. Works offlineLive calls to the org for each question
EvidenceNames each component, how sure it is, and what it couldn’t checkVaries
PriceFreeFree official tools, or paid services

Tool by tool: all comparisons, starting with Salesforce’s own MCP servers.

Try it without a Salesforce org

One command adds a made-up demo org, Verdant Energy, to your assistant. No Salesforce login, no Salesforce CLI, nothing to connect.

Try the demo orgOne command. No Salesforce login needed.
claude mcp add --scope user sf-intelligence-demo -- npx -y sf-intelligence demo

For Claude Code. Using Claude Desktop, Cursor, VS Code or Codex? Demo setup for your assistant.

Then ask: “Can I delete the Amount field on Invoice?” This is the real answer it gives:

Question

“Can I delete the Amount field on Invoice?”

No 3 things depend on it.

Next: Change those three first, then delete the field.

Blocking
  • Apex classPaymentServiceApexClass:PaymentService

    Reads the field. Salesforce will refuse the delete while this code references it.

  • Formula fieldInvoice BalanceCustomField:Invoice__c.Balance__c

    Uses the field in its formula.

  • Roll-up summaryProject › Total InvoicedCustomField:Project__c.Total_Invoiced__c

    Sums the field across a project’s invoices.

What it checked
  • Found Apex, Formulas, Roll-ups
  • Nothing in Flows, Workflow rules, Validation rules
  • Not checked Reports, dashboards and list views, Lightning pages and components, Visualforce, Quick actions and buttons, Assignment, auto-response and escalation rules, Restriction and scoping rules, OmniStudio cards, Email templates, DLRS roll-up definitions, Plain-text mentions of the field name in code

“Not checked” means those kinds of metadata were not in the snapshot, so the answer says so instead of claiming nothing is there.

It also flags Amount as financial data (a pattern match, not a certainty), so a delete may need a data-retention sign-off.

For developers: the tool call

Your assistant made this call to the sf-intelligence MCP server:

{
  "name": "sfi.safe_to_delete_field",
  "arguments": {
    "fieldId": "CustomField:Invoice__c.Amount__c"
  }
}

Connect your own org

First read the org once, read-only, from your Salesforce project folder: npx -y sf-intelligence init --target-org my-org, then npx -y sf-intelligence refresh. Then register the server with your assistant. Always give it the full path to the snapshot folder (--vault), because assistants start servers from a folder you don’t control.

Claude Code

Terminal, in your Salesforce project folder
claude mcp add --scope project sf-intelligence -- npx -y sf-intelligence mcp --vault "$PWD/org-kb"

--scope project writes a .mcp.json you can commit for your team. Check it with /mcp.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "sf-intelligence": {
      "command": "npx",
      "args": ["-y", "sf-intelligence", "mcp", "--vault", "/full/path/to/your-project/org-kb"]
    }
  }
}

Use the full path to your org-kb folder (on Windows, double the backslashes). Merge this into the file if it already lists other servers, then fully quit and reopen Claude Desktop.

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "sf-intelligence": {
      "command": "npx",
      "args": ["-y", "sf-intelligence", "mcp", "--vault", "/full/path/to/your-project/org-kb"]
    }
  }
}

Use the full path to your org-kb folder. Cursor doesn't reload this file by itself: turn the server off and on in Settings → MCP.

VS Code + Copilot

.vscode/mcp.json
{
  "servers": {
    "sf-intelligence": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "sf-intelligence", "mcp", "--vault", "${workspaceFolder}/org-kb"]
    }
  }
}

VS Code reads the servers key, not mcpServers. With the wrong key it loads nothing and shows no error. Use Copilot Chat in Agent mode.

Codex

Terminal
codex mcp add sf-intelligence -- npx -y sf-intelligence mcp --vault /full/path/to/your-project/org-kb
or by hand: ~/.codex/config.toml
[mcp_servers.sf-intelligence]
command = "npx"
args = ["-y", "sf-intelligence", "mcp", "--vault", "/full/path/to/your-project/org-kb"]
startup_timeout_sec = 30

Codex uses TOML. A longer start-up timeout gives the first download time to finish. Check it with codex mcp list.

Step-by-step: Getting started · Ask Claude about your org

Ask in plain words

You never need a tool name. Your assistant picks from the default set and can reach every other analysis when it needs to.

  • What breaks if I delete the Status field on Project?
  • Why can’t Installers see Invoices?
  • What runs when a Project is saved?
  • Is this deployment risky?

Everything it can answer · Tools reference

Safe on production

  • Only commands you run, like refresh, contact Salesforce, and they only read
  • Answers from the snapshot make no network calls
  • The optional live mode is off until you turn it on for that org
  • No telemetry by default

The details: Trust · FAQ

For developers: serving over HTTP

For CI or shared read-only access on your own machine, sfi serve --http serves the same tools over streamable HTTP with a bearer token. The live mode is always off over HTTP, so remote callers can’t reach your org. See Configuration.

Questions

What is a Salesforce MCP server?

MCP (Model Context Protocol) is the standard way AI assistants call outside tools. A Salesforce MCP server gives an assistant like Claude, Cursor or Copilot tools that know about your org, so it can look things up instead of guessing.

Why read-only?

So you can point it at production without a second thought. Its job is to explain the org: what depends on what, what runs on save, who can see what. Making changes stays with you and your release tools.

Why offline?

Answers come from a snapshot on your computer, so they’re fast, they work without a connection, and your org’s metadata isn’t sent to another service. You refresh the snapshot when the org changes.

Can I run it alongside Salesforce’s own MCP servers?

Yes. Theirs act on the org (records, deploys, tests); this one explains it. Many people register both. How they differ.