Learn the core workflow for installing agents, connecting environments, reviewing migrations, and promoting database changes safely.
Migratrix is a database DevOps platform for safely promoting schema and data changes across environments.
For the full list of supported database engines, see Supported databases and versions.
Server compatibility follows each vendor's guidance; use current, supported database releases where possible.
| Database | Typical targets |
|---|---|
| Amazon Redshift | Redshift (PostgreSQL-compatible wire protocol) |
| Apache Cassandra | Cassandra 3.x / 4.x clusters |
| ClickHouse | ClickHouse server (TCP) |
| CockroachDB | CockroachDB (PostgreSQL wire) |
| Databricks SQL | Databricks SQL Warehouse / clusters (ODBC; Simba ODBC driver on the agent host) |
| DuckDB | Embedded DuckDB files |
| Google BigQuery | BigQuery projects and datasets |
| MariaDB | MariaDB 10.3+ (MySQL protocol) |
| Microsoft SQL Server | SQL Server 2012+, Azure SQL |
| MongoDB | MongoDB 4.2+ |
| MySQL | MySQL 5.7+, 8.x |
| Oracle Database | Oracle 12c onward |
| PostgreSQL | PostgreSQL 12+ |
| Snowflake | Snowflake accounts |
| SQLite | SQLite 3 file databases |
| TiDB | TiDB (MySQL protocol) |
| YugabyteDB | YugabyteDB YSQL (PostgreSQL wire) |
The Agent authenticates using a workspace Agent token. You can provide it via command line or the MIGRATRIX_API_KEY environment variable.
docker run -d \
--name migratrix-agent \
--restart unless-stopped \
-e MIGRATRIX_API_KEY="<your_agent_api_key_or_jwt>" \
-e MIGRATRIX_DIR=/data/migratrix \
-p 4002:4002 \
-v migratrix-agent-data:/data/migratrix \
ghcr.io/code-fighter-labs/migratrix-agent:latest
brew tap code-fighter-labs/tap
brew install migratrix-agent
migratrix-agent --apiKey "<your_agent_api_key_or_jwt>"
curl -sSL https://github.com/code-fighter-labs/homebrew-tap/releases/latest/download/install.sh | sh
migratrix-agent --apiKey "<your_agent_api_key_or_jwt>"
iwr https://github.com/code-fighter-labs/homebrew-tap/releases/latest/download/install.ps1 | iex
migratrix-agent --apiKey "<your_agent_api_key_or_jwt>"Migratrix separates how the Agent listens from how clients reach it:
http://0.0.0.0:4002.https://agent.company.com.If the Migratrix web app is loaded over HTTPS, browsers will block connections to an HTTP agent. For production, set PublicUrl to an HTTPS address.
For localhost development, mkcert can be used to generate browser-trusted certificates for https://localhost:4002.
Credentials remain on the Agent machine and are not stored on the Migratrix platform.
Migratrix fits into a SQL-in-Git workflow while keeping execution and approvals close to the database delivery process.
Migratrix exposes a remote Model Context Protocol endpoint so approved assistants can inspect database delivery context and help with operational workflows.
Run the setup command locally. It opens Migratrix sign-in, detects supported AI tools, and writes the matching MCP configuration.
npx migratrix-setup
The installer supports Claude Desktop, Cursor, Codex, Windsurf, and Continue. Restart the configured tool after setup so it loads the Migratrix connector.
If your MCP client supports remote HTTP servers, configure the Migratrix endpoint and send the user's access token as a bearer token.
URL: https://mcp.migratrix.com/mcp
Authorization: Bearer <access-token>
Mutating tools require a confirm: true argument. This protects approvals, rejections, and execution from accidental assistant actions.
list_workspaceslist_environmentsget_migrations and get_migrationget_migration_progressanalyze_migration_riskapprove_migration, reject_migration, and execute_migrationExplorer lets teams browse tables, preview rows, inspect schema objects, and run SQL with safeguards aligned to each environment.
Flows model the path from lower environments to production. Each stage can enforce its own approval policy, execution rules, and rollback behavior.
Compare and Sync is designed for schema drift detection and controlled alignment between environments.
Migration Studio is the guided workflow for moving from a selected source to a reviewed target model and validated execution.
Use Migration Studio when the task needs modeling, target-shape decisions, schema generation, CDC options, and post-run validation rather than a simple copy job.
If you need help with onboarding, network topology, or enterprise rollout planning, use the contact form or email sales@migratrix.com.