OZ

ocean-zhc/seatunnel-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

33 stars 10 forks 品質 66 トレンド 0Apache-2.0

ocean-zhc/seatunnel-mcp は https://github.com/ocean-zhc/seatunnel-mcp. からインポートされた MCP サーバーの候補です

概要

ocean-zhc/seatunnel-mcp は https://github.com/ocean-zhc/seatunnel-mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

ClaudeのようなLMインターフェイスを介してSeaTunnelと相互作用するためのモデルコンテキストプロトコル(MCP)サーバー。

##操作ビデオ

SeaTunnel MCPの機能と使用状況をよりよく理解するために、ビデオデモを提供します。 プロジェクトのドキュメンテーションディレクトリにある動画ファイルを直接ご確認ください。

[https://www.youtube.com/watch?v=JaLA8EkZD7Q]

ヒント: ビデオが直接再生しない場合は、デバイスがMP4形式をサポートし、モダンなブラウザまたはビデオプレーヤーで開くようにしてください。

##特徴

  • 業務管理(送金、停止、モニター) *システム監視および情報検索
  • REST API と SeaTunnel サービスとのやり取り *作り付けのロギングおよび監視用具 *動的接続構成 *包括的な求人情報と統計情報

インストール

要件

  • Pythonの≥ 3.12
  • Run SeaTunnelインスタンス
  • Node.js(MCPインスペクタのテスト用)

使用法

環境変数

動的接続構成

サーバは、実行時に接続設定を表示および更新するためのツールを提供します。

  • get-connection-settings: 現在の接続URLとAPIキーのステータスを表示

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

SeaTunnel MCP Server

A Model Context Protocol (MCP) server for interacting with SeaTunnel through LLM interfaces like Claude.

Operation Video

To help you better understand the features and usage of SeaTunnel MCP, we provide a video demonstration. Please refer to the link below or directly check the video file in the project documentation directory.

https://www.youtube.com/watch?v=JaLA8EkZD7Q

Tip: If the video does not play directly, make sure your device supports MP4 format and try opening it with a modern browser or video player.

Features

  • Job management (submit, stop, monitor)
  • System monitoring and information retrieval
  • REST API interaction with SeaTunnel services
  • Built-in logging and monitoring tools
  • Dynamic connection configuration
  • Comprehensive job information and statistics

Installation

# Clone repository
git clone 
cd seatunnel-mcp

# Create virtual environment and install
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install -e .

Requirements

  • Python ≥ 3.12
  • Running SeaTunnel instance
  • Node.js (for testing with MCP Inspector)

Usage

Environment Variables

SEATUNNEL_API_URL=http://localhost:8090  # Default SeaTunnel REST API URL
SEATUNNEL_API_KEY=your_api_key           # Optional: Default SeaTunnel API key

Dynamic Connection Configuration

The server provides tools to view and update connection settings at runtime:

  • get-connection-settings: View current connection URL and API key status
  • update-connection-settings: Update URL and/or API key to connect to a different SeaTunnel instance

Example usage through MCP:

// Get current settings
{
  "name": "get-connection-settings"
}

// Update connection settings
{
  "name": "update-connection-settings",
  "arguments": {
    "url": "http://new-host:8090",
    "api_key": "new-api-key"
  }
}

Job Management

The server provides tools to submit and manage SeaTunnel jobs:

  • submit-job: Submit a new job with job configuration
  • submit-jobs: Submit multiple jobs in batch
  • stop-job: Stop a running job
  • get-job-info: Get detailed information about a specific job
  • get-running-jobs: List all currently running jobs
  • get-finished-jobs: List all finished jobs by state (FINISHED, CANCELED, FAILED, etc.)

Running the Server

python -m src.seatunnel_mcp

Usage with Claude Desktop

To use this with Claude Desktop, add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "seatunnel": {
      "command": "python",
      "args": ["-m", "src.seatunnel_mcp"],
      "cwd": "Project root directory"
    }
  }
}

Testing with MCP Inspector

GitHub で README 全文を見る

インストール

npx @modelcontextprotocol/inspector python -m src.seatunnel_mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "seatunnel": { "command": "python", "args": ["-m", "src.seatunnel_mcp"], "cwd": "Project root directory" } } }