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
Run SOQL queries to explore and retrieve Salesforce data. Access accounts, contacts, opportunities…
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
One OAuth connector for your team's remote MCP servers, with Tool Packs, guardrails and logs.
Read native sales pipelines, customer-learning records and recorded sales evidence in your connected workspace. Native pipeline and learning reads use Contacts read (crm:read). Recorded costs and outcomes also require Operations read and Accounting read; communication-source readouts require Communications read. The separate Sales read (sales:read) permission covers eligible legacy chauffeur inquiry and offer adapters and is not required for the native pipeline. Setup: In a remote MCP client supporting Streamable HTTP and OAuth, add https://platform.samuelz.com/api/v1/mcp/operator?toolset=sales. Sign in and select your authorized workspace. For read-only review, select only the read permissions needed for the tools above. Current membership and module permissions are checked on every call. Write tools require separate authorization and retain their native approval rules. Reading never sends messages, books services or collects payments.
CRM1
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.19MIT
- 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.9422 npm1MIT