The Glean MCP Server is fully managed and built into your Glean instance. Connect host apps like ChatGPT, Claude Code, Claude Desktop, Cursor, and VS Code directly to your company’s Glean instance.

MCP Server Availability

  • Public Beta: Targeting late August 2025
  • GA: Targeting late September 2025

Common Use Cases

  • Enterprise Context for AI Tools: Let AI tools securely access Glean’s permission-aware enterprise context data.
  • Automate Developer Workflows: Use AI-powered code assistants (e.g., Cursor) for tasks like debugging and PR creation with relevant context.
  • Contextual Q&A in Chat Clients: Use Glean Search and Chat within tools like Claude Desktop and ChatGPT Deep Research.

Core Capabilities

The Glean MCP server provides ten pre-built tools via streamable HTTP. The tools that can be customized to your company’s needs. Default tools:
  • Glean Search (glean_search)
  • Glean Chat (chat)
  • Read Document (read_document)
Additional (configurable) tools:
  • Code Search (code_search)
  • Employee Search (employee_search)
  • Gemini Web Search (gemini_web_search)
  • Gmail Search (gmail_search)
  • Meeting Lookup (meeting_lookup)
  • Outlook Search outlook_search
  • Web Browser (web_browser)

Authentication

The MCP Server supports these methods:
  • OAuth 2.0 native (Recommended)
    MCP hosts connect directly with Glean’s OAuth server.
  • OAuth 2.0 bridge (Fallback)
    MCP hosts connect via a bridge (mcp-remote) with Glean’s OAuth server.

Compatibility with Leading MCP Hosts

Host compatibility with MCP is still evolving. Validated support for Glean Remote MCP Server as of August 2025:
MCP HostRecommended OAuth 2.0 Method
ChatGPTNative
CursorBridge
Claude CodeNative
Claude DesktopNative
GooseBridge
VS CodeNative
WindsurfBridge

Setup Instructions

For Glean Administrators

Prerequisite: SSO is configured.
  1. Enable the OAuth server in the Admin Console > Settings > Third-party access (OAuth).
  2. Enable the MCP server tools in the Admin Console > Platform > MCP.

For MCP Host Administrators

If you’re using a centrally-managed host (e.g., Claude Desktop, ChatGPT), configure the Glean MCP server as a custom connector or equivalent using https://[instance name]-be.glean.com/mcp/default/sse. [instance name] can be found in the Admin Console > Settings > About Glean. Note: For ChatGPT, use https://[instance name]-be.glean.com/mcp/chatgpt. ChatGPT requires a specific tool naming convention.

For End Users

  • Centrally-managed hosts (e.g., Claude Desktop, ChatGPT): No setup required.
  • Locally configured hosts (e.g., Cursor, VS Code):
    • Get the Glean instance name from the Admin Console > Settings > About Glean.
    • Configure your MCP host:
For Cursor:
{
  "mcpServers": {
    "glean": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://[instance name]-be.glean.com/mcp/default/sse"
      ]
    }
  }
}
For Claude Code
claude mcp add -t http https://[instance name]-be.glean.com/mcp/default/sse
For Goose
npx -y mcp-remote http https://[instance name]-be.glean.com/mcp/default/sse
For Windsurf
 "mcpServers": {
    "glean": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://[instance name]-be.glean.com/mcp/default/sse"
      ]
    }
  }
}
For all others, use instructions provided by the MCP host’s documentation.

Prompt Examples

Automating Developer Workflows

How can I modify the resolved event logic in LifeProcessor to distinguish ‘recently updated events’ from pubsub before writing results to the event_latencies table? Reference the following in Glean, and give me a reference/interface only breakdown of your plan. https://acme.atlassian.net/browse/DEVPLAT-77 https://acme.slack.com/archives/C0902GNP https://acme.atlassian.net/browse/EN-610453 https://github.com/acme/scio/pull/149/files

Enterprise Context in AI Tools

Search Glean for product requirement documents (PRDs) I’ve written over the last 3 months. Return the list of documents and dates when they were created in reverse chronological order.

Pricing

  • This beta feature is currently in development. It is not yet generally available, and its use is subject to Preview Terms.
  • There is no extra charge for using this feature during the beta period, but is subject to change as this product exists beta.

Usage Metrics

Glean tracks anonymized adoption metrics including:
  • Active user counts (daily, weekly, monthly)
  • Host application breakdown
  • Tool usage frequency
To view your metrics, contact your Glean account team.

Technical Support


Product Partner Support

While there is no formal partner program yet, Glean is building MCP Host and MCP Server functionality to support integration with third-party MCP servers. Interested partners should contact the Glean partnerships team.

Considerations

Advanced Authentication. With MCP hosts that don’t support OAuth, do not involve a user in the authentication process, or require manual authentication, you can use user-scoped Client API tokens. The tokens require the following scopes: MCP, SEARCH, TOOLS, and ENTITIES. User Session Management. Your Admin can continue to sign a user out of all sessions — including those from MCP hosts — via the Glean Admin UI. Privacy and Data Protection. The Remote MCP Server inherits Glean platform privacy guarantees and is covered under Glean’s Data Processing Addendum (DPA). All queries enforce user permissions via Glean’s Knowledge Graph. Local MCP Server. We expect most customers and partners to use the remote Glean MCP server. However, if you need to run the server locally, you can use our open-source local MCP server with Client API tokens.

Launching Soon

Glean Agents via MCP Server
Expose Glean Agent Builder agents (e.g., PR review agents) as callable tools through Glean MCP Server — for use directly in AI-powered toolks like Cursor and Claude Desktop.
OAuth Server Management Console
Manage OAuth client apps in Glean Admin UI (e.g., view usage, disable applications).