Repository navigation
feat(cursor): ship a Marketplace plugin with the skill and pinned MCP server - #9878
Merged
Merged
Conversation
… server Cursor Marketplace installs are Git checkouts, so the plugin manifest points at a synced copy of the authored skill and starts npx -y rea-agents@<release> mcp. Release Please and the release checkpoint keep that pin aligned with the package version. The manifest, skill, and icon checks follow the local plugin bundle contract from #7619, adapted for a checkout that has no dist/. Co-authored-by: GamerDubz <[email protected]>
morluto
requested review from
N0zoM1z0,
gensokyo-dev and
kaoru0822-kitauji
as code owners
November 10, 2026 21:04
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
3 tasks done
3 tasks done
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
REA can be installed from the Cursor Marketplace as one plugin that includes both the
reverse-engineer-anythingskill and thereaMCP server. A Git checkout has nodist/, so the server entry isnpx -y rea-agents@<release> mcp. There is no MCP-only "Add to Cursor" install link.This reuses the plugin manifest, skill, and icon bundle checks from #7619 (GamerDubz,
feat/plugin-first-setup) and adapts them to a Marketplace checkout. It does not change that PR.rea setup --client cursorstill writes~/.cursor/mcp.json.Problem and expected behavior
Cursor Marketplace installs are a Git checkout of a public repository. REA's Claude Code and Codex plugins launch a bundled runtime from the npm package, which a Marketplace checkout does not contain. An MCP-only install would also omit the skill REA needs.
After this change,
.cursor-plugin/plugin.json, rootmcp.json, the shared logo, and a committed skill tree are valid Cursor plugin components. Installing the repository as a plugin registers the skill and the pinnedreaserver together.Change and scope
.cursor-plugin/plugin.jsonnames the plugin, pointsskillsat.cursor-plugin/skills, and referencesassets/rea-plugin.png.mcp.jsonstartsnpxwith-y,rea-agents@<package version>, andmcp. Cursor discovers that file, so the manifest does not override it..cursor-plugin/skills/reverse-engineer-anythingis a generated copy of.agents/skills/reverse-engineer-anything.node scripts/generate-cursor-plugin-skill.mjs --checkfails when the copy drifts. That check runs fromdocs:check:builtandprepack..cursor-plugin/plugin.jsonversionand themcp.jsonpackage pin withpackage.json.Follow the contribution scope.
Unresolved scope, authority, side effects, or required verification block
integration. Link the required maintainer scope decision for new providers or
capabilities involving target execution, injection, mutation, or protection
recovery; ordinary fixes within existing boundaries may state "not applicable".
Draft PRs may leave the scope decision pending and the readiness and merge checklists
unchecked. Maintainers can help resolve open questions.
Not applicable. This packages the existing CLI/MCP server and skill. It does not add a provider or any target execution, injection, mutation, or protection recovery.
Contract and boundary impact
scripts/lib/cursor-plugin-bundle.mjsown the Marketplace declaration. Release Please andscripts/lib/release-checkpoint.mjsown the version pin. The authored skill remains the source; the committed copy is a generated projection.npx -y rea-agents@<version> mcp, the same command the MCP Registry metadata already describes.docs/public/product-catalog.json), package, or installation impact (CI generates and validates ignored catalogs andskills/; edit authored instructions in.agents/skills/reverse-engineer-anything/and never commit build outputs): the npmskills/bundle stays generated and gitignored. The Marketplace copy is a separate committed tree because the install is a Git checkout.package.jsonfilesincludes the Cursor manifest, skill copy, andmcp.json.Expected effects (check known effects; use documentation-only on its own).
Unchecked items do not establish absence; leave uncertainties visible.
Evidence and regression coverage
tests/conformance/cursorPlugin.test.tschecks manifest fields, the npx pin, skill-copy identity, stale and extra skill files, and the absence of MCP-only install-link markers.tests/conformance/releaseConfiguration.test.tschecks Release Please extra-files and that GenericJson advances the pin.tests/boundary/filesystem/releaseCheckpoint.test.tsrejects a stale Cursor manifest version and a stalemcp.jsonpin.scripts/plugin-mcp-launcher.mjsbecausedist/is not committed.rea setup --client cursoris unchanged.For boundary fixes, identify the applicable boundary regressions
and lifecycle regressions
covered by the evidence above, and explain relevant gaps.
Not a runtime boundary or lifecycle change. The release checkpoint coverage is the version-authority check for the new pin.
For evidence-bearing changes:
Validation performed
npm run format:check— passed.npm run check:fast— passed (typecheck and lint), including the pre-push hook.npm run test:local -- tests/conformance/cursorPlugin.test.ts tests/conformance/releaseConfiguration.test.ts— 23 tests passed.npm run test:focused -- tests/boundary/filesystem/releaseCheckpoint.test.ts— 45 tests passed.npm run test:focused -- tests/boundary/filesystem/releaseNotes.test.ts— passed.Compatibility, safety, and release
~/.cursor/mcp.json. Use that registration or the Marketplace plugin, not both..cursor-plugin/plugin.jsonversion andmcp.jsonargs. The npm package lists those files. The committed skill copy keeps the authored@latestCLI fallback so release notes do not rewrite unrelated versions inside the skill. The connected server is the pinned package.npx. It does not embed credentials or expand a new${VAR}.Author readiness
Human owner: @morluto
Before merge
type(scope): outcome.Relation to #7619
Reused from #7619:
rea, release version, repository, skill path, and icon file. That check lives inscripts/lib/cursor-plugin-bundle.mjs. The commit carriesCo-authored-by: GamerDubz <[email protected]>.Not reused, and not redundant after this PR:
allowBatchincluding.cmd/.bat). This PR does not spawnnpmornpxitself; Cursor launchesnpx.pluginChecks/plugin_clients. Marketplace installs stay outsiderea doctor, matching Claude Code and Codex plugins. feat(setup): prefer client plugins with opt-in Cursor installation #7619 still owns setup-managed plugin inspection.~/.cursor/plugins/localinstallation viarea setup --cursor-plugin. feat(setup): prefer client plugins with opt-in Cursor installation #7619 writes a differentmcp.jsonthat runs the downloaded package's bundled launcher. This PR'smcp.jsonis the Marketplacenpxpin. The local installer is still a separate distribution path.