Configure the Liquibase AI Changelog Generator in Claude Code
Last updated: May 15, 2026
Both Liquibase XML changesets and formatted SQL come with their own complexity: XML requires precise syntax and schema expertise, while formatted SQL demands learning specific rules and conventions. The Liquibase AI Changelog Generator solves this by letting you describe database changes in natural language and automatically converting them into valid, tested Liquibase changesets. This Model Context Protocol (MCP) server runs locally and integrates with Claude Code CLI, turning conversational requests like “add an email column to the users table” into production-ready changesets.
Powered by Liquibase’s native Java APIs, the server offers nineteen specialized tools that handle everything from basic table operations to complex procedures and sequences. Each generated changeset is automatically validated against an H2 database to catch errors before they reach your production environment, with configurable validation and rollback options to match your workflow. As a standalone executable with 322 comprehensive tests, you can generate validated changesets immediately with no external Liquibase CLI installation required.
Before you begin
Download the
liquibase-mcp-changelog-server-0.1.0.jarfile and note its full path.Java 17 or higher is installed and available in the PATH.
Liquibase Secure is installed. Note the full path to the folder that contains the
liquibaseexecutable.Claude Code CLI is installed.
Procedure
Confirm the Server Starts
From your terminal, run the following command.
Be sure to:
Replace
your_jar_pathwith the full path to the JAR file on your machine. For example,/Users/yourname/liquibase-mcp-changelog-server-0.1.0.jar
The output will state the server has started successfully:
If you see an error, confirm that java -version returns 17 or higher.
Create a Working Directory
Create a folder where you will run Claude Code. The .mcp.json configuration file must be in the same directory where you launch Claude Code.
Create the .mcp.json File
Navigate into the directory, create the configuration file, and open it in a text editor.
Add the MCP Server Configuration
Paste the following into the file.
Be sure to:
Replace
your_jar_pathwith the full path to the JAR file. For example,/Users/yourname/liquibase-mcp-changelog-server-0.1.0.jarReplace
your_liquibase_home_pathwith the path to the folder that contains theliquibaseexecutable. For example,/usr/local/binReplace
your_liquibase_license_keywith your Liquibase Secure license key.
Save the file and close the editor.
Launch Claude Code from Your Working Directory
Claude Code reads .mcp.json only when launched from the directory that contains the file.
Approve the MCP Server
The first time you launch Claude Code with a new .mcp.json, it prompts you to trust the MCP server configuration. Type yes and press Enter.
Verify the Connection
At the Claude Code prompt, run:
liquibase-mcp should appear with status connected.
Test the Connection
At the Claude Code prompt, type:
Claude calls the create_table tool and returns an XML changelog in the terminal.