Skip to content

Connect Penpot to Claude 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

  • Claude 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@stable in a terminal and leave it running (Node.js 22 is tested). In Penpot, open Plugins → Load from URL, enter http://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.
  1. Step 1: Add Penpot to Claude Code

    Add it from the terminal

    Run this in your project folder. It saves the server for you, in this project only.

    Terminal
    claude mcp add --transport http penpot http://localhost:4401/mcp

    Or share it with your team

    Add this to .mcp.json at the project root and commit it. Teammates approve it the first time Claude Code starts.

    .mcp.json
    {
      "mcpServers": {
        "penpot": {
          "type": "http",
          "url": "http://localhost:4401/mcp"
        }
      }
    }
    Good to know
    • The desktop app must be open for the server to respond.
  2. Step 2: Check it's connected

    Terminal
    claude mcp list

    Start a session and run /mcp to see the server, its status and its tools.

  3. Step 3: Try a first request

    Ask Claude Code something that only works with Penpot connected:

    Say to Claude Code
    Describe the boards on the Penpot page I have open, then list the colours and fonts they use.

If it doesn't work

  • Servers in a project .mcp.json stay inactive until you approve them the first time Claude Code starts in that folder.
  • claude mcp add saves to the local scope by default: only you, only this project. Add --scope user to use it in every project.
  • If a server shows as failed, run claude --debug to see its startup output.