Repository navigation
feat(setup): report the Cursor plugin in doctor, setup and Studio - #63
Merged
Merged
Conversation
Cursor keeps a copy of the Markdown PDF Export plugin in ~/.cursor/plugins/cache/<marketplace>/markdown-pdf-export/<commit>/ and lists its server next to a ~/.cursor/mcp.json entry, so the AI tools can show twice. The copy stays after the plugin is uninstalled, so it cannot count as the AI tools set up: setup and Studio still offer the mcp.json entry, with a note that the plugin gives the tools when it is on. doctor reports the plugin (plugin in --json) and warns when the plugin and the mcp.json entry are both there.
Merged
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.
doctor,setup cursorand Studio's Add to my editor now know about the Cursor plugin.What Cursor does, checked on macOS:
~/.cursor/plugins/cache/<marketplace>/markdown-pdf-export/<commit>/.cursor-plugin/plugin.json. Install state itself is kept per folder in Cursor's state database, under opaque ids, so this PR doesn't read it.markdown-pdfentry in~/.cursor/mcp.json, Cursor lists twomarkdown-pdfservers ("User" and "Plugin"), the second off until turned on.Changes:
editorStatus: the Cursor entry getsplugin(any marketplace folder, since a Marketplace install may name it differently).mcpstill means themcp.jsonentry only.doctor:mcp.jsonentry are both there.setup cursorand Studio: both show one shared note (CURSOR_PLUGIN_NOTE/setupNote()) when the plugin is found and the AI tools are still offered. The default stays yes, and Studio's switch stays on.plugin.json, the doctor note, and the Studio/api/editorsnote. 597 tests pass and lint is clean.