Apache Superset MCP server

Bridges Apache Superset with TypeScript to enable direct interaction with data visualization dashboards, allowing querying, analysis, and visualization without context switching.
Back to servers
Provider
LiusCraft
Release date
Mar 16, 2025
Language
TypeScript
Stats
4 stars

This MCP server leverages Apache Superset's REST API to enable large language models to perform basic database queries through the Model Context Protocol.

Installation Options

Quick Start with NPX

The fastest way to get started is using npx:

npx -y https://github.com/LiusCraft/superset-mcp-server

You'll need to provide the following environment variables:

  • SUPERSET_URL
  • SUPERSET_USERNAME
  • SUPERSET_PASSWORD

Authentication method: ladp

Manual Installation

If you prefer to install manually, follow these steps:

Prerequisites

  • Node.js >= 14.0.0

Install Dependencies

npm install

Usage

Starting the Server

Choose one of the following options to launch the server:

# Run API client test
npm run src/examples/superset-example.ts

# Debug mode
npm run inspector

# Production mode
npm run build
npm start

Deployment

To deploy the MCP server:

  1. Build the project:
npm run build
  1. Set up the MCP configuration:
node path/to/build/index.js
  1. Start using the MCP

Features

The server provides several key capabilities for interacting with databases through large language models:

  • Query databases
  • Query tables
  • Query fields
  • Execute SQL statements

Configuration

Configuration files are located in the config directory and include settings for:

  • Database configuration
  • API configuration
  • Security configuration

For API documentation, refer to the official Superset Swagger documentation.

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later