Skip to content

feat(cursor): ship a Marketplace plugin with the skill and pinned MCP server - #9878

Merged
morluto merged 1 commit into
mainfrom
cursor/cursor-marketplace-plugin-fcc4
Nov 11, 2026
Merged

morluto merged 1 commit into
mainfrom
cursor/cursor-marketplace-plugin-fcc4

Conversation

@morluto

@morluto morluto commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Summary

REA can be installed from the Cursor Marketplace as one plugin that includes both the reverse-engineer-anything skill and the rea MCP server. A Git checkout has no dist/, so the server entry is npx -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 cursor still 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, root mcp.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 pinned rea server together.

Change and scope

  • .cursor-plugin/plugin.json names the plugin, points skills at .cursor-plugin/skills, and references assets/rea-plugin.png.
  • mcp.json starts npx with -y, rea-agents@<package version>, and mcp. Cursor discovers that file, so the manifest does not override it.
  • .cursor-plugin/skills/reverse-engineer-anything is a generated copy of .agents/skills/reverse-engineer-anything. node scripts/generate-cursor-plugin-skill.mjs --check fails when the copy drifts. That check runs from docs:check:built and prepack.
  • Release Please extra-files and the release checkpoint advance .cursor-plugin/plugin.json version and the mcp.json package pin with package.json.
  • Installation docs describe what a Marketplace install includes, that direct Cursor setup is unchanged, and that publishing the listing is still a maintainer step.

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

  • Semantic owner and earliest changed stage: the Cursor plugin manifest and scripts/lib/cursor-plugin-bundle.mjs own the Marketplace declaration. Release Please and scripts/lib/release-checkpoint.mjs own the version pin. The authored skill remains the source; the committed copy is a generated projection.
  • Contribution scope fit and linked maintainer decision: not applicable. No new analysis capability.
  • CLI and MCP/tool-catalog contract: no tool schema change. The Marketplace server command is npx -y rea-agents@<version> mcp, the same command the MCP Registry metadata already describes.
  • Provider, bridge, target-format, or platform compatibility: none. The plugin does not install analysis engines.
  • Evidence, artifact, provenance, or reconstruction contract: none.
  • Target selection, authority, upstream behavior, and cleanup details (if applicable): none.
  • Generated metadata (docs/public/product-catalog.json), package, or installation impact (CI generates and validates ignored catalogs and skills/; edit authored instructions in .agents/skills/reverse-engineer-anything/ and never commit build outputs): the npm skills/ bundle stays generated and gitignored. The Marketplace copy is a separate committed tree because the install is a Git checkout. package.json files includes the Cursor manifest, skill copy, and mcp.json.

Expected effects (check known effects; use documentation-only on its own).
Unchecked items do not establish absence; leave uncertainties visible.

  • Read existing files or captured data.
  • Launch or attach to a process.
  • Inject instrumentation or run scripts/code.
  • Change process memory, registers, files, or configuration.
  • Contact network services.
  • Recover protected code or work around protections.
  • Documentation or usability only; no target interaction.
  • Not sure yet; investigation or maintainer guidance needed.

Evidence and regression coverage

  • Tests added or updated: tests/conformance/cursorPlugin.test.ts checks 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.ts checks Release Please extra-files and that GenericJson advances the pin. tests/boundary/filesystem/releaseCheckpoint.test.ts rejects a stale Cursor manifest version and a stale mcp.json pin.
  • Base reproduction or other evidence: source inspection of the Cursor plugin reference and of the existing Claude/Codex plugin pins. A Marketplace Git checkout cannot run scripts/plugin-mcp-launcher.mjs because dist/ is not committed.
  • User-visible CLI/MCP output (if applicable): none. rea setup --client cursor is unchanged.
  • Remaining proof gaps: the plugin was not submitted at cursor.com/marketplace/publish and was not installed in a live Cursor IDE. The release checkpoint and package-pack verifier were exercised as source tests, not by publishing an npm release.

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:

  • Observed, derived, and inferred claims remain distinguishable.
  • Artifact identity, source provenance, and failed attempts remain preserved.
  • Unsupported, incomplete, unavailable, or uncertain outcomes remain visible.

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.
  • Live Cursor Marketplace install — not run.

Compatibility, safety, and release

  • Breaking changes or migration steps: none. Direct Cursor setup still writes ~/.cursor/mcp.json. Use that registration or the Marketplace plugin, not both.
  • Real Hopper/Ghidra, browser, or OS coverage: not applicable.
  • Package or release metadata impact: Release Please updates .cursor-plugin/plugin.json version and mcp.json args. The npm package lists those files. The committed skill copy keeps the authored @latest CLI fallback so release notes do not rewrite unrelated versions inside the skill. The connected server is the pinned package.
  • Security, privacy, process, or containment review: the plugin starts the published package with npx. It does not embed credentials or expand a new ${VAR}.

Author readiness

Human owner: @morluto

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

Before merge

  • This PR addresses a concrete problem or an agreed enhancement.
  • Material scope and authority questions are resolved, and any required maintainer scope decision covers the final diff.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Tests cover changed observable behavior and meaningful failure paths.
  • Owning docs, contracts, and generated metadata are updated where needed.
  • User-visible CLI/MCP changes include representative output.
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

Relation to #7619

Reused from #7619:

  • The shared plugin identity check: name rea, release version, repository, skill path, and icon file. That check lives in scripts/lib/cursor-plugin-bundle.mjs. The commit carries Co-authored-by: GamerDubz <[email protected]>.

Not reused, and not redundant after this PR:

Open in Web Open in Cursor 

… 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]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T21:05:51.766914Z bd9405b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@morluto
morluto merged commit a54e848 into main Nov 11, 2026
50 checks passed
@morluto
morluto deleted the cursor/cursor-marketplace-plugin-fcc4 branch November 11, 2026 05:16
@morluto morluto mentioned this pull request Nov 11, 2026
3 tasks done
@morluto morluto added area: mcp MCP server, transport, and tool registration enhancement New feature or request labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: mcp MCP server, transport, and tool registration enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants