MCP server for Glean API integration – monorepo that provides a local MCP server and helper for configuring it with popular MCP clients.
https://github.com/gleanwork/mcp-serverStop context-switching between your AI assistant and your company's Glean instance. This MCP server bridges that gap, giving your AI tools direct access to your organization's knowledge base through a standardized protocol.
You're already using AI assistants for code reviews, documentation, debugging, and planning. But when your assistant needs context about your company's internal tools, processes, or domain knowledge, you're back to manual copy-pasting from Glean searches.
This MCP server eliminates that friction. Your AI assistant can now query your company's knowledge directly, pulling in relevant context automatically without breaking your flow.
Direct Knowledge Access: Your AI assistant queries Glean's unified search directly. No more switching tabs to grab internal documentation, team procedures, or architectural decisions.
Smart Context Loading: The server caches responses and provides structured context data that your AI can actually use. Not just raw search results, but formatted context that enhances the conversation.
Seamless Integration: Works with any MCP-compatible client (Claude Desktop, VS Code extensions, custom tools). Add it to your existing AI workflow in minutes, not hours.
Code Review Enhancement: Your AI assistant can reference your team's coding standards, architectural decisions, and previous code review discussions stored in Glean while reviewing PRs.
Documentation Assistant: When writing docs, your assistant pulls relevant context from existing documentation, team wikis, and process documents to maintain consistency.
Debugging with Context: Stuck on a complex bug? Your assistant can reference internal runbooks, incident reports, and system documentation from Glean to provide targeted debugging help.
Onboarding Acceleration: New team members get AI assistance that knows your company's specific tools, processes, and institutional knowledge from day one.
The monorepo structure makes integration straightforward:
local-mcp-server package runs locally with your Glean API credentialsconfigure-mcp-server package handles setup with popular MCP clientsnpm install @gleanwork/local-mcp-server
npm install @gleanwork/configure-mcp-server
Set your GLEAN_API_KEY, configure your preferred MCP client, and you're ready. The server exposes clean REST endpoints for health checks, context retrieval, search, and embeddings.
This isn't another tool to learn - it's infrastructure that makes your existing tools smarter. Whether you're using Claude Desktop for general assistance, VS Code extensions for coding, or custom AI tooling, the MCP protocol standard means this server plugs right in.
The TypeScript codebase is production-ready with proper error handling, response caching, and configurable logging. Deploy it locally for development or containerize it for team-wide access.
Your AI assistant becomes exponentially more useful when it understands your company's context. This MCP server makes that connection seamless.