mcpField
M
migratorxpress-mcp

migratorxpress-mcp

Local
github.com/arpe-ioDatabases0Updated 32w ago

About migratorxpress-mcp

migratorxpress-mcp lets AI assistants prepare and run MigratorXpress database migrations across heterogeneous systems. It includes command preview, authentication-file checks, capability listings, and workflow suggestions.

Key features

  1. 01Preview migration commands
  2. 02Execute commands with confirmation
  3. 03Validate authentication files
  4. 04List supported migration capabilities
  5. 05Suggest migration workflows
  6. 06Report version and capabilities

Use cases

  1. 01Plan an Oracle-to-PostgreSQL migration
  2. 02Check authentication entries before migration
  3. 03Review supported source and target databases
  4. 04Suggest migration steps for a database pair

MCP support

This MCP server exposes MigratorXpress command-building, execution, validation, and discovery tools to MCP clients. Execution requires explicit confirmation and a configured MigratorXpress binary.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"arpe-io-migratorxpress": {
"command": "uvx",
"args": [
"migratorxpress-mcp"
],
"env": {
"MIGRATORXPRESS_PATH": "<MIGRATORXPRESS_PATH>",
"MIGRATORXPRESS_TIMEOUT": "<MIGRATORXPRESS_TIMEOUT>",
"MIGRATORXPRESS_LOG_DIR": "<MIGRATORXPRESS_LOG_DIR>",
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}
Run commanduvx migratorxpress-mcp
Environment variables to set
MIGRATORXPRESS_PATHPath to the MigratorXpress binary (optional — server runs in preview-only mode without it)
MIGRATORXPRESS_TIMEOUTExecution timeout in seconds (default: 3600)
MIGRATORXPRESS_LOG_DIRDirectory for execution logs (default: ./logs)
LOG_LEVELLogging level: DEBUG, INFO, WARNING, ERROR (default: INFO)

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypimigratorxpress-mcp0.1.6

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MigratorXpress MCP Server

PyPI License: MIT MCP Registry

A Model Context Protocol (MCP) server for MigratorXpress, enabling database migration between heterogeneous database systems through AI assistants.

MigratorXpress supports migrating from Oracle, PostgreSQL, SQL Server, and Netezza to PostgreSQL or SQL Server targets.

Installation

pip install -e .

Or install dependencies directly:

pip install -r requirements.txt

Configuration

Environment Variables
VariableDefaultDescription
MIGRATORXPRESS_PATH./MigratorXpressPath to MigratorXpress binary
MIGRATORXPRESS_TIMEOUT3600Command execution timeout in seconds
MIGRATORXPRESS_LOG_DIR./logsDirectory for execution logs
LOG_LEVELINFOServer logging level

Copy .env.example to .env and adjust values:

cp .env.example .env
Claude Code Configuration

Add to your Claude Code MCP settings:

{
  "mcpServers": {
    "migratorxpress": {
      "command": "python",
      "args": ["-m", "src.server"],
      "cwd": "/path/to/migratorxpress-mcp",
      "env": {
        "MIGRATORXPRESS_PATH": "/path/to/MigratorXpress"
      }
    }
  }
}

Tools

1. preview_command

Build and preview a MigratorXpress CLI command without executing it. License text is automatically masked in the display output.

Required parameters: auth_file, source_db_auth_id, source_db_name, target_db_auth_id, target_db_name, migration_db_auth_id

2. execute_command

Execute a previously previewed command. Requires confirmation: true as a safety mechanism.

3. validate_auth_file

Validate that an authentication file exists, is valid JSON, and optionally check for specific auth_id entries.

4. list_capabilities

List supported source/target databases, tasks, migration DB modes, load modes, and FK modes.

5. suggest_workflow

Given a source database type, target database type, and optional constraint flag, suggest the full sequence of migration tasks with example commands.

6. get_version

Report MigratorXpress version and capabilities.

Workflow Example

A typical migration from Oracle to PostgreSQL:

Step 1: translate  — Translate Oracle DDL to PostgreSQL-compatible DDL
Step 2: create     — Create target tables from translated DDL
Step 3: transfer   — Transfer data from source to target
Step 4: diff       — Verify row counts match between source and target
Step 5: copy_pk    — Copy primary key constraints
        copy_ak    — Copy alternate key (unique) constraints
        copy_fk    — Copy foreign key constraints

Or run all steps in a single invocation with --task_list all.

Development

Running Tests
pip install -e ".[dev]"
python -m pytest tests/ -v

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.