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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- main.py:1469-1482 (handler)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/")