Skip to main content
Glama

MCP Salesforce 连接器

用于 Salesforce 集成的模型上下文协议 (MCP) 服务器实现,允许 LLM 通过 SOQL 查询和 SOSL 搜索与 Salesforce 数据交互。

特征

  • 执行 SOQL(Salesforce 对象查询语言)查询

  • 执行 SOSL(Salesforce 对象搜索语言)搜索

  • 检索 Salesforce 对象的元数据,包括字段名称、标签和类型

  • 检索、创建、更新和删除记录

  • 执行工具 API 请求

  • 执行 Apex REST 请求

  • 直接对 Salesforce 进行 REST API 调用

Related MCP server: MCP Database Server

配置

模型上下文协议

要将此服务器与模型上下文协议 (MCP) 一起使用,您需要在claude_desktop_config.json文件中进行配置。在mcpServers部分添加以下条目:

{
    "mcpServers": {
        "salesforce": {
        "command": "uvx",
        "args": [
            "--from",
            "mcp-salesforce-connector",
            "salesforce"
        ],
        "env": {
            "SALESFORCE_USERNAME": "YOUR_SALESFORCE_USERNAME",
            "SALESFORCE_PASSWORD": "YOUR_SALESFORCE_PASSWORD",
            "SALESFORCE_SECURITY_TOKEN": "YOUR_SALESFORCE_SECURITY_TOKEN"
            }
        }
    }
}

用您的 Salesforce 凭证替换YOUR_SALESFORCE_USERNAMEYOUR_SALESFORCE_PASSWORDYOUR_SALESFORCE_SECURITY_TOKEN

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/leilaabdel/MCP-Salesforce'

If you have feedback or need assistance with the MCP directory API, please join our Discord server