drio
Open app

Glean

Source

Catalog onlyCatalog onlySTDIO

Overview

Glean is an MCP server implementation that integrates the Glean API, providing search and chat functionalities.

To use Glean, build the Docker image and configure it in your claude_desktop_config.json with your API key and domain.

  • Search: Retrieve a list of search results based on a query. - Chat: Engage in Q&A with a chatbot.
  1. Implementing a search function in applications.
  2. Creating interactive chatbots for customer support.
  3. Integrating with other services that require search and chat capabilities.

Add to your AI client

Use these steps to connect Glean in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "glean-mcp-server-longyi1207": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-glean-mcp-server-longyi1207"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "glean-mcp-server-longyi1207": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-glean-mcp-server-longyi1207"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "glean-mcp-server-longyi1207": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-glean-mcp-server-longyi1207"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "glean-mcp-server-longyi1207": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-glean-mcp-server-longyi1207"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "glean-mcp-server-longyi1207": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-glean-mcp-server-longyi1207"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "glean-mcp-server-longyi1207": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-glean-mcp-server-longyi1207"
      ]
    }
  }
}

FAQ

What is the licensing for Glean?

Glean is licensed under the MIT License, allowing free use, modification, and distribution.

How do I set up Glean?

You need to build the Docker image and configure it with your API key and domain in the provided JSON configuration.

Can Glean be used in production?

Yes, Glean can be used in production environments as long as it is properly configured.