Skip to content

Commit 11d0f66

Browse files
docs: update to use GLEAN_SERVER_URL instead of GLEAN_INSTANCE (#4)
* docs: update to use GLEAN_SERVER_URL instead of GLEAN_INSTANCE * fix: remove hardcoded https:// from URL templates to avoid double-scheme Server URLs from app.glean.com/admin/about-glean include the scheme, so templates should not add another https:// prefix.
1 parent 2acbcbe commit 11d0f66

File tree

6 files changed

+23
-30
lines changed

6 files changed

+23
-30
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ Then configure your Glean MCP connection — add your server to `~/.cursor/mcp.j
1616
{
1717
"mcpServers": {
1818
"glean": {
19-
"url": "https://YOUR-INSTANCE-be.glean.com/mcp/YOUR-SERVER-NAME"
19+
"url": "YOUR-SERVER-URL/mcp/YOUR-SERVER-NAME"
2020
}
2121
}
2222
}
2323
```
2424

25-
Replace `YOUR-INSTANCE` with your Glean instance name and `YOUR-SERVER-NAME` with the server name provided by your Glean administrator. Restart Cursor after editing — OAuth authentication is handled automatically on first use.
25+
Replace `YOUR-SERVER-URL` with your Glean server URL (find it at <https://app.glean.com/admin/about-glean>) and `YOUR-SERVER-NAME` with the server name provided by your Glean administrator. Restart Cursor after editing — OAuth authentication is handled automatically on first use.
2626

2727
## Plugin
2828

@@ -34,9 +34,9 @@ Replace `YOUR-INSTANCE` with your Glean instance name and `YOUR-SERVER-NAME` wit
3434

3535
- [Cursor](https://cursor.com) (latest version)
3636
- A Glean account with MCP access
37-
- Your Glean MCP server URL (format: `https://[instance]-be.glean.com/mcp/[server-name]`)
37+
- Your Glean MCP server URL (find it at <https://app.glean.com/admin/about-glean>)
3838

39-
> **Note:** Glean MCP server URLs are instance-specific and cannot be bundled with the plugin. Your Glean administrator can provide your server name.
39+
> **Note:** Glean MCP server URLs cannot be bundled with the plugin. Your Glean administrator can provide your server name.
4040
4141
## Support
4242

glean/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ Add your server to `~/.cursor/mcp.json`:
1919
{
2020
"mcpServers": {
2121
"glean": {
22-
"url": "https://YOUR-INSTANCE-be.glean.com/mcp/YOUR-SERVER-NAME"
22+
"url": "YOUR-SERVER-URL/mcp/YOUR-SERVER-NAME"
2323
}
2424
}
2525
}
2626
```
2727

28-
Replace `YOUR-INSTANCE` with your Glean instance name and `YOUR-SERVER-NAME` with the server
29-
name provided by your Glean administrator. Restart Cursor after editing — OAuth authentication
30-
is handled automatically on first use.
28+
Replace `YOUR-SERVER-URL` with your Glean server URL (find it at <https://app.glean.com/admin/about-glean>)
29+
and `YOUR-SERVER-NAME` with the server name provided by your Glean administrator. Restart Cursor
30+
after editing — OAuth authentication is handled automatically on first use.
3131

3232
## What's Included
3333

@@ -81,10 +81,9 @@ is handled automatically on first use.
8181

8282
- [Cursor](https://cursor.com) (latest version)
8383
- A Glean account with MCP access
84-
- Your Glean MCP server URL (format: `https://[instance]-be.glean.com/mcp/[server-name]`)
84+
- Your Glean MCP server URL (find it at <https://app.glean.com/admin/about-glean>)
8585

86-
> **Note:** Glean MCP server URLs are instance-specific. Your Glean administrator can provide
87-
> your server name.
86+
> **Note:** Your Glean administrator can provide your server name.
8887
8988
## Support
9089

glean/commands/mcp-setup.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ Help the user configure a Glean MCP server for Cursor. This command can be run m
99

1010
## Setup Flow
1111

12-
### Step 1: Get Instance Name
12+
### Step 1: Get Server URL
1313

14-
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`.
15-
16-
You can find your Glean URL here: <https://app.glean.com/admin/about-glean>
14+
Ask the user for their Glean server URL. They can find it at <https://app.glean.com/admin/about-glean>.
1715

1816
### Step 2: Get Server Name
1917

@@ -27,13 +25,13 @@ Once you have both values, instruct the user to add the following to their `~/.c
2725
{
2826
"mcpServers": {
2927
"glean": {
30-
"url": "https://[instance]-be.glean.com/mcp/[server-name]"
28+
"url": "[server-url]/mcp/[server-name]"
3129
}
3230
}
3331
}
3432
```
3533

36-
Replace `[instance]` with their instance name and `[server-name]` with the server name.
34+
Replace `[server-url]` with their server URL (e.g. `https://acme-be.glean.com` or `https://be-4f5226e2.glean.com`) and `[server-name]` with the server name.
3735

3836
### Step 4: Confirm Success
3937

@@ -46,7 +44,6 @@ After configuration:
4644

4745
## Important Notes
4846

49-
- The URL format is: `https://[instance]-be.glean.com/mcp/[server-name]`
50-
- The `-be` suffix is required (it's the backend endpoint)
47+
- The URL format is: `[server-url]/mcp/[server-name]`
5148
- Cursor handles OAuth authentication automatically on first tool use
5249
- The MCP configuration file is at `~/.cursor/mcp.json`

glean/commands/mcp-status.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ If the user wants to verify the connection is working, suggest they try a simple
3939
Glean MCP Status:
4040
4141
Configured Servers:
42-
- glean: https://acme-be.glean.com/mcp/default
42+
- glean: https://acme-be.glean.com/mcp/default (your URL may differ)
4343
4444
Status: Ready (authentication will be prompted on first use)
4545
```

glean/skills/mcp-setup/SKILL.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: mcp-setup
33
description: Configure a Glean MCP server connection in Cursor step by step.
4-
Use when the user wants to set up Glean in Cursor, add a new MCP server, or connect to a different Glean instance.
4+
Use when the user wants to set up Glean in Cursor or add a new MCP server.
55
---
66

77
# Glean MCP Server Setup
@@ -10,11 +10,9 @@ Help the user configure a Glean MCP server for Cursor. This workflow can be repe
1010

1111
## Setup Flow
1212

13-
### Step 1: Get Instance Name
13+
### Step 1: Get Server URL
1414

15-
Ask the user for their Glean instance name. If their Glean URL is `https://acme-be.glean.com`, their instance name is `acme`.
16-
17-
You can find your Glean URL here: <https://app.glean.com/admin/about-glean>
15+
Ask the user for their Glean server URL. They can find it at <https://app.glean.com/admin/about-glean>.
1816

1917
### Step 2: Get Server Name
2018

@@ -28,13 +26,13 @@ Once you have both values, instruct the user to add the following to their `~/.c
2826
{
2927
"mcpServers": {
3028
"glean": {
31-
"url": "https://[instance]-be.glean.com/mcp/[server-name]"
29+
"url": "[server-url]/mcp/[server-name]"
3230
}
3331
}
3432
}
3533
```
3634

37-
Replace `[instance]` with their instance name and `[server-name]` with the server name.
35+
Replace `[server-url]` with their server URL (e.g. `https://acme-be.glean.com` or `https://be-4f5226e2.glean.com`) and `[server-name]` with the server name.
3836

3937
### Step 4: Confirm Success
4038

@@ -47,7 +45,6 @@ After configuration:
4745

4846
## Important Notes
4947

50-
- The URL format is: `https://[instance]-be.glean.com/mcp/[server-name]`
51-
- The `-be` suffix is required (it's the backend endpoint)
48+
- The URL format is: `[server-url]/mcp/[server-name]`
5249
- Cursor handles OAuth authentication automatically on first tool use
5350
- The MCP configuration file is at `~/.cursor/mcp.json`

glean/skills/mcp-status/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If the user wants to verify the connection is working, suggest they try a simple
4040
Glean MCP Status:
4141
4242
Configured Servers:
43-
- glean: https://acme-be.glean.com/mcp/default
43+
- glean: https://acme-be.glean.com/mcp/default (your URL may differ)
4444
4545
Status: Ready (authentication will be prompted on first use)
4646
```

0 commit comments

Comments
 (0)