Skip to main content
Glama
aptro

Superset MCP Integration

by aptro

superset_dashboard_update

Modify existing dashboard properties like title, slug, owners, position, and metadata in Apache Superset through API requests.

Instructions

Update an existing dashboard

Makes a request to the /api/v1/dashboard/{id} PUT endpoint to update dashboard properties.

Args: dashboard_id: ID of the dashboard to update data: Data to update, can include dashboard_title, slug, owners, position, and metadata

Returns: A dictionary with the updated dashboard information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dashboard_idYes
dataYes

Implementation Reference

  • main.py:570-592 (handler)
    The main handler function for the 'superset_dashboard_update' tool. It authenticates, handles errors, and makes a PUT request to the Superset API endpoint /api/v1/dashboard/{dashboard_id} to update the specified dashboard with the provided data.
    @mcp.tool() @requires_auth @handle_api_errors async def superset_dashboard_update( ctx: Context, dashboard_id: int, data: Dict[str, Any] ) -> Dict[str, Any]: """ Update an existing dashboard Makes a request to the /api/v1/dashboard/{id} PUT endpoint to update dashboard properties. Args: dashboard_id: ID of the dashboard to update data: Data to update, can include dashboard_title, slug, owners, position, and metadata Returns: A dictionary with the updated dashboard information """ return await make_api_request( ctx, "put", f"/api/v1/dashboard/{dashboard_id}", data=data )

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