Connect Penpot to VS Code
Open-source design and prototyping tool that runs in the browser or on your own server. Its official MCP server lets agents read and change the page you have open.
MCP serverOfficialChecked 2026-11-16
Before you start
- VS Code installed (see its MCP documentation (opens in a new tab)).
- Penpot is available on macOS, Windows, Linux and the web. Keep its desktop app open while you work.
- Run
npx -y @penpot/mcp@stablein a terminal and leave it running (Node.js 22 is tested). In Penpot, open Plugins → Load from URL, enterhttp://localhost:4400/manifest.json, then click Connect to MCP server and keep the plugin open. The agent works on the focused page of one open Penpot tab. Penpot also offers a hosted server, but its URL contains your key, so keep that out of committed config files.
Step 1: Add Penpot to VS Code
Add it from the terminal
Adds the server to your VS Code profile, so it works in every workspace.
Terminal code --add-mcp '{"name":"penpot","type":"http","url":"http://localhost:4401/mcp"}'Or add it to the workspace
Add this to
.vscode/mcp.jsonand commit it to share it with your team..vscode/mcp.json { "servers": { "penpot": { "type": "http", "url": "http://localhost:4401/mcp" } } }Good to know- The desktop app must be open for the server to respond.
Step 2: Check it's connected
Run MCP: List Servers from the Command Palette, then open Copilot Chat in Agent mode and check the tools picker.
Step 3: Try a first request
Ask VS Code something that only works with Penpot connected:
Say to VS Code Describe the boards on the Penpot page I have open, then list the colours and fonts they use.
If it doesn't work
- VS Code asks you to trust a server the first time it starts. Accept it, or the tools stay hidden.
code --add-mcpwrites to your user profile, so the server works in every workspace.- Use MCP: List Servers → Show Output to see startup errors.





