fix(plugin): make Cursor plugin fully functional#4547
Merged
deshraj merged 4 commits intomem0ai:mainfrom Mar 26, 2026
Merged
Conversation
- Fix plugin.json: add displayName, keywords, component declarations
(skills, hooks, mcpServers); move author.url to homepage; fix skills
path to ./skills/ convention
- Add .cursor-mcp.json with Cursor-compatible env var syntax
(${env:MEM0_API_KEY} vs Claude Code's ${MEM0_API_KEY})
- Add cursor-hooks.json with camelCase events, flatter structure, and
${CURSOR_PLUGIN_ROOT} paths (vs Claude Code's PascalCase/nested format)
- Regenerate deeplink base64 config: remove invalid "type":"http" field,
use correct ${env:MEM0_API_KEY} interpolation
- Rewrite README: add manual config option, feature comparison table,
move duplicate-tools warning before install links, clarify what each
install method includes
|
|
Cowork (desktop app) shares the same plugin system as Claude Code (CLI). Added Cowork install instructions and updated feature comparison table.
Remove displayName from plugin.json and version from cursor-hooks.json — neither field exists in the official Cursor plugin reference.
Move author.url (not in spec) to homepage field, add author.email. Aligns with the Claude Code plugin reference schema.
deshraj
approved these changes
Mar 26, 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
The Cursor plugin (
mem0-plugin/.cursor-plugin/) shipped with metadata only — skills, hooks, and MCP server were present in the directory but not declared or compatible with Cursor's format. This PR fixes all compatibility issues:displayName,keywords, component declarations (skills,hooks,mcpServers); fixauthor.url(invalid in Cursor schema) tohomepage; use./skills/convention.cursor-mcp.json): Cursor requires${env:MEM0_API_KEY}syntax (not${MEM0_API_KEY}) and doesn't use a"type"field for remote servershooks/cursor-hooks.json): Cursor uses camelCase event names (sessionStart,preToolUse,stop,beforeSubmitPrompt) vs Claude Code's PascalCase, a flatter structure, and${CURSOR_PLUGIN_ROOT}paths"type":"http", uses correct${env:MEM0_API_KEY}interpolation