Salesforce MCP Server

Enables natural language interaction with Salesforce data and metadata via Claude.

Local serverstdio

What is the Salesforce MCP Server?

Enables natural language interaction with Salesforce data and metadata via Claude.

The short version

An MCP (Model Context Protocol) server implementation that integrates Claude with Salesforce, enabling natural language interactions with your Salesforce data and metadata. This server allows Claude to query, modify, and manage your Salesforce objects and records using everyday language.

  • Object and Field Management — Create and modify custom objects and fields using natural language
  • Smart Object Search — Find Salesforce objects using partial name matches
  • Detailed Schema Information — Get comprehensive field and relationship details for any object
  • Flexible Data Queries — Query records with relationship support and complex filters
  • Data Manipulation — Insert, update, delete, and upsert records with ease
  • Cross-Object Search — Search across multiple objects using SOSL

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Salesforce MCP Server

claude mcp add salesforce-2 --env SALESFORCE_USERNAME=your-value --env SALESFORCE_PASSWORD=your-value --env SALESFORCE_TOKEN=your-value --env SALESFORCE_INSTANCE_URL=your-value --env SALESFORCE_CONSUMER_KEY=your-value --env SALESFORCE_CONSUMER_SECRET=your-value -- npx -y @surajadsul02/mcp-server-salesforce

Configuration

VariableDescriptionRequired
SALESFORCE_USERNAMEConfiguration value read at startup.Optional
SALESFORCE_PASSWORDConfiguration value read at startup.Optional
SALESFORCE_TOKENCredential the server authenticates with.Yes
SALESFORCE_INSTANCE_URLEndpoint or connection string the server talks to.Yes
SALESFORCE_CONSUMER_KEYCredential the server authenticates with.Yes
SALESFORCE_CONSUMER_SECRETCredential the server authenticates with.Yes

Frequently asked questions

You can use it to manage Salesforce objects and fields, perform smart object searches, retrieve detailed schema information, execute flexible data queries, and manipulate data by inserting, updating, deleting, and upserting records.