You can safely upgrade the MCP server while minimizing risk by preparing rollback options, applying the new distribution, and validating the upgrade through regression checks.

The following steps describe how to perform a controlled upgrade and ensure system stability:
  1. To provide a rollback option in case of failure, export the current working profile using git add or create an archive.
  2. Retrieve the latest version of the software by pulling the new distribution ZIP.
  3. To update container images for the new release, load images using load_images.sh.
  4. Recreate the profile with the same specification and configuration to ensure consistency between old and new setups.
  5. To detect configuration differences before deployment, compare mcp_server_config.generated.json with the previous version.
  6. Run regression tool invocations and compare representative outputs for validating functional integrity after upgrade.