Skip to main content

Deploy MCP server with MDM

You can deploy a Glean MCP remote server to devices using your organization's MDM (Mobile Device Management) server. This lets you push configuration changes to devices so that users don't need to manually set up the Glean MCP remote server.

Here's a high-level overview of the process:

  1. Create an MDM installer
  2. Add the installer to your organization's MDM server
  3. End users connect in the host application

Prerequisites

Complete the following prerequisites before you deploy a Glean MCP remote server using MDM:

  • Enable the Glean MCP remote server in Admin Console → Platform → Glean MCP servers.
  • Have MCP servers configured in Glean. See Set up Glean MCP server for instructions.
  • Use a supported MDM provider. Glean supports most MDM providers. Glean has tested and validated this feature with Iru (previously known as Kandji).
  • Your users use a supported host application to connect to the Glean MCP remote server. Glean supports the following host applications:
    • Cursor
    • Claude Code
    • Codex
    • Gemini CLI
    • Goose
    • Visual Studio Code
    • Windsurf

Steps to deploy a Glean MCP server using MDM

Here's how to deploy a Glean MCP server using MDM:

1

Create an MDM installer

  1. Navigate to Admin Console → Platform → Glean MCP Servers.
  2. Click Create MDM Installer.
  3. Choose which Glean MCP remote server you want to deploy.
  4. Select an operating system for the installer.
  5. Click Download installer. An installer file downloads to your computer.
2

Add the installer to your organization's MDM server

Upload the installer file to your organization's MDM server. Use your MDM provider to deploy your Glean MCP remote server to your organization's devices. Refer to your MDM provider's documentation for instructions on how to upload the installer file. Here are some popular MDM providers and their documentation:

3

End users connect in the host application

After your MDM deployment completes, end users open a supported host application on their device and connect to the Glean MCP remote server using the configuration you pushed to their device.

Here's an example of how users connect to a Glean MCP remote server in Cursor:

Cursor Settings, Tools and MCP, showing the Glean MCP remote server with Needs authentication and the Connect button

Configure automatic updates

By default, updates to Glean MCP servers automatically sync with your organization's MDM server. This means that when you or someone else makes changes to a Glean MCP server in the Admin Console, those changes automatically apply to the devices in your organization.

When you download the installer and reach the Create MDM Installer page, click Advanced settings. The Update automatically (Recommended) toggle determines the automatic update behavior.

When you turn off Update automatically (Recommended), the installer doesn't update the Glean MCP remote server on devices if someone makes changes to your Glean MCP remote server in the Admin Console.

When you turn on Update automatically (Recommended), the installer updates the Glean MCP remote server on devices if someone makes changes to the Glean MCP remote server in the Admin Console.

tip

Glean recommends you turn automatic updates on to ensure your organization's devices always have the latest version of Glean MCP remote servers.