Mehmet Yağız Maktav 01a7342f4b
🐛 Add opt-in MCP JSON replies and deliver pending outcomes on shutdown (#12492)
* 🐛 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
2026-11-24 14:59:38 +01:00
..
2026-04-20 19:37:02 +02:00
2026-11-20 09:53:37 +01:00
2026-02-04 12:22:36 +01:00
2026-06-30 16:15:30 +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

     pnpm install
    
  2. Build the Project

     pnpm run build
    
  3. 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.