From 12f3f2f3c3dceae3ac27d656463a4e5a4526ddc8 Mon Sep 17 00:00:00 2001 From: Chris Freeman Date: Wed, 4 Mar 2026 10:53:53 -0700 Subject: [PATCH] docs: update to use GLEAN_SERVER_URL instead of GLEAN_INSTANCE --- README.md | 2 +- plugins/glean-core/commands/mcp-setup.md | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3f00d61..55cf2e1 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Official Glean plugins for [Claude Code](https://claude.com/claude-code), enabli - [Claude Code](https://claude.com/claude-code) (latest version) - A Glean account with MCP access -- Your Glean MCP server URL (format: `https://[instance]-be.glean.com/mcp/[server-name]`) +- Your Glean MCP server URL (find it at [app.glean.com/admin/about-glean](https://app.glean.com/admin/about-glean)); format: `[server-url]/mcp/[server-name]` ## Support diff --git a/plugins/glean-core/commands/mcp-setup.md b/plugins/glean-core/commands/mcp-setup.md index 4979403..a7f181c 100644 --- a/plugins/glean-core/commands/mcp-setup.md +++ b/plugins/glean-core/commands/mcp-setup.md @@ -11,11 +11,9 @@ Help the user configure a Glean MCP server for Claude Code. This command can be Guide the user through these steps interactively using AskUserQuestion: -### Step 1: Get Instance Name +### Step 1: Get Server URL -Ask the user for their Glean instance name. Explain that if their Glean URL is `https://acme-be.glean.com`, their instance name is `acme`. - -You can find your Glean URL here: +Ask the user for their Glean server URL. Explain that they can find it at . The URL will look something like `https://acme-be.glean.com` or `https://be-4f5226e2.glean.com`. ### Step 2: Get Server Name @@ -33,9 +31,11 @@ Ask what friendly name to use for this server in Claude Code. Suggest: Once you have all three values, construct and run the command: ```bash -claude mcp add [friendly-name] https://[instance]-be.glean.com/mcp/[server-name] --transport http --scope user +claude mcp add [friendly-name] [server-url]/mcp/[server-name] --transport http --scope user ``` +Where `[server-url]` is the URL from Step 1 (e.g., `https://acme-be.glean.com` or `https://be-4f5226e2.glean.com`). + ### Step 5: Confirm Success After running the command: @@ -47,8 +47,8 @@ After running the command: ## Important Notes -- The URL format is: `https://[instance]-be.glean.com/mcp/[server-name]` -- The `-be` suffix is required (it's the backend endpoint) +- The URL format is: `[server-url]/mcp/[server-name]` +- Find your server URL at - Transport must be `http` (Glean MCP is a remote server) - Scope should be `user` for personal configuration - Claude Code handles OAuth authentication automatically on first tool use