Skip to main content
Glama
aptro

Superset MCP Integration

by aptro

superset_dashboard_delete

Remove dashboards from Apache Superset by making DELETE requests to the API. This permanent action deletes dashboards using their ID.

Instructions

Delete a dashboard

Makes a request to the /api/v1/dashboard/{id} DELETE endpoint to remove a dashboard. This operation is permanent and cannot be undone.

Args: dashboard_id: ID of the dashboard to delete

Returns: A dictionary with deletion confirmation message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dashboard_idYes

Implementation Reference

  • main.py:594-618 (handler)
    The main handler function for the 'superset_dashboard_delete' tool. It uses the make_api_request helper to send a DELETE request to the Superset API endpoint /api/v1/dashboard/{dashboard_id}, handles the response, and returns a success message if deletion succeeds.
    @mcp.tool() @requires_auth @handle_api_errors async def superset_dashboard_delete(ctx: Context, dashboard_id: int) -> Dict[str, Any]: """ Delete a dashboard Makes a request to the /api/v1/dashboard/{id} DELETE endpoint to remove a dashboard. This operation is permanent and cannot be undone. Args: dashboard_id: ID of the dashboard to delete Returns: A dictionary with deletion confirmation message """ response = await make_api_request( ctx, "delete", f"/api/v1/dashboard/{dashboard_id}" ) # For delete endpoints, we may want a custom success message if not response.get("error"): return {"message": f"Dashboard {dashboard_id} deleted successfully"} return response

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