@gleanwork/mcp 服务器
Glean MCP 服务器是一个模型上下文协议 (MCP)服务器,可与 Glean 的企业知识无缝集成。
特征
- 公司搜索:访问 Glean 强大的内容搜索功能
- 人物资料搜索:访问 Glean 的人物目录
- 聊天:与 Glean 的 AI 助手互动
- 符合 MCP 规范:实现模型上下文协议规范
工具
公司搜索
使用 Glean Search API 搜索 Glean 的内容索引。此工具允许您使用各种过滤和配置选项查询 Glean 的内容索引。聊天
使用 Glean Chat API 与 Glean 的 AI 助手互动。此工具允许您与 Glean 的 AI 进行对话式互动,包括支持消息历史记录、引用和各种配置选项。people_profile_search
搜索 Glean 的人员目录来查找员工信息。
配置
API 令牌
您需要 Glean API 凭证,特别是用户范围的 API 令牌。API 令牌需要以下范围: chat
、 search
。您应该联系您的 Glean 管理员来配置这些令牌。
配置环境变量
- 设置您的 Glean API 凭证:注意:为了向后兼容,仍然支持
GLEAN_SUBDOMAIN
,但首选GLEAN_INSTANCE
。 - (可选)对于支持模拟的全局令牌:
客户端配置
您可以使用内置配置工具为您的 MCP 客户端自动设置 Glean:
或者,您可以使用环境文件:
环境文件应包含:
配置后:
- 对于 Cursor:重新启动 Cursor,代理将可以访问 Glean 工具
- 对于 Claude Desktop:重新启动 Claude 并使用锤子图标访问 Glean 工具
- 对于 Windsurf:打开“设置”>“高级设置”,滚动到“Cascade”部分,然后按“刷新”
MCP 客户端配置
要在您的 MCP 客户端(例如 Claude Desktop、Windsurf、Cursor 等)中配置此 MCP 服务器,请将以下配置添加到您的 MCP 客户端设置中:
用您的实际 Glean 凭证替换环境变量值。
调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
检查器将提供一个 URL 来访问浏览器中的调试工具。
贡献
请参阅CONTRIBUTING.md了解开发设置和指南。
执照
MIT 许可证 - 详情请参阅许可证文件
支持
- 文档: docs.glean.com
- 问题: GitHub 问题
- 电子邮件: support@glean.com
You must be authenticated.
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.
模型上下文协议服务器为 AI 助手提供对 Glean 企业知识功能的访问,包括内容搜索、人员目录和 AI 聊天功能。
Related Resources
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server enabling AI agents to access and manipulate ServiceNow data through natural language interactions, allowing users to search for records, update them, and manage scripts.Last updated -9PythonMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that connects Claude and other AI assistants to your Notion workspace, allowing AIs to interact with databases, pages, and blocks.Last updated -126410JavaScript
- -securityFlicense-qualityA Model Context Protocol server that provides AI assistants with structured access to your Logseq knowledge graph, enabling retrieval, searching, analysis, and creation of content within your personal knowledge base.Last updated -19TypeScript
- -securityFlicense-qualityA Model Context Protocol server that connects AI assistants like Claude to Notion workspaces, enabling them to view, search, create, and update Notion databases, pages, and content blocks.Last updated -275JavaScript