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 10:23:46 +02:00
2025-10-08 00:10:26 +02:00
2025-09-10 15:21:14 +02:00

Penpot MCP Server

A Model Context Protocol (MCP) server that provides Penpot integration capabilities for AI clients supporting the model context protocol (MCP).

Setup

  1. Install Dependencies

     npm install
    
  2. Build the Project

     npm run build
    
  3. Run the Server

     npm start
    

Penpot Plugin API REPL

The MCP server includes a REPL interface for testing Penpot Plugin API calls. To use it, connect to the URL reported at startup.