Liferay Legacy MCP docs

Home/Marketplace Apps/Liferay Legacy MCP/Installing

Upgrading and Removing

  1. Upgrading the Server
  2. Removing
  3. Related Information

Upgrading the Server

For a shared server over HTTPS:

  1. Pull the new tag:

     docker pull ghcr.io/liferay-community-apac/liferay-legacy-mcp:<new tag>
    
  2. Stop and remove the running container. Its /data volume, with the audit log, stays:

     docker stop liferay-mcp && docker rm liferay-mcp
    
  3. Start it again with the same docker run command as before, with the new tag.

For an AI assistant that starts the server itself, change the tag in its mcpServers setting, and restart the assistant.

The server keeps nothing between restarts except its audit log in /data. Sign-in sessions are in memory, so a restart drops them, and people sign in again. After changing the OAuth application, copy the routes again if they changed, and restart the server.

Removing

  1. Stop and remove the container. Keep the /data volume if you need the audit log.
  2. In Liferay, undeploy the client extension, or delete the application in OAuth 2 Administration.
  3. Delete the sign-in application and its role, if you created them.
  4. Deactivate the service user, and delete its two roles.