Salesforce MCP Server
Salesforce MCP 服务器
使用 jsforce 通过其 REST API 与 Salesforce 交互的模型上下文协议服务器实现。
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Salesforce Server:
npx -y @smithery/cli install salesforce-mcp-server --client claude特征
执行 SOQL 查询
检索对象元数据
创建、更新和删除记录
安全身份验证处理
实时数据访问
Related MCP server: MCP Salesforce Connector
设置
克隆存储库
将
.env.example复制到.env并填写您的 Salesforce 凭据安装依赖项:
npm install构建:
npm run build开始:
npm start
用法
该服务器公开了几个功能:
询问
针对您的 Salesforce 实例执行 SOQL 查询:
{
"name": "query",
"parameters": {
"query": "SELECT Id, Name FROM Account LIMIT 5"
}
}描述对象
获取有关 Salesforce 对象的元数据:
{
"name": "describe-object",
"parameters": {
"objectName": "Account"
}
}创造
创建新记录:
{
"name": "create",
"parameters": {
"objectName": "Contact",
"data": {
"FirstName": "John",
"LastName": "Doe",
"Email": "john.doe@example.com"
}
}
}更新
更新现有记录:
{
"name": "update",
"parameters": {
"objectName": "Contact",
"data": {
"Id": "003XXXXXXXXXXXXXXX",
"Email": "new.email@example.com"
}
}
}删除
删除记录:
{
"name": "delete",
"parameters": {
"objectName": "Contact",
"id": "003XXXXXXXXXXXXXXX"
}
}安全
请确保:
确保
.env文件的安全,切勿提交尽可能在 Salesforce 中使用 IP 限制
定期轮换您的安全令牌
考虑为 MCP 服务器实施额外的身份验证
贡献
欢迎贡献!请提交改进的 PR。
Salesforce MCP 服务器
使用 jsforce 通过其 REST API 与 Salesforce 交互的模型上下文协议服务器实现。
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Salesforce Server:
npx -y @smithery/cli install salesforce-mcp-server --client claude特征
执行 SOQL 查询
检索对象元数据
创建、更新和删除记录
安全身份验证处理
实时数据访问
设置
克隆存储库
将
.env.example复制到.env并填写您的 Salesforce 凭据安装依赖项:
npm install构建:
npm run build开始:
npm start
用法
该服务器公开了几个功能:
询问
针对您的 Salesforce 实例执行 SOQL 查询:
{
"name": "query",
"parameters": {
"query": "SELECT Id, Name FROM Account LIMIT 5"
}
}描述对象
获取有关 Salesforce 对象的元数据:
{
"name": "describe-object",
"parameters": {
"objectName": "Account"
}
}创造
创建新记录:
{
"name": "create",
"parameters": {
"objectName": "Contact",
"data": {
"FirstName": "John",
"LastName": "Doe",
"Email": "john.doe@example.com"
}
}
}更新
更新现有记录:
{
"name": "update",
"parameters": {
"objectName": "Contact",
"data": {
"Id": "003XXXXXXXXXXXXXXX",
"Email": "new.email@example.com"
}
}
}删除
删除记录:
{
"name": "delete",
"parameters": {
"objectName": "Contact",
"id": "003XXXXXXXXXXXXXXX"
}
}安全
请确保:
确保
.env文件的安全,切勿提交尽可能在 Salesforce 中使用 IP 限制
定期轮换您的安全令牌
考虑为 MCP 服务器实施额外的身份验证
贡献
欢迎贡献!请提交改进的 PR。
执照
MIT 许可证
MIT License
Copyright (c) 2024 Kablewy,LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.This server cannot be deployed
Maintenance
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
Model Context Protocol server for Studex tools, notifications, and profile integrations
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server implementation for interacting with Salesforce through its REST API.65 npm45MIT
- AlicenseBqualityBmaintenanceA Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.14219 PyPI178MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that allows execution of SOQL queries and interaction with Salesforce data through a standardized interface.-
- AlicenseNot gradedqualityCmaintenanceEnables interaction with Salesforce API using jsforce, allowing users to query and manage Salesforce data through the Model Context Protocol with username/password authentication.10 npm1MIT