Salesforce Cloud MCP Server

Salesforce CRM integration — opportunities, accounts, SOQL, file downloads, analytics

Local serverstdioTypeScript

What is the Salesforce Cloud MCP server?

Salesforce CRM integration — opportunities, accounts, SOQL, file downloads, analytics. Exposed over MCP by the salesforce cloud mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

This MCP (Model Context Protocol) server provides AI-powered tools for interacting with Salesforce, featuring opportunity intelligence, conversation analysis, business case generation, and standard CRUD operations. Built with pagination support and optimized response structures for AI workflows.

Its toolset

Everything the assistant can do here goes through one of these:

  • Example — If searching for "Project Status": 1. First, examine the object's fields to find the actual field name: javascript { "objectName": "Opportunity"
  • search_fields — Find the field(s) that carry a concept when you know what you want to query but not the API name. Searches the discovered field catalog
  • execute_soql — Execute a SOQL query with pagination support. typescript { query: string; // Required: SOQL query to execute pageSize?: number; // Optional: Number
  • describe_object — Get metadata about a Salesforce object with optional field information. typescript { objectName: string; // Required: API name of the Salesforce
  • create_record — Create a new record in Salesforce. typescript { objectName: string; // Required: API name of the Salesforce object data: Record<string, any>; //
  • update_record — Update an existing record in Salesforce. typescript { objectName: string; // Required: API name of the Salesforce object recordId: string; //
  • delete_record — Delete a record from Salesforce. typescript { objectName: string; // Required: API name of the Salesforce object recordId: string; // Required: ID of
  • get_user_info — Get information about the current user. No parameters required. typescript {}
  • list_objects — List all available Salesforce objects with pagination support. typescript { pageSize?: number; // Optional: Number of objects per page (default: 25)
  • search_opportunities — Search for Salesforce opportunities using flexible criteria and pattern matching
  • get_opportunity_details — Get detailed information about a specific opportunity including all available fields and related records. typescript { opportunityId: string; //
  • analyze_conversation — Analyze conversation activity and engagement patterns for an opportunity. Extracts insights from calls, emails, and other activities to provide

Adding it to your client

npx on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Configuration

You will need 5 environment variables: SF_CLIENT_ID, SF_CLIENT_SECRET, SF_USERNAME, SF_PASSWORD, SF_LOGIN_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

When to reach for it

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Salesforce Cloud's toolset — Example, search_fields, execute_soql and 11 more — is a fair guide to whether it matches your workflow. It is maintained by aaronsb; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Salesforce Cloud.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the salesforce cloud mcp server does with a few real requests.

Available tools

ToolWhat it does
ExampleIf searching for "Project Status": 1. First, examine the object's fields to find the actual field name: javascript { "objectName": "Opportunity", "includeFields": true } 2. Look for fields like "Project_Status__c" or sim
search_fieldsFind the field(s) that carry a concept when you know what you want to query but not the API name. Searches the discovered field catalog ([ADR-302](docs/architecture/api/ADR-302-field-search-tool-for-concept-to-field-reso
execute_soqlExecute a SOQL query with pagination support. typescript { query: string; // Required: SOQL query to execute pageSize?: number; // Optional: Number of records per page (default: 25) pageNumber?: number; // Optional: Page
describe_objectGet metadata about a Salesforce object with optional field information. typescript { objectName: string; // Required: API name of the Salesforce object includeFields?: boolean; // Optional: Whether to include field metad
create_recordCreate a new record in Salesforce. typescript { objectName: string; // Required: API name of the Salesforce object data: Record<string, any>; // Required: Record data as key-value pairs } Example: javascript { "objectNam
update_recordUpdate an existing record in Salesforce. typescript { objectName: string; // Required: API name of the Salesforce object recordId: string; // Required: ID of the record to update data: Record<string, any>; // Required: R
delete_recordDelete a record from Salesforce. typescript { objectName: string; // Required: API name of the Salesforce object recordId: string; // Required: ID of the record to delete } Example: javascript { "objectName": "Account",
get_user_infoGet information about the current user. No parameters required. typescript {}
list_objectsList all available Salesforce objects with pagination support. typescript { pageSize?: number; // Optional: Number of objects per page (default: 25) pageNumber?: number; // Optional: Page number to retrieve (default: 1)
search_opportunitiesSearch for Salesforce opportunities using flexible criteria and pattern matching.
get_opportunity_detailsGet detailed information about a specific opportunity including all available fields and related records. typescript { opportunityId: string; // Required: The ID of the Salesforce opportunity }
analyze_conversationAnalyze conversation activity and engagement patterns for an opportunity. Extracts insights from calls, emails, and other activities to provide engagement recommendations. typescript { opportunityId: string; // Required:
enrich_opportunityEnrich an opportunity with market intelligence, industry insights, and strategic recommendations based on similar deal patterns and best practices. typescript { opportunityId: string; // Required: The ID of the Salesforc
find_similar_opportunitiesFind opportunities similar to a reference opportunity or based on specific criteria. Includes pattern analysis and similarity scoring. typescript { referenceOpportunityId?: string; // Optional: Reference opportunity for

How to install the Salesforce Cloud MCP server

{
  "mcpServers": {
    "salesforce-cloud": {
      "command": "node",
      "args": ["/path/to/salesforce-cloud/build/index.js"],
      "env": {
        "SF_CLIENT_ID": "your_client_id",
        "SF_CLIENT_SECRET": "your_client_secret",
        "SF_USERNAME": "your_salesforce_username",
        "SF_PASSWORD": "your_salesforce_password",
        "SF_LOGIN_URL": "https://login.salesforce.com"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
SF_CLIENT_IDConfiguration value read at startup.Optional
SF_CLIENT_SECRETCredential the server authenticates with.Yes
SF_USERNAMEConfiguration value read at startup.Optional
SF_PASSWORDConfiguration value read at startup.Optional
SF_LOGIN_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Salesforce Cloud to Example.
  • Use Salesforce Cloud to search fields.
  • Use Salesforce Cloud to execute soql.

Frequently asked questions

It connects Salesforce Cloud to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (Example, search_fields, execute_soql, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Salesforce Cloud directly.