mirror of
https://github.com/penpot/penpot-mcp.git
synced 2026-04-25 11:18:37 +00:00
Replace CLI parameters with environment variables, keeping only --multi-user and --help Environment variables: - PENPOT_MCP_SERVER_PORT (new, replaces CLI param) - PENPOT_MCP_WEBSOCKET_PORT (new) - PENPOT_MCP_REPL_PORT (new) - PENPOT_MCP_SERVER_ADDRESS (new) - PENPOT_MCP_REMOTE_MODE (existing) - PENPOT_MCP_LOG_LEVEL (renamed from LOG_LEVEL, replaces CLI param) - PENPOT_MCP_LOG_DIR (renamed from LOG_DIR, replaces CLI param) - PENPOT_MCP_PLUGIN_SERVER_LISTEN_ADDRESS (renamed from PENPOT_MCP_PLUGIN_SERVER_ALLOWED_HOSTS) Additional changes: - Plugin now constructs WebSocket URL from server address and port (replaces PENPOT_MCP_WEBSOCKET_URL) - Use configured server address in all startup log messages - Document all configuration options in README.md
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
npm install -
Build the Project
npm run build -
Run the Server
npm 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.