MigratorXpress MCP Server
This MCP server enables database migration between heterogeneous systems (Oracle, PostgreSQL, SQL Server, Netezza to PostgreSQL or SQL Server) through AI assistants by providing tools for command preview, execution, validation, and workflow suggestions.
README
MigratorXpress MCP Server
<!-- mcp-name: io.github.arpe-io/migratorxpress-mcp -->
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
| Variable | Default | Description |
|---|---|---|
MIGRATORXPRESS_PATH |
./MigratorXpress |
Path to MigratorXpress binary |
MIGRATORXPRESS_TIMEOUT |
3600 |
Command execution timeout in seconds |
MIGRATORXPRESS_LOG_DIR |
./logs |
Directory for execution logs |
LOG_LEVEL |
INFO |
Server 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.