Skip to main content
Glama

Penpot MCP Server

by montevive

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort on which the MCP server will run5000
DEBUGNoEnable debug mode for additional loggingtrue
PENPOT_API_URLNoThe URL of the Penpot APIhttps://design.penpot.app/api
PENPOT_PASSWORDYesYour Penpot password for authentication
PENPOT_USERNAMEYesYour Penpot username for authentication

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
server_infoProvide information about the server.

Tools

Functions exposed to the LLM to take actions

NameDescription
list_projects

Retrieve a list of all available Penpot projects.

get_project_files

Get all files contained within a specific Penpot project.

Args: project_id: The ID of the Penpot project
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
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')

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

Provide the Penpot API schema as JSON.

penpot_tree_schema

Provide the Penpot object tree schema as JSON.

get_rendered_component

Return a rendered component image by its ID.

get_cached_files

List all files currently stored in the cache.

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