feat(cursor): bundle the local Glean MCP server - #16
Merged
Conversation
| source: "shared/glean", | ||
| overrides: "overrides/cursor/glean", | ||
| exclude: ["mcp", "hooks", "scripts"], | ||
| exclude: ["hooks", "scripts"], |
There was a problem hiding this comment.
Issue: The Cursor target now includes the shared MCP configuration, but that configuration invokes ${CLAUDE_PLUGIN_ROOT}/mcp/start.mjs, which is Claude-specific and is not a valid Cursor plugin path. The bundled MCP server therefore will not start in Cursor.
Suggested fix: Add overrides/cursor/glean/mcp/config.json using a Cursor-compatible entry such as command: "node", args: ["./mcp/start.mjs"], and cwd: ".", or otherwise provide a resolvable Cursor-specific MCP entrypoint.
🔧 Tag @ glean-for-engineering to fix or click here to fix in Glean
💬 Help us improve! Was this comment helpful? React with 👍 or 👎
mohit-gupta-glean
approved these changes
Aug 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Emit the folded vnext/local Glean MCP server in the Cursor
gleanplugin.Cursor previously excluded the shared
mcp/component, so it only received the portable skills, agents, and rules and required a separately configured remote Glean MCP server. This change enables the same local MCP adapter already shipped by the Claude Code and Codexgleanplugins.Changes
mcpfrom Cursor'sexcludelist; continue excludinghooksandscripts..mcp.jsonmcp/start.mjsmcp/dist/index.jsmcp/package.jsonThe output remains the existing
gleanplugin; no separateglean-vnextplugin is introduced.Verification
npm test— all target builds and validation passedmcpServers: "./.mcp.json"git diff --checkpassed