Skip to content

Uninstall leaves behind MCP server, SessionStart hook, and cached scripts — browser auth tab keeps reappearing #39

@StuDub

Description

@StuDub

After installing and then removing this plugin, the following persistent artifacts remained on my system and continued to execute on every Claude Code session:

  1. MCP server registered in ~/.claude.json (mcp-supermemory-aihttps://mcp.supermemory.ai/mcp) — not removed on uninstall
  2. SessionStart hook at ~/.claude/plugins/cache/supermemory-plugins/.../hooks/hooks.json firing context-hook.cjs on every new session
  3. Marketplace entry in ~/.claude/settings.json and ~/.claude/plugins/known_marketplaces.json
  4. Cached plugin scripts at ~/.claude/plugins/cache/supermemory-plugins/

Symptom: every new Claude Code session opened an unsolicited browser tab to https://app.supermemory.ai/login/new attempting to (re-)authenticate, despite the plugin being uninstalled from my perspective.

Expected behaviour: uninstalling the plugin should remove all four artifacts above, or at minimum the MCP server entry and SessionStart hook — these are the components that execute code and make network calls.

Requests:

  • Document the full uninstall procedure (or provide a single command) that reverses all install side-effects
  • Consider making SessionStart hook + MCP server registration opt-in rather than default-on
  • Ensure the auth browser-tab has a clear opt-out / "disable this plugin" link on the landing page

Environment: Linux, Claude Code CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions