mirror of
https://github.com/penpot/penpot.git
synced 2026-03-11 21:06:48 +00:00
* ✨ Reintroduce proper session management for /mcp endpoint Reuse transport and server instance based on session ID in header * ✨ Periodically clean up stale streamable HTTP sessions Add class StreamableSession to improve type clarity * ✨ Avoid recreation of objects when instantiating McpServer instances Precompute the initial instructions and all tool-related data * ✨ Improve logging of tool executions
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.