WS

winding2020/superset-mcp

Analytics & monitoring

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

24 stars 6 forks 품질 62 트렌드 8

Apache Superset datasets, 메트릭, SQL 쿼리를 관리하기위한 모델 Context Protocol (MCP) 서버.

개요

Apache Superset datasets, 메트릭, SQL 쿼리를 관리하기위한 모델 Context Protocol (MCP) 서버. - : Superset datasets용 Full CRUD 운영 - : Create, update, and manage dataset metrics - : datasets에 대한 계산된 열 생성 및 관리 - : 차트 시각화 매개 변수 및 필터 - : Access 대쉬보드 정보, 차트 및 필터 - : Superset을 통해 SQL 쿼리를 직접 실행 - : 데이터베이스 연결 목록 및 관리 - : 데이터셋, 데이터베이스 및 MCP 리소스를 통한 메트릭 - 노드.

개요(AI 번역)

Apache Superset datasets, 메트릭, SQL 쿼리를 관리하기위한 모델 Context Protocol (MCP) 서버.

한국어

♨ 특징

  • Dataset 관리: Superset 데이터셋을위한 전체 CRUD 작업
  • Metrics Management: Dataset 메트릭스 생성, 업데이트 및 관리 -Calculated Columns: datasets에 대한 계산된 열 생성 및 관리
  • Chart Management: 차트 시각화 매개 변수 및 필터를 보고 수정
  • **Dashboard 운영 **: Access 대시보드 정보, 차트 및 필터
  • ** SQL Query 실행 **: Superset을 통해 SQL 쿼리를 직접 실행
  • Database Integration: 데이터베이스 연결 목록 및 관리
  • ** 자원 액세스 ** : MCP 리소스를 통해 데이터셋, 데이터베이스 및 메트릭스 검색

Pre Pre

  • 노드.js 18+
  • Apache Superset 인스턴스에 접근
  • 유효한 Superset credentials (username/password 또는 접근 토큰)

672️ 설치

Cursor 또는 Claude 데스크탑 사용

###1. MCP 구성에 추가 MCP 설정 파일에 다음 구성 추가:

###2 환경 변수 MCP 구성의 env] 섹션을 업데이트하여 Superset 연결 구성:

Alternative: Access Token 사용

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Superset MCP Server

A Model Context Protocol (MCP) server for managing Apache Superset datasets, metrics, and SQL queries.

📖 中文文档

🚀 Features

  • Dataset Management: Full CRUD operations for Superset datasets
  • Metrics Management: Create, update, and manage dataset metrics
  • Calculated Columns: Create and manage calculated columns for datasets
  • Chart Management: View and modify chart visualization parameters and filters
  • Dashboard Operations: Access dashboard information, charts, and filters
  • SQL Query Execution: Execute SQL queries directly through Superset
  • Database Integration: List and manage database connections
  • Resource Access: Browse datasets, databases, and metrics through MCP resources

📋 Prerequisites

  • Node.js 18+
  • Access to an Apache Superset instance
  • Valid Superset credentials (username/password or access token)

🛠️ Installation

Using with Cursor or Claude Desktop

1. Add to MCP Configuration

Add the following configuration to your MCP settings file:

{
  "mcpServers": {
    "superset-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "superset-mcp"
      ],
      "env": {
        "SUPERSET_BASE_URL": "",
        "SUPERSET_USERNAME": "",
        "SUPERSET_PASSWORD": ""
      }
    }
  }
}

2. Environment Variables

Configure your Superset connection by updating the env section in the MCP configuration:

"env": {
  "SUPERSET_BASE_URL": "your-superset-url",
  "SUPERSET_USERNAME": "your_username",
  "SUPERSET_PASSWORD": "your_password",
}

Alternative: Using Access Token

"env": {
  "SUPERSET_BASE_URL": "your-superset-url",
  "SUPERSET_ACCESS_TOKEN": "your_access_token"
}

🔧 Available Tools

Dataset Operations

Tool Description
list_datasets Get paginated list of all datasets with filtering and sorting
get_dataset Get detailed information for a specific dataset
create_dataset Create a new dataset (physical or virtual with SQL)
update_dataset Update existing dataset properties
delete_dataset Delete a dataset
refresh_dataset_schema Refresh dataset schema from source database
find_and_replace_in_sql Find and replace text in virtual dataset SQL

Metrics Operations

Tool Description
get_dataset_metrics Get all metrics for a dataset
create_dataset_metric Create a new metric with SQL expression
update_dataset_metric Update existing metric properties
delete_dataset_metric Delete a metric

Calculated Columns Operations

Tool Description
get_dataset_columns Get column information (including calculated columns)
create_calculated_column Create a new calculated column with SQL expression
update_calculated_column Update existing calculated column
GitHub에서 전체 README 보기

설치

npx -y superset-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "superset-mcp": { "command": "npx", "args": [ "-y", "superset-mcp" ], "env": { "SUPERSET_BASE_URL": "", "SUPERSET_USERNAME": "", "SUPERSET_PASSWORD": "" } } } }