Skip to main content
Glama
aptro

Superset MCP Integration

by aptro

superset_tag_create

Create new tags in Apache Superset to organize and categorize charts, dashboards, and other objects for better content management and discovery.

Instructions

Create a new tag in Superset

Makes a request to the /api/v1/tag/ POST endpoint to create a new tag that can be applied to objects like charts and dashboards.

Args: name: Name for the tag

Returns: A dictionary with the created tag information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes

Implementation Reference

  • The main handler function for the 'superset_tag_create' tool. It is decorated with @mcp.tool() for registration and implements the logic to create a new tag by making a POST request to Superset's /api/v1/tag/ endpoint using the shared make_api_request helper.
    @mcp.tool()
    @requires_auth
    @handle_api_errors
    async def superset_tag_create(ctx: Context, name: str) -> Dict[str, Any]:
        """
        Create a new tag in Superset
    
        Makes a request to the /api/v1/tag/ POST endpoint to create a new tag
        that can be applied to objects like charts and dashboards.
    
        Args:
            name: Name for the tag
    
        Returns:
            A dictionary with the created tag information
        """
        payload = {"name": name}
        return await make_api_request(ctx, "post", "/api/v1/tag/", data=payload)
Install Server

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