mirror of
https://github.com/penpot/penpot.git
synced 2026-05-14 20:43:55 +00:00
The ping interval was stored in a single variable shared across all WebSocket connections, so each new connection overwrote the previous handle and leaked the prior interval. Move the interval onto ClientConnection as a per-connection field, and centralize teardown in a new removeConnection(ws) method used by the close, error and duplicate token rejection paths. Resolves #9430
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.