AS

aptro/superset-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

195 stars 58 forks Качество 58 Тренд 17MIT

aptro/superset-mcp — это кандидат-сервер MCP, импортированный из https://github.com/aptro/superset-mcp.

Обзор

aptro/superset-mcp — это кандидат-сервер MCP, импортированный из https://github.com/aptro/superset-mcp.

Обзор (машинный перевод)

MCP-сервер для взаимодействия с Apache Superset, позволяющий агентам искусственного интеллекта подключаться к экземпляру Superset и управлять ним программно.

Инструкции по настройке

Установка через Smithery

Чтобы автоматически установить Superset Integration for Claude Desktop через Smithery:

Ручная установка

  1. Локально настроить супермножество

Запустите этот скрипт, чтобы запустить Superset локально:

После запуска Superset вы должны иметь доступ к нему по адресу http://localhost:8088 с учётными данными по умолчанию:

  • Имя пользователя: admin
  • Пароль: admin
  1. Клонировать этот репозиторий

Клонируйте этот репозиторий на ваш локальный компьютер.

  1. Настройка переменных среды

Создайте файл .env в корневой папке с учётными данными Superset:

  1. Установка зависимостей

  2. Установка MCP Config для Claude

Для использования с приложением Claude Desktop:

Использование с Клодом

После настройки вы можете взаимодействовать с вашим экземпляром Superset через Claude с помощью запросов на естественном языке. Вот несколько примеров:

Управление панелями управления

  • Просмотреть дашборды: «Покажи мне все мои панели управления Superset»
  • Получить детали дашборда: «Покажите мне детали панели с ID 5»

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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”
Открыть полный README на GitHub

Установка

npx -y @smithery/cli install @aptro/superset-mcp --client claude
Новичок в MCP? Начните с руководства на mcpskill.org →