Skip to main content
Glama
aptro

Superset MCP Integration

by aptro

superset_sqllab_get_bootstrap_data

Retrieve SQL Lab configuration data including allowed databases and settings to initialize the SQL query interface in Apache Superset.

Instructions

Get the bootstrap data for SQL Lab

Makes a request to the /api/v1/sqllab/ endpoint to retrieve configuration data needed for the SQL Lab interface.

Returns: A dictionary with SQL Lab configuration including allowed databases and settings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'superset_sqllab_get_bootstrap_data' tool. It is decorated with @mcp.tool() for registration and makes a GET request to Superset's /api/v1/sqllab/ endpoint to fetch bootstrap configuration data for SQL Lab.
    @mcp.tool() @requires_auth @handle_api_errors async def superset_sqllab_get_bootstrap_data(ctx: Context) -> Dict[str, Any]: """ Get the bootstrap data for SQL Lab Makes a request to the /api/v1/sqllab/ endpoint to retrieve configuration data needed for the SQL Lab interface. Returns: A dictionary with SQL Lab configuration including allowed databases and settings """ return await make_api_request(ctx, "get", "/api/v1/sqllab/")

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