mcp-server-salesforce
by tsmztech·★ 156·Score 50
MCP server that enables Claude to interact with Salesforce objects, records, metadata, and Apex code.
Overview
The Salesforce MCP Server provides comprehensive integration between Claude and Salesforce, enabling natural language interactions with your Salesforce data and metadata. It allows users to query, modify, and manage Salesforce objects and records using everyday language, rather than requiring direct SOQL/SOSL knowledge. The server offers both Object and Field Management for creating custom objects and fields, as well as Smart Object Search functionality for finding Salesforce objects using partial name matches. It also supports detailed schema information retrieval, flexible data queries with relationship support, and data manipulation operations.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server if you need to interact with Salesforce data through AI and want a comprehensive set of tools for CRM object and record management.
When NOT to choose this
Avoid this if you're not using Salesforce, or if you need access to non-Salesforce data sources as this server is exclusively focused on Salesforce integration.
Tools this server exposes
12 tools extracted from the READMEsalesforce_search_objectsSearch for standard and custom objects using partial name matches.
salesforce_describe_objectGet detailed object schema information including fields and relationships.
salesforce_query_recordsQuery Salesforce records with relationship support and complex filters.
salesforce_aggregate_queryExecute aggregate queries with GROUP BY and aggregate functions.
salesforce_dml_recordsInsert, update, delete, and upsert records.
salesforce_manage_objectCreate and modify custom objects.
salesforce_manage_fieldManage object fields including adding fields and creating relationships.
salesforce_search_allSearch across multiple objects using SOSL.
salesforce_read_apexRead and list Apex classes.
salesforce_write_apexCreate and update Apex classes.
salesforce_execute_anonymousExecute anonymous Apex code without creating a permanent class.
salesforce_manage_debug_logsManage debug logs for Salesforce users.
Comparable tools
Installation
Installation
Global Installation (npm)
npm install -g @tsmztech/mcp-server-salesforceClaude Desktop Configuration
For Claude Desktop, add to your claude_desktop_config.json:
For Salesforce CLI Authentication:
{
"mcpServers": {
"salesforce": {
"command": "npx",
"args": ["-y", "@tsmztech/mcp-server-salesforce"],
"env": {
"SALESFORCE_CONNECTION_TYPE": "Salesforce_CLI"
}
}
}
}For Username/Password Authentication:
{
"mcpServers": {
"salesforce": {
"command": "npx",
"args": ["-y", "@tsmztech/mcp-server-salesforce"],
"env": {
"SALESFORCE_CONNECTION_TYPE": "User_Password",
"SALESFORCE_USERNAME": "your_username",
"SALESFORCE_PASSWORD": "your_password",
"SALESFORCE_TOKEN": "your_security_token",
"SALESFORCE_INSTANCE_URL": "org_url"
}
}
}
}FAQ
- What authentication methods does this MCP server support?
- The server supports three authentication methods: Username/Password (default), OAuth 2.0 Client Credentials Flow, and Salesforce CLI Authentication (recommended for local development).
- Can I create and modify custom Salesforce objects using this server?
- Yes, the server provides tools for creating and modifying custom objects and fields, including adding picklist fields, configuring relationships, and managing field-level security.
Compare mcp-server-salesforce with
Last updated · Auto-generated from public README + GitHub signals.