penpot-mcp/penpot-plugin
Dominik Jain 3dc2411130 Extend ExportShapeTool to support the export of image fill content
Add new tool parameter `mode` ("shape" or "fill") to support this

Since the fill's format is not guaranteed to be PNG, include dependency
`sharp` to handle image format conversion

Because the export logic has become more complex, introduce
PenpotUtils.exportImage utility function for minimal code to be
sent to the plugin for execution

Resolves #12
2026-01-14 16:15:36 +01:00
..
2025-09-10 15:34:22 +02:00
2026-01-13 20:12:19 +01:00
2026-01-13 20:12:19 +01:00
2025-09-11 11:37:25 +02:00

Penpot MCP Plugin

This project contains a Penpot plugin that accompanies the Penpot MCP server. It connects to the MCP server via WebSocket, subsequently allowing the MCP server to execute tasks in Penpot using the Plugin API.

Setup

  1. Install Dependencies

     npm install
    
  2. Build the Project

     npm run build
    
  3. Start a Local Development Server

     npm run dev start
    

    This will start a local development server at http://localhost:4400.