Salesforce MCP Server
Provides tools for retrieving Accounts, searching Contacts, listing Opportunities, creating Leads, and updating Cases in Salesforce.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Salesforce MCP ServerSearch for contacts with the last name Smith"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Salesforce MCP Server
An MCP server that exposes Salesforce operations as tools over stdio, so any MCP client can query and modify Salesforce data.
Tools
Tool | Purpose |
| Retrieve an Account by id |
| Search Contacts by name / email / account |
| List Opportunities, filter by account and/or stage |
| Create a new Lead |
| Update fields on an existing Case |
Related MCP server: Salesforce MCP Server
Setup
Install and build:
npm install npm run buildCreate a Salesforce Connected App and enable the OAuth 2.0 Client Credentials flow (see
.env.examplefor the exact steps).Copy
.env.exampleto.envand fill in your credentials.Run:
npm start # runs dist/index.js # or during development: npm run dev
Using with an MCP client (e.g. Claude Desktop)
Add to your client's MCP config:
{
"mcpServers": {
"salesforce": {
"command": "node",
"args": ["/absolute/path/to/salesforce-mcp/dist/index.js"],
"env": {
"SF_LOGIN_URL": "https://login.salesforce.com",
"SF_CLIENT_ID": "your_consumer_key",
"SF_CLIENT_SECRET": "your_consumer_secret"
}
}
}
}Notes
The client caches the OAuth token and auto-refreshes on 401.
SOQL string inputs are escaped, but treat this as a starting point — add field-level and object-level permission checks appropriate to your org.
To target a sandbox, set
SF_LOGIN_URL=https://test.salesforce.com.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI agents to interact with Salesforce organizations through natural language by exposing Salesforce APIs (REST, Bulk v2, GraphQL, Tooling, Auth) as MCP tools for querying data, managing records, and executing SOQL queries.Last updated2718MIT
- Flicense-qualityCmaintenanceEnables lead management and permission set operations on Salesforce through the MCP protocol.Last updated
- Flicense-qualityBmaintenanceEnables interaction with Salesforce data and services via custom MCP tools, including account analytics, opportunity queries, case creation, and AI agent invocation.Last updated4
- AlicenseAqualityBmaintenanceEnables SOQL queries, SOSL search, and record CRUD operations on a single Salesforce org via MCP, with optional read-only mode.Last updated9147MIT
Related MCP Connectors
Run SOQL queries to explore and retrieve Salesforce data. Access accounts, contacts, opportunities…
Salesforce MCP Pack
Run SOQL queries against your Salesforce org to retrieve records and insights. Explore objects, fi…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fagun04/MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server