Skip to main content
Glama
chrishayuk
by chrishayuk

remotion_get_component_schema

Retrieve detailed schema for video components including properties, variants, animations, and usage examples to understand component structure and implementation requirements.

Instructions

Get detailed schema for a specific component.

Returns the complete schema including all properties, variants, animations,
and usage examples for a single component.

Args:
    component_name: Name of the component (e.g., "LowerThird", "TitleScene")

Returns:
    JSON object with component schema and examples

Example:
    schema = await remotion_get_component_schema(component_name="LowerThird")
    # Returns full schema for lower third component including all variants

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
component_nameYes

Implementation Reference

  • The main handler function for the 'remotion_get_component_schema' tool, decorated with @mcp.tool for automatic registration in the MCP server. It retrieves the detailed schema (as JSON) for a specified Remotion component from the COMPONENT_REGISTRY and returns it as a string. Handles missing components with an error message.
    @mcp.tool  # type: ignore[arg-type]
    async def remotion_get_component_schema(component_name: str) -> str:
        """
        Get detailed schema for a specific component.
    
        Returns the complete schema including all properties, variants, animations,
        and usage examples for a single component.
    
        Args:
            component_name: Name of the component (e.g., "LowerThird", "TitleScene")
    
        Returns:
            JSON object with component schema and examples
    
        Example:
            schema = await remotion_get_component_schema(component_name="LowerThird")
            # Returns full schema for lower third component including all variants
        """
    
        def _get_schema():
            if component_name not in COMPONENT_REGISTRY:
                return json.dumps({"error": f"Component '{component_name}' not found"})
    
            return json.dumps(COMPONENT_REGISTRY[component_name], indent=2)
    
        return await asyncio.get_event_loop().run_in_executor(None, _get_schema)

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/chrishayuk/chuk-mcp-remotion'

If you have feedback or need assistance with the MCP directory API, please join our Discord server