Chris Messina

Sketch adds MCP support

Doesn't seem like Sketch is trying to catch up with @Figma Make, but at least they've added support for MCP. Typical use cases include:

  • Exporting assets for developer handoff

  • Reviewing or auditing design systems for inconsistencies

  • Generating new screens from templates using existing components

Sketch's MCP Tools:

For now, they’ve focused on two tools that should cover most use cases:

  1. `get_selection_as_image` captures an image of the user’s current selection in the frontmost Sketch document and returns it to the AI client for analysis.

  2. `run_code` allows the AI to write and execute SketchAPI code to complete a task you’ve prompted it with.

The `run_code` tool is especially powerful. Since AI models excel at writing code, we let them access the entire SketchAPI — just like a Sketch plugin would. This means the AI can automate and control Sketch through scripts with multiple steps, branching, and even error handling.

218 views

Add a comment

Replies

Be the first to comment