Penpot MCP
Skills
get_file
Retrieve a Penpot file by its ID and cache it. Don't use this tool for code generation, use 'get_object_tree' instead. Args: file_id: The ID of the Penpot file
export_object
Export a Penpot design object as an image. Args: file_id: The ID of the Penpot file page_id: The ID of the page containing the object object_id: The ID of the object to export export_type: Image format (png, svg, etc.) scale: Scale factor for the exported image
list_projects
Retrieve a list of all available Penpot projects.
penpot_schema
Provide the Penpot API schema as JSON.
search_object
Search for objects within a Penpot file by name. Args: file_id: The ID of the Penpot file to search in query: Search string (supports regex patterns)
get_object_tree
Get the object tree structure for a Penpot object ("tree" field) with rendered screenshot image of the object ("image.mcp_uri" field). Args: file_id: The ID of the Penpot file object_id: The ID of the object to retrieve fields: Specific fields to include in the tree (call "penpot_tree_schema" resource/tool for available fields) depth: How deep to traverse the object tree (-1 for full depth) format: Output format ('json' or 'yaml')
get_cached_files
List all files currently stored in the cache.
get_project_files
Get all files contained within a specific Penpot project. Args: project_id: The ID of the Penpot project
penpot_tree_schema
Provide the Penpot object tree schema as JSON.
get_rendered_component
Return a rendered component image by its ID.