Skip to content

Plugin uninstall signs out nothing when the plugin folder is missing or unreadable #8050

Open

Description

@ThomasK33

Problem

Uninstalling a plugin signs out the OAuth credentials of its remote MCP servers (#7941). Xum reads the server URLs from the installed plugin folder before it moves the folder away. When that folder is missing or cannot be read, installedServerUrls returns no URLs, so the uninstall signs out nothing. The URL-keyed credentials stay stored. A later server at the same URL under another OAuth identity can then start with them.

Main has this gap since 8ce331c. Before #7941, no uninstall signed anything out.

Why it is deferred

A fix needs the remote server URLs stored outside the plugin folder, for example in the registry row at install and update. That is a new persisted field, which is larger than #7941's change. The maintainer agreed to defer it as scope creep on 2026-11-09.

Done when

  • An uninstall of a plugin whose folder is missing or unreadable signs out every remote MCP server that the plugin had at its last install or update.
  • A test covers a missing folder and an unreadable folder.
  • Older builds keep working with the new field (they ignore it).

Owner: @ThomasK33. Follow-up trigger: the next change to plugin uninstall or to the plugin registry row.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

Activity

  1. self-assigned this
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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