superset_menu_get
Retrieve the navigation menu structure from Apache Superset based on user permissions to access available dashboards, charts, and datasets.
Instructions
Get the Superset menu data
Makes a request to the /api/v1/menu/ endpoint to retrieve the navigation menu structure based on user permissions.
Returns: A dictionary with menu items and their configurations
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- main.py:1752-1766 (handler)The handler function for the 'superset_menu_get' tool. It is decorated with @mcp.tool() for registration, @requires_auth for authentication check, and @handle_api_errors for error handling. The function makes a GET request to Superset's /api/v1/menu/ endpoint using the make_api_request helper to retrieve the navigation menu structure.@mcp.tool() @requires_auth @handle_api_errors async def superset_menu_get(ctx: Context) -> Dict[str, Any]: """ Get the Superset menu data Makes a request to the /api/v1/menu/ endpoint to retrieve the navigation menu structure based on user permissions. Returns: A dictionary with menu items and their configurations """ return await make_api_request(ctx, "get", "/api/v1/menu/")