Connect Sketch to AI agents

Connect Sketch to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

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 a complete Sketch document structure including **document.json**, **meta.json**, and **page JSON** files. Creates valid Sketch file format data that can be assembled into a .sketch ZIP archive. Use this to programmatically create entire Sketch documents with pages, artboards, layers, color assets, and shared styles.

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 all unique colors from a Sketch document. Collects colors from document color assets, shared layer styles, shared text styles, and individual layer fills and borders 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. Creates valid Sketch file format JSON that can be included in a .sketch archive. Use this to programmatically create page content for Sketch documents, including artboards sized for common device screens and layers with fills, borders, and text.

More integrations teams use with Sketch

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. 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. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

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. Listen for webhooks on page, blog, comment, attachment, space, label, and user events.

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. Receive real-time webhook notifications for page changes, new pages, comments, and database schema updates.

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. Monitor spreadsheet changes via Google Drive push notifications.

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. Apply and read custom labels on files. Monitor file and folder changes via push notifications or webhook subscriptions. Store app-specific data in a hidden per-user folder.

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

Manipulate Sketch design documents programmatically via a local JavaScript Plugin API, CLI tool (sketchtool), and open JSON-based file format. Create, read, and modify documents including layers, symbols, colors, and styles. Export artboards, layers, slices, and pages in multiple formats (PNG, JPG, SVG, PDF). Inspect document metadata and dump full document structure as JSON. Import symbols and styles from shared libraries. Generate or process Sketch files server-side without the app by reading/writing the open ZIP/JSON file format. Supply custom data (images, text) to Sketch via Data Suppliers. Note: all APIs are local to macOS or file-based — there is no public remote/cloud API, no webhooks, and no OAuth or API key authentication.

Connect Sketch to production AI agents

See how Metorial gives Sketch access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Sketch to AI agents with Metorial.

  1. Can Metorial connect Sketch to AI agents?
    Yes. Metorial connects AI agents to Sketch through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.