Salesforce MCP Server
Provides tools for retrieving Accounts, searching Contacts, listing Opportunities, creating Leads, and updating Cases in Salesforce.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Salesforce-grounded retrieval, diagnoses, and a vetted-Force marketplace for MCP clients.
mtdt.io MCP: Salesforce DevOps platform connector (metadata deployments, backups and more)
Run SOQL queries to explore and retrieve Salesforce data. Access accounts, contacts, opportunities…
Native MCP access to CRM contacts, organizations, deals and tasks with user permissions.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables 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.11 npm19MIT
- FlicenseNot gradedqualityDmaintenanceEnables lead management and permission set operations on Salesforce through the MCP protocol.-
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Salesforce data and services via custom MCP tools, including account analytics, opportunity queries, case creation, and AI agent invocation.4-
- AlicenseAqualityCmaintenanceEnables SOQL queries, SOSL search, and record CRUD operations on a single Salesforce org via MCP, with optional read-only mode.9209 npmMIT