JS 

jaworjar95/salesforce-mcp-server 是从 https://github.com/jaworjar95/salesforce-mcp-server. 导入的 MCP 服务器候选
概览
jaworjar95/salesforce-mcp-server 是从 https://github.com/jaworjar95/salesforce-mcp-server. 导入的 MCP 服务器候选
概述(AI 翻译)
一个全面的模型上下文协议(MCP)服务器,为Claude Desktop、Cline及其他兼容MCP的客户端等AI开发工具提供无缝的Salesforce集成。
🚀 特色
17 综合工具
🔍 查询与搜索工具
execute-soql- 执行带有自动批量切换和分页功能的SOQL查询execute-sosl- 多对象搜索,支持结果聚合describe-sobject- 带有智能缓存的 SObject 元数据
⚡ Apex 开发工具
execute-apex- 带调试日志捕获的匿名Apex执行run-apex-tests- 带覆盖报告的顶点测试执行get-apex-logs- 带过滤的日志调试
📊 数据管理工具
create-record- 单记录/批量记录创建,支持自动批量切换get-record- 带现场选择的记录检索update-record- 单记录/批量记录更新,带验证delete-record- 单笔/批量记录删除upsert-record- 基于 ID 的外部 upsert 操作
🔧 元数据工具(基于组件)
list-metadata-types- 发现元数据类型
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Salesforce MCP Server
A comprehensive Model Context Protocol (MCP) server that provides seamless Salesforce integration for AI development tools like Claude Desktop, Cline, and other MCP-compatible clients.
🚀 Features
17 Comprehensive Tools
🔍 Query & Search Tools
execute-soql- Execute SOQL queries with auto-bulk switching and paginationexecute-sosl- Multi-object search with result aggregationdescribe-sobject- SObject metadata with intelligent caching
⚡ Apex Development Tools
execute-apex- Anonymous Apex execution with debug log capturerun-apex-tests- Apex test execution with coverage reportingget-apex-logs- Debug log retrieval with filtering
📊 Data Management Tools
create-record- Single/bulk record creation with auto-bulk switchingget-record- Record retrieval with field selectionupdate-record- Single/bulk record updates with validationdelete-record- Single/bulk record deletionupsert-record- External ID-based upsert operations
🔧 Metadata Tools (Component-Based)
list-metadata-types- Discover metadata typesdeploy-metadata- Deploy individual metadata components (e.g., ApexClass, CustomObject) from files or JSONdeploy-bundle- Deploy a metadata bundle (e.g., LWC) from a directory pathretrieve-metadata- Retrieve individual metadata components, with an option to save to a filecheck-deploy-status- Check the status of a deployment
🔗 Connection Tools
test-connection- Connection validation and health monitoring
Key Capabilities
- 🔄 Auto-Bulk Switching - Intelligent API selection for optimal performance
- 🔐 Dual Authentication - OAuth2 and Username/Password support
- ⚡ Smart Caching - 1-hour TTL for SObject metadata
- 🛡️ Type Safety - Full TypeScript implementation with runtime validation
- 📝 Comprehensive Logging - Detailed debugging and monitoring
- 🔍 Raw Error Exposure - Preserve exact Salesforce errors for debugging
🚀 Installation
To use with Desktop APP, such as Claude Desktop, Cline, Cursor, and so on, add the MCP server config below.
On macOS / Linux systems:
安装
npx -y @jjar/salesforce-mcp-server