AS

aptro/superset-mcp

Developer tools

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

195 stars 58 forks 品質 58 トレンド 17MIT

aptro/superset-mcpは、https://github.com/aptro/superset-mcp.からインポートされたMCPサーバー候補です。

概要

aptro/superset-mcpは、https://github.com/aptro/superset-mcp.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

Apache Supersetとやり取りするためのMCPサーバーで、AIエージェントがSupersetインスタンスに接続し、プログラム的に制御できるようにします。

セットアップ手順

Smithery経由のインストール

Smithery経由でClaude Desktop用のSuperset Integrationを自動的にインストールするには:

手動インストール

  1. ローカルでスーパーセットを設定する

このスクリプトを実行して、Supersetをローカルで起動します:

Supersetが起動すると、デフォルトの認証情報でhttp://localhost:8088でアクセスできるはずです:

  • ユーザー名:admin
  • パスワード:admin
  1. このリポジトリをクローン

このリポジトリをローカルマシンにクローンしてください。

  1. 環境変数の設定

ルートディレクトリにSupersetの認証情報で.envファイルを作成します:

  1. 依存関係をインストールする

  2. Claude用のMCP設定をインストールする

Claude Desktopアプリで使う場合:

クロードでの使用について

セットアップ後は、Claudeを通じて自然言語リクエストを使ってSupersetインスタンスとやり取りできます。以下はいくつかの例です:

ダッシュボード管理

  • ダッシュボードを表示:「すべてのSupersetダッシュボードを見せてください」
  • ダッシュボードの詳細を取得:「ID 5のダッシュボードの詳細を表示してください」

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

README

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

Superset MCP Integration

MCP server for interacting with Apache Superset, enabling AI agents to connect to and control a Superset instance programmatically.

Setup Instructions

Installing via Smithery

To install Superset Integration for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @aptro/superset-mcp --client claude

Manual Installation

  1. Set Up Superset Locally

    Run this script to start Superset locally:

    git clone --branch 4.1.1 --depth 1 https://github.com/apache/superset && \
    cd superset && \
    docker compose -f docker-compose-image-tag.yml up
    

    Once Superset is running, you should be able to access it at http://localhost:8088 with default credentials:

    • Username: admin
    • Password: admin
  2. Clone This Repository

    Clone this repository to your local machine.

  3. Configure Environment Variables

    Create a .env file in the root directory with your Superset credentials:

    SUPERSET_BASE_URL=http://localhost:8088  # Change to your Superset URL
    SUPERSET_USERNAME=your_username
    SUPERSET_PASSWORD=your_password
    
  4. Install Dependencies

    uv pip install .
    
  5. Install MCP Config for Claude

    To use with Claude Desktop app:

    mcp install main.py
    

Usage with Claude

After setup, you can interact with your Superset instance via Claude using natural language requests. Here are some examples:

Dashboard Management

  • View dashboards: “Show me all my Superset dashboards”
  • Get dashboard details: “Show me the details of dashboard with ID 5”
  • Create dashboard: “Create a new dashboard titled ‘Sales Overview’”
  • Update dashboard: “Update dashboard 3 to have the title ‘Updated Sales Report’”
  • Delete dashboard: “Delete dashboard with ID 7”

Chart Management

  • List all charts: “What charts do I have in my Superset instance?”
  • View chart details: “Show me the details of chart with ID 10”
  • Create chart: “Create a new bar chart using dataset 3”
  • Update chart: “Update chart 5 to use a line visualization instead of bar”
  • Delete chart: “Delete chart with ID 12”

Database and Dataset Operations

  • List databases: “Show me all databases connected to Superset”
  • List datasets: “What datasets are available in my Superset instance?”
  • Get database tables: “What tables are available in database with ID 1?”
  • Execute SQL: “Run this SQL query on database 1: SELECT * FROM users LIMIT 10”
  • Create dataset: “Create a new dataset from table ‘customers’ in database 2”
  • Update database: “Update the connection settings for database 3”
  • Delete database: “Delete database connection with ID 4”
GitHub で README 全文を見る

インストール

npx -y @smithery/cli install @aptro/superset-mcp --client claude
MCP 初心者?mcpskill.org のガイドから始めましょう →