Skip to main content
Glama
sketch-hq

Sketch MCP

Official
by sketch-hq
README.md
# Sketch MCP

The official Sketch MCP server that allows AI clients to interact with your designs:

- Explore designs and Libraries — compare code to components to Sketch and fix inconsistencies
- Expand and iterate on existing designs — try out new directions, generate alternative flows, and more
- Replace placeholders with lifelike data, or even pull from real data sets
- Organize and export assets
- Generate screens and components as code
- …and [much more](https://www.sketch.com/blog/mcp-server-use-cases/).

> [!NOTE]
> This server communicates with the Sketch app, so please ensure the app is running and [the MCP Server option](https://www.sketch.com/docs/mcp-server/) is turned on.

## Usage

### Claude Desktop (Mac)

1. Go to Customize > Connectors, press the `+` button, choose "Browse connectors".
2. Search for "Sketch" and press "Install".

## Development

From a technical standpoint this is an stdio MCP server that simply forwards messages to and from the local Streamable HTTP MCP server that is part of the Sketch Mac app. This "proxy" server is needed for clients like Claude Desktop that only support stdio and _encrypted_ (HTTPS) remote MCPs.

### Setup

```bash
npm ci
```

### Run the server

1. Launch Sketch and activate the MCP server option.
2. `npm run start`

### Archive

This will generate the `.mcpb` archive ready for distribution:

```bash
npm run pack
```

TDQS

B3.4/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have completely different purposes: one captures a visual representation of selected layers, the other executes arbitrary scripts. There is no overlap or ambiguity.

Naming Consistency5/5

Both tool names follow a consistent verb_noun pattern using snake_case: get_selection_as_image and run_code. The naming is clear and predictable.

Tool Count2/5

With only 2 tools, the server feels underpowered for a design tool like Sketch. Typical MCP servers have at least a handful of tools covering core operations.

Completeness2/5

The server lacks obvious operations for a Sketch MCP (e.g., creating layers, modifying documents, exporting). The run_code tool acts as a catch-all, but the surface is incomplete for structured workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues