mirror of
https://github.com/penpot/penpot.git
synced 2026-05-13 12:04:06 +00:00
Adds a new MCP tool (devenv-only) that imports .penpot files into the running Penpot instance. The tool downloads the file from a given URL, stages it in the frontend's static directory, and triggers the import via the ClojureScript REPL using the frontend's web worker infrastructure. The temporary file is cleaned up after the import completes or fails. Registered alongside CljsReplTool, sharing the same NreplClient instance. Github #9217 Co-authored-by: Claude <noreply@anthropic.com>
Penpot MCP Server
A Model Context Protocol (MCP) server that provides Penpot integration capabilities for AI clients supporting the model context protocol (MCP).
Setup
-
Install Dependencies
pnpm install -
Build the Project
pnpm run build -
Run the Server
pnpm run 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.