Upgrading and Removing
Upgrading the Server
For a shared server over HTTPS:
-
Pull the new tag:
docker pull ghcr.io/liferay-community-apac/liferay-legacy-mcp:<new tag> -
Stop and remove the running container. Its
/datavolume, with the audit log, stays:docker stop liferay-mcp && docker rm liferay-mcp -
Start it again with the same
docker runcommand 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
- Stop and remove the container. Keep the
/datavolume if you need the audit log. - In Liferay, undeploy the client extension, or delete the application in OAuth 2 Administration.
- Delete the sign-in application and its role, if you created them.
- Deactivate the service user, and delete its two roles.