将 Salesforce Agentforce 连接到 Performance Hub
本页内容
本说明截至 2026 年 6 月 17 日(AEST)有效。供应商的 MCP 支持经常变化,如有不同之处,请对照所附链接中的来源进行核实。
Salesforce 已宣布 Agentforce 支持 MCP。公开文档将其描述为测试版/需账户资格,因此在发布代理之前,请在您自己的 Salesforce 组织中确认其可用性和确切的身份验证字段。
Performance Hub MCP 服务器:
https://app.performancehub.co/mcp
当前状态
根据 Salesforce 公开来源的描述,Agentforce 的 MCP 支持包括:
- 集中式 MCP 服务器注册表。
- 工具允许列表。
- 安全和治理控制。
- 身份验证、精细访问控制、策略执行和速率限制。
- 将 MCP 工具作为操作保存在 Agentforce Asset Library 中。
- 在 Agentforce Builder 中将选定的 MCP 操作添加到主题。
可查阅的公开来源并未说明适用于任意服务器的确切外部 MCP 身份验证字段,例如静态 Authorization: Bearer ...、静态 x-mcp-api-key、OAuth 动态客户端注册或手动 OAuth 客户端配置。除非已在您的 Salesforce 组织、测试版文档中或由 Salesforce 确认,否则请勿假定 Agentforce 支持其中任何一种身份验证方式。
设置概要
如果您的 Salesforce 组织拥有 Agentforce MCP 测试版访问权限:
- 在 Salesforce Setup 中注册新的 MCP 服务器。
- 使用以下服务器 URL:
https://app.performancehub.co/mcp
- 使用您的 Salesforce 组织中可用的身份验证方法配置身份验证。
- 仅将代理所需的 Performance Hub 工具加入允许列表。
- 将选定的工具作为操作保存在 Agentforce Asset Library 中。
- 在 Agentforce Builder 中打开代理/主题。
- 从 Asset Library 添加操作。
- 为每个操作编写清晰的说明。
- 发布前在 Plan Canvas 中进行测试。
如果您的组织不支持 MCP 身份验证
请改用 Salesforce 支持的集成方式:
- 调用 Performance Hub 便捷端点的 MuleSoft/API 操作。
- 调用受控后端服务的 Apex 操作。
- 连接到安全集成层的 Flow 操作。
MCP 便捷端点如下:
GET https://app.performancehub.co/mcp/tools
POST https://app.performancehub.co/mcp/tools/:name
这些端点仍需要有效的 Performance Hub MCP 凭据。
安全提示建议
Use Performance Hub actions only when the user asks about Performance Hub. Do not run device, door, access, order, display, or multi-facility actions without explicit confirmation. Prefer read-only actions before state-changing actions.
来源
- Agentforce MCP 支持:https://www.salesforce.com/agentforce/mcp-support/
- Agentforce MCP 博客:https://www.salesforce.com/blog/agentforce-mcp/
- Agentforce 的工作原理:https://www.salesforce.com/agentforce/how-it-works/
- Performance Hub MCP:https://app.performancehub.co/mcp