Skip to main content

Configure the Glean MCP server

For organizations where your Glean administrator has enabled the Glean MCP server, you can configure your own connection to the Glean MCP server in most MCP host applications.

MCP Configurator

Use the MCP Configurator to get host-specific setup instructions:

Access the MCP Configurator

The MCP Configurator gives you tailored connection instructions, configuration snippets, and OAuth setup for each supported host application.

To open it, select your profile icon → Your settingsInstall tab → MCP Configurator section.

Install with the MCP Configurator

Follow these steps to connect your AI app to Glean's MCP server. Each host gets its own setup instructions and server URL.

1

Open the connect card

To find the connect card:

  1. Select your profile icon in the lower-left corner of the home page
  2. Select Your settings
  3. Go to the Third party apps and MCP tab
  4. Find the Connect to your AI apps with Glean MCP card
2

Choose a server

Most people can keep the default server, which is marked recommended. If your organization has more than one server, pick the one you need from the server dropdown. The card shows the server's URL with a copy button.

You can copy the server URL and use it to connect from any MCP host, including hosts that aren't in the list below.
3

Pick your host and set up the connection (optional)

Selecting a host from the list is optional. If you've copied the server URL, you can set up any host with it directly. To get setup instructions tailored to your app, select it from the host list (for example, Cursor, VS Code, or Claude Desktop). Select Show more to see the rest of your available hosts.

A setup window opens for your host. Choose the method that fits:

  • Quick Setup: a one-click install for hosts that support it, such as Cursor
  • CLI Command: a command you run in your host's terminal
  • Manual Config: copy the server URL or configuration and paste it into your host's MCP settings

If your admin manages setup for a host, you'll see an Administrator Setup Required panel with the server URL instead.

4

Sign in to Glean

Complete sign-in with your organization's SSO when prompted. Your host then receives the OAuth tokens it needs to reach Glean's MCP server.

5

Verify the connection

Ask your assistant to “Search Glean for …” or “Read this document in Glean …” to confirm the connection works.

Some hosts are stdio-only and can't connect directly over HTTP. In those cases, use a bridge (for example, mcp-remote) to reach Glean's remote HTTP MCP server.

Supported hosts

You can self-configure connections in the following host applications:

info

Glean also supports other MCP-compatible applications that aren't listed here. To connect one, use your Glean MCP server URL, for example https://tenant_id-be.glean.com/mcp/[your-mcp-server-name]. You can find your connection details in the MCP Configurator, or ask your Glean administrator for your server's backend URL.

What you need

To connect to the Glean MCP server, you need:

  1. A Glean account - Access to your organization's Glean instance
  2. A supported MCP host application - Installed on your machine or accessible via web
  3. Your Glean MCP server URL - Available in the MCP Configurator, or from your Glean administrator
  4. OAuth authentication - You authenticate through your organization's identity provider the first time you connect

Before you start

Your Glean administrator must enable the Glean MCP server and OAuth for your instance before you can connect. If you can't connect, ask your administrator to confirm that:

  • The Glean MCP server is enabled
  • OAuth (third-party access) is enabled
  • You know which MCP server name and tools are available to you

Get the most out of the MCP server

For a full walkthrough with examples, see the end-user guide:

Using the Glean MCP Server

A complete guide to connecting MCP hosts to Glean, including setup instructions, examples, and troubleshooting.

Support and troubleshooting

If you have trouble connecting:

  • See Troubleshooting MCP Connectivity for common authentication and network issues
  • Confirm you have an active Glean account with the right permissions
  • Check that you're using the correct MCP server URL
  • Make sure you completed the OAuth sign-in

See also