Sketch MCP server

Connect Sketch to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Sketch MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the parse document tool in Sketch
  • Use the extract text content tool in Sketch
  • Use the generate document tool in Sketch
  • Use the inspect layers tool in Sketch
  • Use the extract colors tool in Sketch
  • Use the generate page tool in Sketch

Supported Tools

parse_document

Parse Document

Parse Sketch document JSON data and return a structured overview of the document contents. Accepts the raw JSON from a Sketch file's **document.json**, **meta.json**, and **page JSON** files, and returns a summary including pages, artboards, layer counts, symbols, shared styles, fonts, and version info. Use this to quickly understand the structure and contents of a Sketch document without manually inspecting the raw JSON.

extract_text_content

Extract Text Content

Extract all text content from text layers in a Sketch document. Returns the string content of every text layer along with the layer name and page it belongs to. Use this for content auditing, localization workflows, copy extraction, or checking text across a design for consistency or typos.

generate_document

Generate Document

Generate draft Sketch document structures including **document.json**, **meta.json**, and **page JSON** files. Produces draft JSON structures and downloadable JSON files. Validate and complete them against the target Sketch file-format schema before assembling a native document. Use this to prepare draft pages, artboards, layers, color assets, and shared styles for further completion and validation.

inspect_layers

Inspect Layers

Search and inspect layers within Sketch page JSON data. Find layers by **object ID**, **name**, or **layer class** (e.g. artboard, text, symbolMaster, group, rectangle). Returns a summarized view of matching layers including their type, position, dimensions, visibility, and relevant metadata. Use this to drill into specific layers or find all layers of a certain type across pages.

extract_colors

Extract Colors

Extract unique color entries from a Sketch document. Collects colors from document color assets, shared layer styles, shared text styles, shared swatches, and individual layer fills, borders, and text attributes across all pages. Returns each color in both hex and rgba formats along with its source. Use this to audit the color palette of a design, check for consistency, or export a design system's color tokens.

generate_page

Generate Page

Generate a Sketch page JSON structure with artboards and layers. Produces draft JSON and a downloadable page JSON file. The draft is not a complete, version-validated native Sketch file. Use this to programmatically create page content for Sketch documents, including artboards sized for common device screens and layers with fills, borders, and text.

extract_symbols

Extract Symbols

Extract reusable symbol sources from unpacked Sketch page JSON. Returns each symbol ID, object ID, name, containing page, and dimensions for design-system inventories and symbol-instance lookup.

Connect Sketch to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Sketch in Metorial. In your Metorial portal, enable the Sketch MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Sketch tools.

Run Sketch through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Sketch and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Sketch tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Sketch

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles.

Google Sheets

Create, read, and update spreadsheets and their cell data. Read and write values to individual cells, ranges, or multiple ranges using A1 notation or named ranges. Apply cell formatting including text styles, backgrounds, borders, number formats, and conditional formatting. Manage sheets (tabs) within a spreadsheet—add, delete, copy, rename, and reorder them. Create and manage embedded charts, pivot tables, filter views, data validation rules, protected ranges, named ranges, and merged cells. Perform batch operations to apply multiple updates atomically.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Google Drive

Upload, download, create, copy, move, rename, trash, and permanently delete files and folders in Google Drive. Search for files using complex queries filtering by name, MIME type, owner, modification date, labels, and other metadata. Share files and folders with specific users, groups, or domains with role-based permissions (owner, writer, commenter, reader). Manage shared drives and their members. Export Google Workspace files (Docs, Sheets, Slides) to standard formats like PDF, DOCX, and XLSX. Track file revision history and restore earlier versions. Create, read, update, and delete threaded comments and replies on files. Read label definitions and search files by label. Browse the Drive apps installed for your account. Store app-specific data in a hidden per-user folder.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs.

Google Slides

Create, read, edit, and delete Google Slides presentations. Create and manipulate slides with predefined or custom layouts. Insert, style, and replace text across slides, including bulk placeholder replacement for template-based generation. Add and position shapes, text boxes, lines, and images. Embed and refresh charts linked to Google Sheets. Manage speaker notes, duplicate or reorder slides, and perform batch updates combining multiple operations in a single call. Supports automated report and deck generation using templates with placeholder text and image substitution.

Technical notes for Sketch

Inspect unpacked Sketch document JSON using the documented open file format. Summarize pages and layers, search layers, extract colors, text, and reusable symbols, and generate downloadable draft page and document JSON. Draft generation does not certify native .sketch compatibility and requires completion and validation against the target file-format schema.

Frequently asked questions

Common questions about connecting Sketch to AI agents with Metorial.

  1. How many tools does the Sketch MCP server have?
    The Sketch MCP server exposes 7 tools, including Parse Document, Extract Text Content, Generate Document. Each one is governed and traced through Metorial.
  2. Sketch exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Sketch MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Sketch and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Sketch MCP server yourself or use the hosted gateway.

Connect Sketch to production AI agents

See how Metorial gives your team governed access to Sketch, with tracing and security controls built in.