Back to Home
gleanwork icon

mcp-server

Verified Safe

by gleanwork

Overview

The Glean MCP Server facilitates integration between AI clients (like LLMs or coding assistants) and Glean's enterprise knowledge base, providing tools for company search, people profile search, chat with Glean AI, and document retrieval.

Installation

Run Command
npx @gleanwork/local-mcp-server

Environment Variables

  • GLEAN_INSTANCE
  • GLEAN_API_TOKEN
  • GLEAN_URL
  • GLEAN_ACT_AS
  • NODE_ENV
  • XDG_STATE_HOME
  • LOCALAPPDATA

Security Notes

The server uses environment variables for sensitive API tokens (GLEAN_API_TOKEN), which is a good practice. Input validation for tool arguments is enforced using Zod schemas, significantly mitigating injection risks. Communication is via stdio, reducing external network attack surface. Docker deployment options suggest good security practices like dropping privileges and read-only filesystems. A direct `fetch` is used in `read_documents.ts` (noted as a workaround for an SDK bug) for Glean API calls, manually constructing headers, but the values for `Authorization` and `X-Glean-ActAs` still originate from controlled environment variables, so no immediate user-controlled injection is apparent. The `open` utility is used to display launch warnings, but the URLs are hardcoded to a Glean-controlled domain and package version, minimizing the risk of opening arbitrary malicious links.

Similar Servers

Stats

Interest Score45
Security Score8
Cost ClassMedium
Avg Tokens1500
Stars54
Forks20
Last Update2026-01-15

Tags

MCP ServerGleanAI IntegrationEnterprise SearchKnowledge Management