Sketch MCP Server: let Claude, Cursor and Codex work in your Sketch files
Lets Claude, Cursor, Codex or VS Code read, edit and export the Sketch documents you have open on your Mac.
This is Sketch's own server, built into the Sketch Mac app. Once you start it, your assistant can look at your open documents, take screenshots of layers, export assets and run Sketch scripts that change your designs. It only runs on your Mac and is off until you turn it on. You need the Sketch app from sketch.com, version 2025.2.4 or later, since the Mac App Store version does not include it.
Good for
- Designers who want an assistant to fix copy, replace text or explain a layout
- Developers turning Sketch frames into React or other code from their editor
- Design system owners auditing symbols, styles and unused components
- Teams exporting icons and assets for developer handoff
Works in
5 supported · 7 should work
Tap an app to see how to set it up and any known problems.
Sketch's docs cover it: start the server in Sketch, then add the local address with one command. sketch.com
Install the Sketch extension from Claude's Settings, under Extensions, then Browse Extensions. sketch.com
Sketch's docs cover it: add the local address to your Cursor MCP file. sketch.com
Sketch's docs cover it: add an HTTP server with the local address for Copilot. sketch.com
Sketch's docs cover it: add the local address to your Codex config file. sketch.com
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Supports hosted MCP servers.
Client does not support this transport.
Client does not support this transport.
Install Sketch MCP
Claude Code
- 1
Copy this prompt.
Add the Sketch MCP server to Claude Code. Run this command: claude mcp add --transport http sketch http://localhost:31126/mcp Then check that it loaded and tell me if I need to sign in or restart.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Sketch 2025.2.4+ from sketch.com, MCP Server started in Sketch.
Read-only mode: There's no read-only mode. Have your app ask before each Sketch action, and keep a saved version of your file before large changes.
Check it with claude mcp get sketch. Start the server first: in Sketch press Command-K, type MCP and choose Start MCP Server, and allow Local Network access if macOS asks.
From the vendor's docs. Source.
Tools
Gives an overview of the open document: pages, frames and layer counts
Summarizes the document you have open: its name, each page, how many layers it has, and the main frames with their size and position.
Try: “Give me an overview of the pages and frames in my open Sketch document”
Read ·
get_document_infoShows the layer structure of a frame or page as a readable tree
Lists the layers under a frame or page as a tree, with each layer's type, size, position, text and stack settings, so the assistant knows how a design is built.
Try: “Show the full component hierarchy of my Sketch selection as a tree”
Read ·
get_layer_tree_summaryTakes a picture of a layer or the canvas so the assistant can see it
Captures an image of a chosen layer or the current canvas, so the assistant can look at the design.
Try: “Explain the visual layout of the selected Sketch frame”
Read ·
get_screenshotLists the symbols, styles, colors and templates in your document
Finds the reusable parts of your document, such as symbols, text and layer styles, color swatches and templates, so the assistant can reuse or audit them.
Try: “List all design tokens used in my Sketch selection”
Read ·
get_design_assetsLists the libraries linked to your document
Shows which Sketch libraries the open document uses, so the assistant can pick symbols and styles from them.
Try: “Which libraries does this Sketch document use?”
Read ·
get_librariesShows what you can customize on a symbol without detaching it
Lists the properties of a symbol instance that can be changed, such as text or nested symbols, while keeping it linked to its master.
Try: “What can I override on the selected button symbol?”
Read ·
get_symbol_overridesRuns a Sketch script to create, change, export or remove anything in your document
Runs a script with the same powers as a Sketch plugin. This is how the assistant creates layers, edits text, renames or removes things and exports assets, retrying if the script fails.
Try: “Create a vertical stack of four rectangles in Sketch and add a unique gradient pattern to each”
Delete ·
run_codeUsed by the assistant behind the scenes
Loads a Sketch how-to guide the assistant reads before a task
Fetches one of Sketch's built-in reference guides so the assistant learns how a part of Sketch works before it acts.
Read ·
get_guide
From the official docs
Pros and cons
Good
- Built into the Sketch Mac app, so there is nothing extra to install.
- Runs only on your Mac and is off until you start it.
- No account sign-in or API key.
- Can script almost anything a Sketch plugin can do.
- Takes screenshots of layers so the assistant can see the design.
- Sketch documents setup for Claude, Claude Code, Codex, VS Code, Cursor, Pi and Antigravity.
Watch out
- Mac only, and needs Sketch 2025.2.4 or later from sketch.com.
- Not included in the Mac App Store version of Sketch.
- There is no read-only mode.
- Works only on documents open in Sketch on the same Mac.
- Only works while Sketch is open and the server is switched on.
Permissions
medium risk · 3 things to watch
Medium risk
A careless request can rewrite or remove layers in any document you have open. Keep a saved version before large changes and have your app ask before each Sketch action.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It can change or delete layers in open files
The script tool can do anything a Sketch plugin can, including editing and removing layers. Save a copy of the file before big requests. sketch.com
Only works while you have it switched on
The server is off by default and only reachable from your Mac. Turn it off in Sketch's settings when you are done. sketch.com
Claude can ask before each action
In Claude's Sketch extension, choose Configure to have Claude ask before it uses any Sketch tool. sketch.com
Security advisories
No published security advisories as of Nov 1, 2026.
Technical details
| Sign-in and keys | No sign-in. The server listens only on your Mac at a local address while you have it switched on. |
|---|
Alternatives
If you design in Sketch, use the server built into the app; it is the only one that works on your open documents. Figma users should use Figma's own hosted server instead.
| Server | Official | Runs | Sign-in | Can change things | Tools |
|---|---|---|---|---|---|
| For Sketch | |||||
| SketchThis page | Official | Local | No sign-in | Yes | 8 |
| sketch-mcp-server | Community | Local | – | – | – |
| Other tools for the same job | |||||
| FigmaFor Figma | Official | Hosted | Account | – | – |
Questions
What is the Sketch MCP server URL?
http://localhost:31126/mcp, on your own Mac. It only answers after you start the server in Sketch, and you can change the port if it is taken.
Which Sketch version do I need?
Sketch 2025.2.4 or later, downloaded from sketch.com. The Mac App Store version does not include the server, and Sketch 2025.2.4 needs macOS Sonoma or newer.
How do I start it?
Press Command-K in Sketch, type MCP and choose Start MCP Server. You can also switch it on in Settings, under General.
Can it change or delete my designs?
Yes. Its script tool can do anything a Sketch plugin can, including editing and removing layers, so keep a saved version before big requests.
Why can't my AI app connect to Sketch?
Check that Sketch is allowed under Local Network in macOS Privacy & Security settings, then toggle it off and on and relaunch Sketch. If the server will not start, change its port.
Can it turn my designs into code?
Yes. Sketch's own examples include asking it to generate the current selection in React.
How do I point it at a specific layer?
Copy the layer's ID with Copy Layer ID in the Command Bar or the right-click Copy menu, then paste it into your prompt.
How do I hide the MCP server in Sketch?
Run defaults write com.bohemiancoding.sketch3 mcpServerEnabled -bool NO in Terminal. That removes the MCP server from the Sketch Mac app completely.
Information
updated Nov 1, 2026
- Publisher
- Official
- Transport
- Streamable HTTP
- Auth
- None
Other Sketch MCP servers
Sources
Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.