Skip to main content
Glama
aptro

Superset MCP Integration

by aptro

superset_user_get_current

Retrieve the profile, permissions, and preferences of the currently authenticated user in Apache Superset.

Instructions

Get information about the currently authenticated user

Makes a request to the /api/v1/me/ endpoint to retrieve the user's profile information including permissions and preferences.

Returns: A dictionary with user profile data

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function implementing the 'superset_user_get_current' tool. It fetches the current authenticated user's profile information from the Superset API endpoint '/api/v1/me/' using the shared make_api_request helper. Includes decorators for tool registration (@mcp.tool()), authentication requirement (@requires_auth), and error handling (@handle_api_errors). No separate input schema validation; relies on the general MCP framework.
    @mcp.tool() @requires_auth @handle_api_errors async def superset_user_get_current(ctx: Context) -> Dict[str, Any]: """ Get information about the currently authenticated user Makes a request to the /api/v1/me/ endpoint to retrieve the user's profile information including permissions and preferences. Returns: A dictionary with user profile data """ return await make_api_request(ctx, "get", "/api/v1/me/")

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