mcp-server
Verified Safeby gleanwork
Overview
This server acts as a local backend for Model Context Protocol (MCP) clients, enabling AI assistants and other tools to interact with Glean's enterprise search, chat, and document retrieval capabilities.
Installation
npx @gleanwork/local-mcp-serverEnvironment Variables
- GLEAN_INSTANCE
- GLEAN_API_TOKEN
- GLEAN_URL
- GLEAN_SUBDOMAIN
- GLEAN_ACT_AS
- XDG_STATE_HOME
- LOCALAPPDATA
Security Notes
The server uses `stdio` for communication, limiting direct network exposure for the server itself. However, it makes outbound network requests to the Glean API using credentials (GLEAN_API_TOKEN) sourced from environment variables or CLI arguments, which is good practice. A potential, though mitigated, risk exists in the `instance` parameter used to construct API URLs: if a malicious `instance` value (e.g., containing special characters or other domains) were provided by a compromised local AI client, it could potentially lead to Server-Side Request Forgery (SSRF) against internal network resources. Currently, the server primarily runs locally and expects a simple string for the instance name. The project uses pnpm-lock.yaml for dependency integrity and sets limited permissions for log files (0o600).
Similar Servers
claude-prompts-mcp
Manages hot-reloadable prompt templates, structured reasoning, and multi-step chain workflows to enhance AI assistant interactions through a Model Context Protocol (MCP) compatible server.
files-mcp-server
This server provides a Model Context Protocol (MCP) interface for local testing with Microsoft OneDrive and SharePoint resources, enabling clients to interact with files, folders, sites, and libraries.
compound-mcp-server
Provides a Model Context Protocol (MCP) server for interacting with Groq models, including compound/meta models, exposing real-time information and code execution capabilities.
mcp-client-server
Facilitates development, testing, and debugging of Model Context Protocol (MCP) servers by providing tools to deploy, manage, interact with, and test them as local child processes.