8000 Add an explicit way to upgrade a managed MCP installation · Issue #46 · dominikbraun/openlune · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Add an explicit way to upgrade a managed MCP installation #46

Open

Description

@dominikbraun

Problem

Unchanged reuse never upgrades packages, by design. But there is no way to ask for an upgrade either. An installation is reused for as long as its tool requirements, install environment and host match, so:

  • a requirement that is not an exact version (latest, 24, a range) stays at whatever it resolved to on the day of the first apply;
  • an exact top-level version keeps the transitive dependencies it first resolved, including ones with later security fixes;
  • contributors who applied at different times run different versions with no command to converge.

The only route today is to edit the declared version or delete private storage by hand, which the brief says contributors should not need to do. The brief lists explicit package upgrades as a later possibility.

Proposal

An apply option in the style of --rerun-init:

openlune apply --upgrade <mcp-id>
  • Runs a fresh mise install for that server's tool requirements instead of reusing the saved installation, then prepares the launch binding against the result.
  • Plan and review show it as an installation step with its commands, and it needs the usual approval. --yes alone never upgrades.
  • Without the flag nothing changes: unchanged apply still writes nothing.
  • Version resolution stays with mise. No lock file, resolver graph or "outdated" check.

Open questions

  • An installation can be shared by several servers with the same tool set. Does upgrading one upgrade all of them, and how does review say so?
  • Does a successful initializer need to run again after an upgrade, or does that stay with --rerun-init?
  • Is the previous installation kept for reuse, replaced, or removed? On Windows installations are named by a shortened identity, so a second installation with the same requirements needs a decision.
  • If the upgrade fails after package code ran, the old installation should keep working. Is that achievable without new state?
  • Is a per-server flag enough, or is --upgrade with no ID (everything) the common request?

Activity

  1. added
    enhancement
    on Nov 23, 2026
  2. added this to the v0.3.0 milestone on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0