mirror of
https://github.com/penpot/penpot.git
synced 2026-05-07 09:08:33 +00:00
Change isVariant() return type from boolean to 'this is LibraryVariantComponent', enabling TypeScript users to directly access variants, variantProps, and variantError after a type-narrowing check. Update MCP instructions with improved variant navigation guidance. Closes #9185 Co-authored-by: Claude (Anthropic) <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.