mirror of
https://github.com/penpot/penpot.git
synced 2026-11-27 05:10:32 +00:00
* 🐛 Add opt-in MCP JSON replies and deliver pending outcomes on shutdown Stateless legacy POST requests can opt in to a single correlated JSON reply with PENPOT_MCP_JSON_RESPONSE=true; SSE remains the default. Shutdown now rejects pending plugin tasks before closing HTTP connections and gives in-flight requests a bounded grace period to send their replies, so a tool call interrupted by shutdown reports an unknown outcome instead of a dropped stream (both JSON and SSE). Tool execution failures now set isError on the MCP result. Refs #12497 AI-assisted-by: claude-opus-5-5 * 📎 Give the 100-round JSON reply test room on loaded CI machines AI-assisted-by: claude-opus-5-5
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.