Skip to content

Commit befbffc

Browse files
docs: update to use GLEAN_SERVER_URL instead of GLEAN_INSTANCE (#28)
1 parent 1a17898 commit befbffc

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Official Glean plugins for [Claude Code](https://claude.com/claude-code), enabli
5959

6060
- [Claude Code](https://claude.com/claude-code) (latest version)
6161
- A Glean account with MCP access
62-
- Your Glean MCP server URL (format: `https://[instance]-be.glean.com/mcp/[server-name]`)
62+
- 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]`
6363

6464
## Support
6565

plugins/glean-core/commands/mcp-setup.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ Help the user configure a Glean MCP server for Claude Code. This command can be
1111

1212
Guide the user through these steps interactively using AskUserQuestion:
1313

14-
### Step 1: Get Instance Name
14+
### Step 1: Get Server URL
1515

16-
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`.
17-
18-
You can find your Glean URL here: <https://app.glean.com/admin/about-glean>
16+
Ask the user for their Glean server URL. Explain that they can find it at <https://app.glean.com/admin/about-glean>. The URL will look something like `https://acme-be.glean.com` or `https://be-4f5226e2.glean.com`.
1917

2018
### Step 2: Get Server Name
2119

@@ -33,9 +31,11 @@ Ask what friendly name to use for this server in Claude Code. Suggest:
3331
Once you have all three values, construct and run the command:
3432

3533
```bash
36-
claude mcp add [friendly-name] https://[instance]-be.glean.com/mcp/[server-name] --transport http --scope user
34+
claude mcp add [friendly-name] [server-url]/mcp/[server-name] --transport http --scope user
3735
```
3836

37+
Where `[server-url]` is the URL from Step 1 (e.g., `https://acme-be.glean.com` or `https://be-4f5226e2.glean.com`).
38+
3939
### Step 5: Confirm Success
4040

4141
After running the command:
@@ -47,8 +47,8 @@ After running the command:
4747

4848
## Important Notes
4949

50-
- The URL format is: `https://[instance]-be.glean.com/mcp/[server-name]`
51-
- The `-be` suffix is required (it's the backend endpoint)
50+
- The URL format is: `[server-url]/mcp/[server-name]`
51+
- Find your server URL at <https://app.glean.com/admin/about-glean>
5252
- Transport must be `http` (Glean MCP is a remote server)
5353
- Scope should be `user` for personal configuration
5454
- Claude Code handles OAuth authentication automatically on first tool use

0 commit comments

Comments
 (0)