Deploy the Glean plugin in Cursor
Prepare your Glean environment for Cursor, then validate the plugin with a pilot user before sharing the setup instructions with your organization.
The current Cursor setup is per user. Administrators configure and govern Glean access, but each user installs the Glean plugin from the Cursor Marketplace.
Prerequisites
Complete the following prerequisites:
- Ensure that you have Cursor version 3.8.11 or later
- Complete the Glean plugin prerequisites
- Confirm that pilot users have a Glean account and access to the tools and Skills they need
Earlier Cursor versions prevent human-in-the-loop approval for write tools from functioning properly. Upgrade to make sure tool approvals and file edits work securely.
Prepare Glean for Cursor
- Enable the Glean OAuth authorization server.
- Configure Dynamic Client Registration. If you allow only approved applications, include Glean CLI.
- Enable the tools and Skills your users need and make them available to the intended users. See Manage Glean plugin access and security.
Validate with a pilot user
Run the complete setup with a pilot user before rolling it out more broadly:
- In Cursor, open Cursor Settings → Marketplace.
- Search for Glean, then click Add to Cursor.
- Confirm that
/glean_runis available in Cursor chat. - Complete the Glean authentication flow when prompted.
- Ask Cursor to search for content the pilot user can access in Glean.
- Confirm that:
- The search succeeds and respects the pilot user's Glean permissions
- The expected tools and Skills are available
- Cursor asks the user for approval before a write tool runs
For current Cursor requirements and installation steps, see Glean Plugin for Cursor on the Developer Portal.
Roll out to users
Share Set up the Glean plugin in Cursor with your users. Each user installs the plugin and authenticates with their own Glean account.
For the standard Glean MCP remote server path, see Deploy an MCP server with MDM. MDM deployment is separate from the plugin path.