MCP Connector

Integrate Glean API for Search and Chat

MCP server integrating the Glean API to bring enterprise search and Q&A chat to your AI assistant.

Works with glean

Maintainer of this project? Claim this page to edit the listing.


72
Spark score
out of 100
Updated Jan 2025
Version 1.0.0
Models
universal

Add to Favorites

Why it matters

Connect your applications to the Glean API to unlock powerful search capabilities and enable Q&A chatbot functionality.

Outcomes

What it gets done

01

Provide search results via the Glean API.

02

Enable Q&A chatbot interactions.

03

Deploy using Docker for easy integration.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-glean | bash

Capabilities

Tools your agent gets

Search

List of search results for a given query

Chat

Q&A with chatbot

Overview

Glean MCP Server

Glean MCP Server exposes Glean's Search and Chat API functions as MCP tools, letting an assistant query an organization's Glean enterprise search instance and its chatbot. Use it when your organization already runs Glean and wants its search and chat available inside an AI assistant; it requires an existing Glean deployment and API key.

What it does

Glean MCP Server is an MCP server implementation that integrates the Glean API, exposing its two core functions - Search and Chat - as MCP tools. Search returns a list of results for a given query, while Chat provides Q&A-style interaction with Glean's chatbot. This lets an AI assistant tap into Glean's enterprise search and conversational answering directly from the chat interface.

When to use - and when NOT to

Use this connector when your organization already runs Glean as its enterprise search/knowledge platform and you want an AI assistant to query it - searching internal content or asking the Glean chatbot questions - without switching tools.

Do not use it if you don't have a Glean deployment, since it requires a GLEAN_API_KEY and GLEAN_DOMAIN tied to an existing Glean instance. It is also not a general web search tool - it only surfaces what your Glean instance indexes.

Inputs and outputs

The Search tool takes a query string and returns a list of matching results from Glean's index. The Chat tool takes a question or conversational input and returns Glean chatbot's answer.

Capabilities

  • Search: returns a list of search results for a given query against your Glean instance
  • Chat: Q&A interaction with Glean's chatbot

How to install

Build the Docker image:

docker build -t glean-server:latest -f src/glean/Dockerfile .

Add it to claude_desktop_config.json:

{
  "mcpServers": {
    "glean-server": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "GLEAN_API_KEY", "-e", "GLEAN_DOMAIN", "glean-server"],
      "env": {
        "GLEAN_API_KEY": "YOUR_API_KEY_HERE",
        "GLEAN_DOMAIN": "YOUR_DOMAIN_HERE"
      }
    }
  }
}

Who it's for

Teams already using Glean for enterprise search who want its Search and Chat functions available directly inside an AI assistant.

Source README

Glean

An MCP server implementation that integrates the Glean API, providing the Search and Chat functions.

Tools

  • Search: List of search results given a query
  • Chat: Q&A with Chatbot

Usage with Claude Desktop

Build the docker image:

docker build -t glean-server:latest -f src/glean/Dockerfile .

Then add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "glean-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GLEAN_API_KEY",
        "-e",
        "GLEAN_DOMAIN",
        "glean-server"
      ],
      "env": {
        "GLEAN_API_KEY": "YOUR_API_KEY_HERE",
        "GLEAN_DOMAIN": "YOUR_DOMAIN_HERE"
      }
    }
  }
}

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.