Skip to main content
Glama
aptro

Superset MCP Integration

by aptro

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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/")

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