@@ -41,10 +41,13 @@ To configure this MCP server in your MCP client (such as Claude Desktop, Windsur
4141
4242``` bash
4343# Configure for Cursor
44- npx @gleanwork/configure-mcp-server --client cursor --token your_api_token --instance instance_name
44+ npx @gleanwork/configure-mcp-server --client cursor --token your_api_token --server-url https://your-company-be.glean.com
4545
4646# Configure for Claude Desktop
47- npx @gleanwork/configure-mcp-server --client claude --token your_api_token --instance instance_name
47+ npx @gleanwork/configure-mcp-server --client claude --token your_api_token --server-url https://your-company-be.glean.com
48+
49+ # Using deprecated --instance flag (use --server-url instead)
50+ # npx @gleanwork/configure-mcp-server --client cursor --token your_api_token --instance instance_name
4851```
4952
5053For more details see: [ @gleanwork/configure-mcp-server ] ( https://github.com/gleanwork/configure-mcp-server ) .
@@ -60,7 +63,7 @@ To manually configure an MCP client (such as Claude Desktop, Windsurf, Cursor, e
6063 "command" : " npx" ,
6164 "args" : [" -y" , " @gleanwork/local-mcp-server" ],
6265 "env" : {
63- "GLEAN_INSTANCE " : " <glean instance name >" ,
66+ "GLEAN_SERVER_URL " : " <glean server URL >" ,
6467 "GLEAN_API_TOKEN" : " <glean api token>"
6568 }
6669 }
@@ -98,7 +101,7 @@ Configure your MCP client to use the Docker image. Most MCP clients support pass
98101 " ghcr.io/gleanwork/local-mcp-server:latest"
99102 ],
100103 "env" : {
101- "GLEAN_INSTANCE " : " your-instance" ,
104+ "GLEAN_SERVER_URL " : " https:// your-instance-be.glean.com " ,
102105 "GLEAN_API_TOKEN" : " your-token"
103106 }
104107 }
@@ -118,7 +121,7 @@ If your MCP client doesn't pass the `env` block to Docker, use `-e` flags in the
118121 " -i" ,
119122 " --rm" ,
120123 " -e" ,
121- " GLEAN_INSTANCE= your-instance" ,
124+ " GLEAN_SERVER_URL=https:// your-instance-be.glean.com " ,
122125 " -e" ,
123126 " GLEAN_API_TOKEN=your-token" ,
124127 " ghcr.io/gleanwork/local-mcp-server:latest"
@@ -132,7 +135,8 @@ If your MCP client doesn't pass the `env` block to Docker, use `-e` flags in the
132135
133136### Environment Variables
134137
135- - ` GLEAN_INSTANCE ` (required): Your Glean instance name
138+ - ` GLEAN_SERVER_URL ` (recommended): Your Glean server URL (e.g. ` https://your-instance-be.glean.com ` )
139+ - ` GLEAN_INSTANCE ` : Your Glean instance name (deprecated alternative to ` GLEAN_SERVER_URL ` )
136140- ` GLEAN_API_TOKEN ` (required): Your Glean API token
137141
138142### Troubleshooting
@@ -146,7 +150,7 @@ If your MCP client doesn't pass the `env` block to Docker, use `-e` flags in the
146150** Permission or authentication errors:**
147151
148152- Verify your ` GLEAN_API_TOKEN ` is valid
149- - Check your ` GLEAN_INSTANCE ` matches your Glean deployment
153+ - Check your ` GLEAN_SERVER_URL ` or ` GLEAN_INSTANCE ` matches your Glean deployment
150154
151155** MCP client can't connect:**
152156
0 commit comments