Skip to main content
Glama
aptro

Superset MCP Integration

by aptro

superset_dashboard_create

Create new dashboards in Apache Superset by specifying titles and configuration metadata to visualize data through the Superset MCP Integration server.

Instructions

Create a new dashboard in Superset

Makes a request to the /api/v1/dashboard/ POST endpoint to create a new dashboard.

Args: dashboard_title: Title of the dashboard json_metadata: Optional JSON metadata for dashboard configuration, can include layout, color scheme, and filter configuration

Returns: A dictionary with the created dashboard information including its ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dashboard_titleYes
json_metadataNo

Implementation Reference

  • main.py:547-568 (handler)
    The handler function that implements the superset_dashboard_create tool. It creates a new dashboard by sending a POST request to Superset's /api/v1/dashboard/ endpoint with the provided title and optional metadata.
    async def superset_dashboard_create( ctx: Context, dashboard_title: str, json_metadata: Dict[str, Any] = None ) -> Dict[str, Any]: """ Create a new dashboard in Superset Makes a request to the /api/v1/dashboard/ POST endpoint to create a new dashboard. Args: dashboard_title: Title of the dashboard json_metadata: Optional JSON metadata for dashboard configuration, can include layout, color scheme, and filter configuration Returns: A dictionary with the created dashboard information including its ID """ payload = {"dashboard_title": dashboard_title} if json_metadata: payload["json_metadata"] = json_metadata return await make_api_request(ctx, "post", "/api/v1/dashboard/", data=payload)

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aptro/superset-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server