What is Salesforce MCP Server?
Salesforce MCP Server is a Model Context Protocol (MCP) server that provides comprehensive Salesforce integration for AI development tools such as Claude Desktop, Cline, and other MCP-compatible clients. It offers 17 tools covering query, Apex development, data management, metadata operations, and connection health monitoring.
How to use Salesforce MCP Server?
Install via npx by adding the server configuration to your MCP client’s JSON settings file (e.g., Claude Desktop, Cline, or Cursor). Provide authentication using either Username/Password (with optional security token) or OAuth 2.0 credentials as environment variables. Once configured, you can invoke any of the 17 available tools, such as execute-soql, execute-apex, or deploy-metadata.
Key features of Salesforce MCP Server
- 17 comprehensive tools for Salesforce operations
- Auto-bulk switching for optimal performance
- Dual authentication: OAuth2 and Username/Password
- Intelligent caching with 1‑hour TTL for SObject metadata
- Full TypeScript implementation with runtime validation
- Raw Salesforce errors preserved for debugging
Use cases of Salesforce MCP Server
- Query Salesforce data using SOQL and SOSL from an AI assistant
- Run anonymous Apex code and retrieve debug logs
- Create, update, delete, and upsert records with auto‑bulk support
- Deploy and retrieve metadata components like Apex classes or CustomObjects
- Validate and monitor Salesforce connection health
コメント