Sketch MCP Server
Processes Sketch design files to extract design elements, analyze structure, and convert components to SVG for automated design-to-code workflows.
About this Server
Processes Sketch design files by extracting internal layer structure, analyzing design elements, and rendering visual components as SVG vector images for automated design-to-code workflows and AI-powered design inspection. It enables LLMs to inspect symbol masters and instances, resolve component style overrides, calculate exact bounding boxes, and extract vector assets without launching the Sketch desktop app.
Direct low-latency RPC protocol communication with structured JSON schemas.
Restricted capability bounds to prevent accidental modifications or leakage.
Security & Best Practices
When to Use (and When Not To)
- •Frontend developers translating Sketch mockups and component libraries into React, Vue, or Tailwind code
- •Teams extracting design tokens, typography scales, and color variables from .sketch files
- •Automated design system auditing, icon extraction, and visual SVG asset generation
- •AI-driven design review and component hierarchy analysis without needing a macOS Sketch license
- •Figma cloud files or Figma REST API inspection (use Framelink Figma MCP instead)
- •Interactive 3D model generation or Python bpy scripting (use Blender MCP instead)
- •Editing or resaving modified .sketch files back to disk (the server provides read-only extraction)
Install & Setup
claude mcp add sketch-mcp-server -- npx sketch-mcp-serverExposed Tools & Endpoints
17 toolsFunctions your AI agent can invoke via this Model Context Protocol server
Get the bounding box and position coordinates of a node by its ID.
Get detailed styling and property information about a specific node by its ID.
Find and query nodes matching a name pattern across pages.
List all pages and top-level artboards in the Sketch document.
List document nodes with optional layer type and name filtering.
List nodes and child elements contained within a specific page.
Load and parse a local .sketch design file from an absolute file path.
Load and parse a Sketch configuration object directly into memory.
Get detailed property information for multiple nodes by their IDs in a single batched call.
Get complete hierarchical tree structure of a page with all nested node information.
Get complete document structure with all pages, artboards, and layer hierarchies.
Get all reusable Symbol Masters defined across the Sketch document.
Get all Symbol Instances and component usages in the Sketch document.
Retrieve a specific Symbol Master definition using its unique Symbol ID.
Extract styles from a Symbol Instance including overrides applied over the Symbol Master.
Get an aggregated summary of nodes with statistics and grouping to optimize token usage.
Render a node or component as a Base64 encoded SVG vector image for visual layout inspection.
