MCP server

Penpot MCP Server: 68 Tools for Self-Hosted Penpot

The penpot-mcp-server MCP server gives an AI coding agent programmatic access to a self-hosted Penpot instance, from reading shapes and tokens to creating frames and exporting SVG.

Run
git clone https://github.com/ancrz/penpot-mcp-server.git
cd penpot-mcp-server
chmod +x setup.sh
./setup.sh
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the penpot-mcp-server MCP server?

penpot-mcp-server is an MCP server for self-hosted Penpot. It runs as a Docker container beside Penpot and exposes 68 tools over streamable HTTP at localhost:8787/mcp, so an AI coding agent can read, create, modify, comment on and export designs.

penpot-mcp-server (ancrz/penpot-mcp-server) is an MCP server for self-hosted Penpot. It gives AI agents full programmatic access to a Penpot instance over the Model Context Protocol, so an agent can create UI components, layouts and prototypes directly in Penpot.

The server runs as a Docker container next to your Penpot stack and is written in Python 3.13 with FastMCP. Agents connect to it over streamable HTTP at localhost:8787/mcp.

How it reads and writes designs

  • Reads go straight to PostgreSQL through asyncpg.
  • Writes go through the Penpot RPC API using httpx.
  • PNG and SVG exports use Penpot's exporter.
  • Live canvas access goes through the browser plugin bridge over WebSocket.

What the 68 tools cover

Tools are grouped by job: projects and teams, file operations, shape reading, components and tokens, comments, media and fonts, snapshots, export, shape creation, shape modification, text operations and advanced analysis.

The design-to-code side is covered too: generate CSS from any shape, export to SVG or PNG, and extract design tokens. Batch operations such as renaming shapes and updating colors cover repetitive work.

Interactive mode with the browser plugin

A browser plugin connects the agent to the live Penpot canvas. The agent can query which shapes you currently have selected and run JavaScript through the Penpot Plugin API. The headless tools work without the plugin.

Who the penpot-mcp-server MCP server is for

Best for

  • Teams that self-host Penpot with Docker Compose and want an AI agent working inside it.
  • Design system maintenance, where an agent reads and writes components, colors and typographies.
  • Design-to-code work that needs CSS from a shape, exported SVG or PNG, or extracted design tokens.