Skip to main content
Glama

Penpot MCP Server

by montevive

get_object_tree

Retrieve the hierarchical object tree structure and rendered screenshot of a Penpot object, specifying file ID, object ID, fields, depth, and output format for streamlined design analysis.

Instructions

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')

Input Schema

NameRequiredDescriptionDefault
depthNo
fieldsYes
file_idYes
formatNojson
object_idYes

Input Schema (JSON Schema)

{ "properties": { "depth": { "default": -1, "title": "Depth", "type": "integer" }, "fields": { "items": { "type": "string" }, "title": "Fields", "type": "array" }, "file_id": { "title": "File Id", "type": "string" }, "format": { "default": "json", "title": "Format", "type": "string" }, "object_id": { "title": "Object Id", "type": "string" } }, "required": [ "file_id", "object_id", "fields" ], "title": "get_object_treeArguments", "type": "object" }

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/montevive/penpot-mcp'

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