Glean
Glean's MCP server runs in your Glean instance. The Glean card with the Official badge connects to the default server, https://<instance>-be.glean.com/mcp/default, over HTTP. Each call runs as the person who signs in, with that person's permissions.
Willow registers itself at sign-in. Set up Glean MCP server turns the MCP server and the Glean OAuth authorization server on by default for customers who have not already configured them. Customers who already configured MCP or OAuth keep those settings. That default-on configuration also limits dynamic client registration to a Glean-managed list of vetted hosts. The registration settings page lists Allow any application as the default of that control. Open the setting. When approved applications is selected, add Willow's callback before anyone signs in.
Find the instance
- In Glean, open About Glean. Under Server instance (QE), note the backend host. It is usually
<instance>-be.glean.com. - The instance name is the label before
-be. Foracme-be.glean.com, enteracme.
When the host is a custom domain, set the server URL on Willow's Setup tab to https://<that-host>/mcp/default.
Allow Willow to register
- In Willow, go to MCP Servers → + Add MCP server, open the Glean card with the Official badge, and click + Use.
- Enter the Glean instance. Keep Willow OAuth under Sign-in.
- Copy the callback URL from the server's Setup tab:
- SaaS:
https://{org}.withwillow.ai/{org}/api/auth/callback - On-prem:
{CONNECT_URL}/{org}/api/auth/callback
- SaaS:
- In Glean, go to Admin console → Settings → Third-party access (OAuth). The MCP setup overview calls this screen Users & permissions → Third-party access (OAuth).
- Confirm Enable Glean OAuth Server is on.
- In Dynamic Client Registration (DCR), click Manage settings.
- Allow any application: leave it. Willow can register.
- Allow approved applications: keep the Glean-managed list if you use it, select Custom list, add the exact callback URL, and save.
- Do not allow dynamic client registrations: select Allow any application, or Allow approved applications with the callback URL added, and save.
A * in a redirect pattern matches characters inside a single path segment. Paste the callback URL itself. The change applies after propagation, usually within 5–10 minutes.
Sign in
In Willow, sign in with Willow OAuth. Glean authenticates the person through your existing SSO and asks them to approve access.
Google Cloud network access
On Google Cloud, the tenant IP allowlist blocks MCP hosts that connect from another provider's network until Glean support allows public access to /mcp, /.well-known, /oauth/register, and /oauth/token. That access is off by default. On AWS, those paths are exempt from the tenant-wide allowlist by default. /oauth/authorize stays on the allowlist, so people complete sign-in from an allowed network. An application-level IP allowlist for MCP still applies. See MCP Security, Data Flow, and Permissions.
Troubleshooting
Registration returns OAuth Dynamic Client Registration disabled. The OAuth authorization server is off. In Settings → Third-party access (OAuth), turn on Enable Glean OAuth Server, wait a few minutes, and sign in again. Glean documents that enabling the MCP server leaves this toggle unchanged.
Glean reports an invalid redirect URI. The pattern in Dynamic Client Registration differs from the callback on the Setup tab. Paste that URL again and save.
Sign-in works from your network, and tool calls from Willow fail, on Google Cloud. Ask Glean support to allow public access to the MCP and OAuth paths listed above.