将 Glean 连接到 Performance Hub

本页内容

本说明截至 2026 年 6 月 17 日(AEST)有效。供应商的 MCP 支持经常变化,如有不同之处,请对照所附链接中的来源进行核实。

Glean 是企业搜索和人工智能代理平台,其文档说明支持连接远程 MCP 服务器。

Performance Hub MCP 服务器:

https://app.performancehub.co/mcp

Glean 设置

在 Glean Admin 中,将 Performance Hub 配置为远程 MCP 服务器/操作包:

字段值
MCP 服务器 URLhttps://app.performancehub.co/mcp
传输Streaming HTTP / Streamable HTTP
身份验证API 密钥或 OAuth,具体取决于您的 Glean 配置

根据 Glean 文档,API 密钥模式会将配置的密钥作为持有者令牌放在 Authorization 标头中发送,这适用于 Performance Hub:

Authorization: Bearer YOUR_PERFORMANCE_HUB_MCP_KEY

除非 Glean 在您的租户中提供了对任意 API 密钥标头名称的文档化支持,否则请勿在 Glean 中使用 x-mcp-api-key。

OAuth 选项

Glean 文档介绍了远程 MCP 服务器的 OAuth 模式,包括管理员/用户 OAuth 和客户端凭据,具体取决于服务器的支持情况。

Performance Hub MCP OAuth 元数据位于:

https://app.performancehub.co/mcp/.well-known/oauth-protected-resource
https://app.performancehub.co/mcp/.well-known/oauth-authorization-server

请先在 Glean 中测试该流程,然后再使用 OAuth。

工具选择

只发布 Glean 代理所需的工具。工具集过大会占用上下文,并可能降低工具选择的准确性。

推荐的初始工具集:

  • user_get_profile
  • facility_get_config
  • 用例所需的特定模块工具

代理说明建议

Use Performance Hub tools only when the user asks for Performance Hub data or actions. Confirm before state-changing actions. Use read-only tools first and include the facility context in the answer.

来源