Migratorxpress Mcp

io.github.arpe-io由 GitHub 帳號 arpe-io 發布v0.1.6更新於 Oct 24, 2026

MCP server for MigratorXpress — cross-platform database migration with parallel transfer

已驗證STDIO僅桌面資料庫開發者工具

概覽

AI 產生的概覽

本機 MCP 伺服器,讓 AI 助理預覽、驗證並執行 MigratorXpress 資料庫遷移指令,支援 Oracle、PostgreSQL、SQL Server 與 Netezza 之間的遷移。

可以做什麼
預覽並執行 MigratorXpress 遷移指令,執行前須帶確認旗標,預覽中的授權文字會被遮蔽。驗證認證檔並檢查其中是否有指定 auth_id 項目。列出支援的來源與目標資料庫、工作、遷移資料庫模式、載入模式與外鍵模式。依來源與目標資料庫類型建議完整遷移工作順序及範例指令。回報 MigratorXpress 版本與能力。
適用情境
適合在使用 MigratorXpress 規劃或執行跨平台資料庫遷移時,讓助理產生指令、檢查認證檔,並依翻譯、建表、傳輸、比對與複製限制條件等步驟推進。
執行需求
以 Python 套件形式透過 stdio 在本機執行,使用 pip 安裝。需要 MigratorXpress 執行檔,透過 MIGRATORXPRESS_PATH 指定;缺少時伺服器僅以預覽模式運作。可選設定 MIGRATORXPRESS_TIMEOUT、MIGRATORXPRESS_LOG_DIR 與 LOG_LEVEL。預覽與執行需要含 auth ID 的 MigratorXpress 認證檔。
安裝前請注意
execute_command 會對來源與目標資料庫執行真實遷移,可能寫入或變更資料,且必須將確認參數設為 true。認證檔包含資料庫憑證並以參數傳入,執行日誌會寫入 MIGRATORXPRESS_LOG_DIR。預覽會遮蔽授權文字,但確認執行前仍應檢查指令。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Migratorxpress Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

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

bash
pip install -e .

Or install dependencies directly:

bash
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:

bash
cp .env.example .env

Claude Code Configuration

Add to your Claude Code MCP settings:

json
{  "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 DDLStep 2: create     — Create target tables from translated DDLStep 3: transfer   — Transfer data from source to targetStep 4: diff       — Verify row counts match between source and targetStep 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

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

License

MIT

來源:README.md,提交 c472372

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.6最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分