A
securityF
licenseA
qualityA Model Context Protocol server implementation for interacting with Salesforce through its REST API.
Last updated -
4
10
TypeScript
Allows executing SOQL queries against Salesforce data, retrieving and processing Salesforce records, and interacting with Salesforce orgs using authenticated connections.
该项目为 Salesforce 集成提供了一个模型上下文协议 (MCP) 服务器,允许您执行 SOQL 查询并通过标准化界面与 Salesforce 数据交互。
.env
文件:https://test.salesforce.com/
作为登录 URL。使用 Node.js 运行服务器:
服务器将使用.env
文件中的凭据连接到 Salesforce 并开始监听 MCP 请求。
服务器运行后,您可以通过 MCP 接口执行 SOQL 查询。服务器提供了一个soqlQuery
工具,用于接受 SOQL 查询并返回结果。
SOQL 查询示例:
server.js
- 主 MCP 服务器实现.env
- Salesforce 凭证的环境变量package.json
- 项目依赖项和脚本.env
文件提交到版本控制.env
添加到你的.gitignore
文件如果遇到连接问题:
.env
文件中验证您的 Salesforce 凭据如果您的 SOQL 查询失败:
欢迎贡献代码!欢迎提交 Pull 请求。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
模型上下文协议服务器允许执行 SOQL 查询并通过标准化接口与 Salesforce 数据交互。