Atlas / MCP servers / jshmllr / Sketch Context

Sketch ContextSAFE

mcp/jshmllr/sketch-context

MCP server to provide Sketch layout information to AI coding agents like Cursor

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
5 3r · 2w · 0d
Transport
—
License
MIT
Stars
72
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[!NOTE] This repository has been archived as of February 5, 2026. Please refer to the official Sketch MCP at https://www.sketch.com/docs/mcp-server/
Note: This project was currently in dev/testing phase and was not fully stable.

A Model Context Protocol (MCP) server for integrating Sketch designs with IDEs such as Cursor, Cline, or Windsurf.

Overview

This tool allows Cursor IDE to access and interpret Sketch design files, enabling AI-powered design-to-code workflows. It works by:

  1. Providing a server that parses Sketch files (.sketch)
  2. Implementing the MCP protocol that Cursor or other IDEs use for context
  3. Allowing you to reference specific components and layers from your Sketch files
  4. Providing a UI interface for Sketch that communicates with Cursor
  5. Enabling real-time bidirectional communication between Sketch and Cursor

Components

This project consists of two main components:

  1. MCP Server: A Node.js server that implements the Model Context Protocol to provide Sketch file data to Cursor IDE
  2. Sketch Plugin: A Sketch plugin with UI interface that communicates with the MCP server via WebSockets

Available MCP Tools

The server provides the following tools to Cursor:

  • get_file: Retrieve contents of a Sketch file or specific node within it
  • list_components: List all components/symbols in a Sketch file
  • get_selection: Get information about currently selected elements
  • create_rectangle: Create new rectangles with specified dimensions and properties
  • create_text: Create new text elements with custom content and styling

These tools enable Cursor to:

  • Access and inspect Sketch design files
  • Query specific components and layers
  • Create and modify design elements through
Read from source at commit 78a002ecc29dOBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add sketch-context-mcp --env SKETCH_API_KEY=${SKETCH_API_KEY} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "sketch-context-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "SKETCH_API_KEY": "${SKETCH_API_KEY}"
      }
    }
  }
}
03

Exposed tools (5)

3 read · 2 write · 0 destructive.

ToolRiskDescription
create_rectanglewriteCreate a new rectangle in the Sketch document
create_textwriteCreate a new text layer in the Sketch document
get_filereadGet the contents of a Sketch file
get_selectionreadGet information about selected elements in a Sketch document
list_componentsreadList all components in a Sketch file
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (5 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (4)

LOWObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
sketch-selection-helper.sketchplugin/Contents/Resources/UI.html:207
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAOISURBVHgBrZdLbExRGMf/d++dmU5nKFOdYqpT08aziCdJI7qwaES6IKTEo
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
adm-zip, body-parser, cors, dotenv, express, node-fetch, tmp, yargs
Why it matters. 11 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
README.md:129
Use your Sketch Cloud credentials (email and password) to generate an access token by making a POST request to the authentication endpoint:
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
README.md:132
curl -X "POST" "https://auth.sketch.cloud/oauth/token" \
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 78a002ecc29dfull audit observations/trust-audit/mcp-server/jshmllr__sketch-context.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-0778a002ecc29dSAFEB89first audit
06

Questions

What is the Sketch Context MCP server?

MCP server to provide Sketch layout information to AI coding agents like Cursor

What tools does Sketch Context expose?

5 in total: 3 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Sketch Context safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Sketch Context need?

It reads SKETCH_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How current is this page?

The grade is for one exact copy of the source (78a002ecc29d), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement