# Migratrix

> Migratrix is an MCP server for databases. Database change control for assistants: schemas, change scripts, approvals and drift. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API, CLI, Self-hosted
- **Website:** https://migratrix.com/docs/mcp
- **Repository:** https://github.com/migratrix/migratrix
- **MCP Registry name:** com.migratrix/migratrix
- **Categories:** [databases](https://ai-powered.com/categories/databases), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-14

## About

Migratrix lets an assistant work inside a database change process without being able to bypass it. There are two endpoints: a control server for environments, pipelines, change scripts, the approvals queue, GitOps and audit, and an executor that runs inside your own network for schemas, read-only queries, script validation, comparison and the Drift Monitor, so rows never leave your network.

The assistant acts with the signed-in person's own permissions, and with less. Approving, changing approval rules or permissions and writing rollbacks are never available to it, and these limits are enforced in the server. Administrators decide per environment whether assistants get nothing, read or propose access, can cap rows per query, and can pause every assistant at once. All calls land in the audit ledger under the person's name.

Sign-in is OAuth 2.1 and a setup command configures Claude Code, Claude Desktop, Cursor, Codex, Windsurf and Continue. The site also lists seven prompts, such as plan-change and incident-rollback.

## Features

- **Two endpoints:** A hosted control server and an executor inside your network.
- **Approval limits:** Assistants can never approve changes or edit approval rules.
- **Read-only queries:** Schemas, sampling and queries stay in your network.
- **Drift monitoring:** Lists, explains and acknowledges schema drift.
- **Audit tools:** Query the audit log and build evidence packs.
- **Admin policy:** Per-environment access levels and a pause switch.

## Good for

- Plan and validate a change script with an assistant
- Investigate schema drift
- Review the approvals queue
- Build audit evidence for a change
- Describe objects and dependents in a schema

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http migratrix https://mcp.migratrix.com/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "migratrix": {
      "type": "http",
      "url": "https://mcp.migratrix.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.migratrix.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "migratrix": {
      "url": "https://mcp.migratrix.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "migratrix": {
      "type": "http",
      "url": "https://mcp.migratrix.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.migratrix.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add migratrix --url https://mcp.migratrix.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.migratrix]
url = "https://mcp.migratrix.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "migratrix": {
      "httpUrl": "https://mcp.migratrix.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http migratrix https://mcp.migratrix.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "migratrix": {
      "serverUrl": "https://mcp.migratrix.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "migratrix": {
      "url": "https://mcp.migratrix.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "migratrix": {
      "type": "streamableHttp",
      "url": "https://mcp.migratrix.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "migratrix": {
      "url": "https://mcp.migratrix.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "migratrix": {
      "url": "https://mcp.migratrix.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "migratrix": {
      "url": "https://mcp.migratrix.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "migratrix": {
      "url": "https://mcp.migratrix.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.migratrix.com/mcp
```

Enter a Name (for example "Migratrix"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "migratrix": {
      "type": "http",
      "url": "https://mcp.migratrix.com/mcp"
    }
  }
}
```

## Tools

Going by the tool names, 2 of 16 tools change data; 5 names don't say. From the server's own tool labels and tool names; not verified by us.

- `environment_list` (name suggests: reads): Lists environments.
- `pipeline_list` (name suggests: reads): Lists pipelines.
- `change_script_list` (name suggests: reads): Lists change scripts.
- `change_script_create` (name suggests: changes): Creates a change script.
- `change_script_execute` (name suggests: changes): Executes a change script where no approval is required.
- `approval_queue`: Shows the approvals queue.
- `audit_query` (name suggests: reads): Queries the audit log.
- `audit_evidence_pack`: Builds an audit evidence pack.
- `schema_describe` (name suggests: reads): Describes a schema object.
- `schema_search` (name suggests: reads): Searches schema objects.
- `query_run` (name suggests: reads): Runs a read-only query.
- `data_profile`: Profiles data.
- `change_script_validate` (name suggests: reads): Validates a change script.
- `compare_schema`: Compares schemas.
- `drift_events`: Lists drift events.
- `drift_explain` (name suggests: reads): Explains a drift event.

## FAQ

### Can the assistant approve its own change?

No. Approving, changing approval rules or permissions, and writing rollbacks are never available to an assistant.

### Do database rows leave my network?

The executor endpoint runs inside your network and the site says rows never leave it.

### How is Migratrix set up?

Run npx migratrix-setup with your executor URL; sign-in is OAuth 2.1.

### Which plans exist?

Starter, Growth and Scale; prices are not listed on the page.

### How do I add Migratrix to Claude Code?

Run this command in your terminal: claude mcp add --transport http migratrix https://mcp.migratrix.com/mcp

### What are the best alternatives to Migratrix?

The closest alternatives to Migratrix are dryrun, Backenly, JillionDB, Datris and Scribase.

## Where this comes from

- Description: written from the project's README and the project's website.
- Status: checked automatically by AIPoweredBot on 20 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [dryrun](https://ai-powered.com/mcp/dryrun): dryrun is an open-source MCP server for databases.
- [Backenly](https://ai-powered.com/mcp/backenly): Backenly is a freemium MCP server for developer tools.
- [JillionDB](https://ai-powered.com/mcp/jilliondb): JillionDB is a freemium MCP server for databases.
- [Datris](https://ai-powered.com/mcp/datris): Datris is an open-source MCP server for analytics and data.
- [Scribase](https://ai-powered.com/mcp/scribase): Scribase is a freemium MCP server for databases.
- [Approval gate for databases](https://ai-powered.com/mcp/approval-gate-for-databases): Approval gate for databases is an open-source MCP server for databases.
- [DBGorilla](https://ai-powered.com/mcp/dbgorilla): DBGorilla is a freemium MCP server for databases.
- [Databrush](https://ai-powered.com/mcp/databrush): Databrush is a freemium MCP server for databases.

---
Source: https://ai-powered.com/mcp/migratrix
