Lakexpress Mcp

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

MCP server for LakeXpress — automated database-to-cloud data pipeline as Parquet

概覽

AI 產生的概覽

讓助理建構、預覽並執行 LakeXpress 的資料庫轉 Parquet 匯出與同步指令,並支援驗證檔驗證與工作流程建議。

可以做什麼
包裝 LakeXpress 命令列工具,讓助理先預覽其 14 個子指令,再於設定確認後執行已預覽的指令。它也能驗證驗證檔、列出支援的來源資料庫、日誌資料庫、儲存後端與發佈目標、依使用情境建議指令序列,並回報偵測到的二進位版本。支援的來源包括 SQL Server、PostgreSQL、Oracle、MySQL 與 MariaDB,儲存可選本機、S3、GCS、Azure ADLS Gen2 與 OneLake。
適用情境
當你希望助理協助設定與操作資料庫轉 Parquet 的匯出、同步設定、日誌資料庫初始化、狀態查詢與清理時使用。適合已使用 LakeXpress、希望由助理完成指令建構、驗證與流程引導的資料工程師。
執行需求
以 Python 套件在本機執行(pip install lakexpress-mcp),透過 stdio 通訊,僅限桌面端。需要以 LAKEXPRESS_PATH 指向 LakeXpress 二進位檔;未設定時伺服器僅能預覽。可選設定:FASTBCP_DIR_PATH、LAKEXPRESS_LOG_DIR、LAKEXPRESS_TIMEOUT、LOG_LEVEL。驗證檔與資料庫憑證由底層命令列工具使用,不會交給伺服器。
安裝前請注意
execute_command 在確認後會執行真實的 LakeXpress 指令,可能寫出匯出檔、建立或修改同步設定、初始化日誌資料庫以及清理資料。命令列引用的驗證檔含有資料庫憑證,應避免放在共享或會被記錄的位置。日誌寫入 LAKEXPRESS_LOG_DIR。確認前請先檢查每個預覽指令。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

LakeXpress MCP Server

[PyPI] [License: MIT] [MCP Registry]

A Model Context Protocol (MCP) server for LakeXpress — a database to Parquet export tool with sync management and data lake publishing.

Features

  • 14 subcommands supported: logdb management, config management, sync execution, status, and cleanup
  • 5 source databases: SQL Server, PostgreSQL, Oracle, MySQL, MariaDB
  • 6 log databases: SQL Server, PostgreSQL, MySQL, MariaDB, SQLite, DuckDB
  • 6 storage backends: Local, S3, S3-compatible, GCS, Azure ADLS Gen2, OneLake
  • 7 publish targets: Snowflake, Databricks, Fabric, BigQuery, MotherDuck, Glue, DuckLake
  • Command preview before execution with safety confirmation
  • Auth file validation
  • Workflow suggestions based on use case

Installation

bash
pip install -e ".[dev]"

Claude Code Configuration

Add to your Claude Code MCP settings:

json
{  "mcpServers": {    "lakexpress": {      "command": "python",      "args": ["-m", "src.server"],      "cwd": "/path/to/lakexpress-mcp",      "env": {        "LAKEXPRESS_PATH": "/path/to/LakeXpress",        "LAKEXPRESS_TIMEOUT": "3600",        "LAKEXPRESS_LOG_DIR": "./logs",        "FASTBCP_DIR_PATH": "/path/to/FastBCP/"      }    }  }}

Or using the installed entry point:

json
{  "mcpServers": {    "lakexpress": {      "command": "lakexpress-mcp",      "env": {        "LAKEXPRESS_PATH": "/path/to/LakeXpress",        "FASTBCP_DIR_PATH": "/path/to/FastBCP/"      }    }  }}

Tools

preview_command

Build and preview any LakeXpress CLI command without executing it. Supports all 14 subcommands with full parameter validation.

execute_command

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

validate_auth_file

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

list_capabilities

List all supported source databases, log databases, storage backends, publishing targets, compression types, and available commands.

suggest_workflow

Given a use case (source DB type, storage destination, optional publish target), suggest the full sequence of LakeXpress commands with example parameters.

get_version

Report the detected LakeXpress binary version and capabilities.

Workflow Example

# 1. Initialize the log database (first-time setup)LakeXpress logdb init -a auth.json --log_db_auth_id export_db
# 2. Create a sync configurationLakeXpress config create -a auth.json --log_db_auth_id export_db \  --source_db_auth_id prod_db --source_schema_name sales \  --output_dir ./exports --compression_type Zstd
# 3. Execute the syncLakeXpress sync --sync_id <sync_id>
# 4. Check statusLakeXpress status -a auth.json --log_db_auth_id export_db --sync_id <sync_id>

Environment Variables

VariableDefaultDescription
LAKEXPRESS_PATH./LakeXpressPath to the LakeXpress binary
LAKEXPRESS_TIMEOUT3600Command execution timeout in seconds
LAKEXPRESS_LOG_DIR./logsDirectory for execution logs
FASTBCP_DIR_PATH(empty)Path to FastBCP binary directory (auto-fills fastbcp_dir_path parameter)
LOG_LEVELINFOLogging level (DEBUG, INFO, WARNING, ERROR)

Development

bash
# Install dev dependenciespip install -e ".[dev]"
# Run testspython -m pytest tests/ -v
# Run with coveragepython -m pytest tests/ -v --cov=src --cov-report=term-missing

License

MIT

來源:README.md,提交 7e6a085

工具

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

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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