• Task
  • Version ยท 6.0
  • Create

Switch between output formats in the Liquibase AI Changelog Generator

Last updated: August 11, 2026

Procedure

1

Set these environment variables in your AI Changelog Generator configuration, not in your Liquibase project.

2

VS Code users: Add the environment variables to your AI Changelog Generator configuration in your VS Code settings.json.

Switch to Formatted SQL
loading
Switch back to XML
loading
3

Docker users: Pass the environment variables in your Docker run command.

Switch to Formatted SQL
loading

Switch back to XML

docker run --rm -i \
    -e LIQUIBASE_MCP_OUTPUT_FORMAT=xml \
    liquibase/liquibase-mcp-changelog-server:latest

Change the target database

docker run --rm -i \
    -e LIQUIBASE_MCP_OUTPUT_FORMAT=formatted-sql \
    -e LIQUIBASE_MCP_SQL_DATABASE=mysql \
    liquibase/liquibase-mcp-changelog-server:latest
4

Claude Desktop users: Add the environment variables to your Claude Desktop configuration file.

Switch to Formatted SQL
loading
Switch back to XML
"env": {
    "LIQUIBASE_MCP_OUTPUT_FORMAT": "xml"
}