diff --git a/README.md b/README.md index 1741b40..bc1d9b1 100644 --- a/README.md +++ b/README.md @@ -49,10 +49,10 @@ frontmatter and optional `references/` loaded on demand — which Claude Code, Codex, Cursor, Gemini CLI, and Copilot all support. Shared skills ship to each target that includes them; target overrides handle host-specific differences. -The Claude and Codex `glean` plugins bundle the local Glean MCP adapter under -`shared/glean/mcp/`. Cursor excludes that capability and uses a separately -connected Glean MCP server. MCP configuration lives in `mcp/config.json`, while -`mcp/pluginpack.json` lists the implementation files that ship. +The Claude, Cursor, and Codex `glean` plugins bundle the local Glean MCP +adapter under `shared/glean/mcp/`. MCP configuration lives in +`mcp/config.json`, while `mcp/pluginpack.json` lists the implementation files +that ship. ## Develop diff --git a/overrides/cursor/glean/README.md b/overrides/cursor/glean/README.md index 59a47d9..c2f76bc 100644 --- a/overrides/cursor/glean/README.md +++ b/overrides/cursor/glean/README.md @@ -9,21 +9,11 @@ and people discovery directly in your development workflow. Install from the [Cursor marketplace](https://cursor.com/marketplace/glean). -### 2. Configure your Glean MCP server +### 2. Set up Glean -Visit the [Glean MCP configurator](https://app.glean.com/settings/install?mcpConfigure=true&mcpHost=cursor) to get your server URL, then add it to `~/.cursor/mcp.json`: - -```json -{ - "mcpServers": { - "glean": { - "url": "YOUR-GLEAN-MCP-URL" - } - } -} -``` - -Restart Cursor after editing — OAuth authentication is handled automatically on first use. +Start Cursor and prompt the harness to set up Glean, for example: `Set up +Glean for me`. Complete the browser OAuth flow when prompted, then return to +Cursor. ## What's Included @@ -38,14 +28,14 @@ auto-trigger by task — there's no per-skill install. They cover: - **Personal productivity** — summarize your own activity, prep status updates, and surface what needs your attention. - **Skill authoring** — discover automation opportunities and generate new skills. -Glean tools are used through whatever Glean MCP server is connected in Cursor; -if none is configured, see your host's Glean MCP setup (above). +The plugin provides a local Glean MCP server. If no Glean tools are visible, +ask the user to set up Glean by prompting the harness (for example, `Set up +Glean for me`). ## Requirements - [Cursor](https://cursor.com) (latest version) - A Glean account with MCP access -- Your Glean MCP server URL (get it from the [Glean MCP configurator](https://app.glean.com/settings/install?mcpConfigure=true&mcpHost=cursor)) ## Support diff --git a/overrides/cursor/root/README.md b/overrides/cursor/root/README.md index efa5112..b656d59 100644 --- a/overrides/cursor/root/README.md +++ b/overrides/cursor/root/README.md @@ -20,8 +20,7 @@ search, code exploration, and people discovery, right in your editor. Add the **`gleanwork/cursor-plugins`** marketplace in Cursor, then install the **`glean`** plugin (and **`glean-dev-docs`** if you build with Glean). Once -installed, ask Cursor to "set up Glean". If it needs an MCP URL, follow the -Glean MCP configuration steps in the `glean` plugin README. +installed, ask Cursor to "set up Glean" and complete the browser OAuth flow. ## Plugins diff --git a/pluginpack.config.ts b/pluginpack.config.ts index 17ac0c3..f3249b5 100644 --- a/pluginpack.config.ts +++ b/pluginpack.config.ts @@ -63,7 +63,7 @@ export default defineConfig({ glean: { source: "shared/glean", overrides: "overrides/cursor/glean", - exclude: ["mcp", "hooks", "scripts"], + exclude: ["hooks", "scripts"], displayName: "Glean", description: "Official Glean plugin — search documents, Slack, and email; explore code across repos; find experts and stakeholders; prep for meetings and onboarding.",