Skip to main content
Glama

list_official_templates

Retrieve official ComfyUI workflow templates from the Comfy-Org repository, synced and converted to DSL format for workflow management.

Instructions

List official ComfyUI templates.

Returns templates from the official Comfy-Org repository that have been synced and converted to DSL format.

Returns: List of official template metadata

Examples: list_official_templates()

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'list_official_templates' MCP tool. It is decorated with @mcp.tool for automatic registration and delegates to template_manager.search_templates(source='official') to retrieve the list of official templates.
    @mcp.tool def list_official_templates() -> list[dict]: """List official ComfyUI templates. Returns templates from the official Comfy-Org repository that have been synced and converted to DSL format. Returns: List of official template metadata Examples: list_official_templates() """ try: # Get only official templates results = template_manager.search_templates(source="official") return results except Exception as e: raise ToolError(f"Error listing official templates: {e}")

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/christian-byrne/comfy-mcp'

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