将 OpenClaw 连接到 Performance Hub
本页内容
本说明截至 2026 年 6 月 17 日(AEST)有效。供应商的 MCP 支持经常变化,如有不同之处,请对照所附链接中的来源进行核实。
OpenClaw 支持出站 MCP 服务器,包括 Streamable HTTP 服务器。
Performance Hub MCP 服务器:
https://app.performancehub.co/mcp
OAuth 设置
如果您的 OpenClaw 版本和 Performance Hub 部署能够成功完成远程 MCP OAuth 流程,请使用 OAuth:
openclaw mcp add performancehub \
--url https://app.performancehub.co/mcp \
--transport streamable-http \
--auth oauth
openclaw mcp login performancehub
openclaw mcp doctor performancehub --probe
静态密钥设置
如果您使用 MCP API 密钥,请将其作为标头传递:
export PH_MCP_API_KEY='phk_your_key_here'
openclaw mcp add performancehub \
--url https://app.performancehub.co/mcp \
--transport streamable-http \
--header "Authorization: Bearer $PH_MCP_API_KEY" \
--timeout 20 \
--connect-timeout 5
openclaw mcp doctor performancehub --probe
备用标头:
openclaw mcp add performancehub \
--url https://app.performancehub.co/mcp \
--transport streamable-http \
--header "x-mcp-api-key: $PH_MCP_API_KEY"
安全
请勿将明文持有者令牌或 MCP 密钥提交到 OpenClaw 配置文件中。请使用环境变量,或使用 OpenClaw 的密钥存储(如有)。
来源
- OpenClaw MCP 文档:https://docs.openclaw.ai/cli/mcp
- Performance Hub MCP:https://app.performancehub.co/mcp