mcp-server

v1.0.6
@zeplin/mcp-server Checked 2 days ago Published 4 months ago

Zeplin’s official MCP server for AI-assisted UI development

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_component

Fetches detailed design specifications for a specific Zeplin component, including its properties, variants, layers, and associated design tokens. Use this when you need to understand the structure and styling of a single, reusable UI element from Zeplin.

ParameterTypeDescription
url *string

get_screen

Fetches detailed design data for a specific screen from Zeplin. This includes screen variants, layer information (structure, position, styling), annotations, and project-level design tokens. Use this to understand screen layout, content, and interactions for development or review.

ParameterTypeDescription
url *string
includeVariantsbooleanSet to `true` (default) to retrieve all variants of the screen (e.g., different states or sizes). Set to `false` if only the specific screen version linked in the URL is needed, or to conserve tokens…
targetLayerNamestringOptional. If the user's query refers to a specific named layer or element on the screen (e.g., 'the submit button', 'user profile image'), provide that layer's exact name here. This will focus the ret…

download_layer_asset

Downloads a specific visual asset (e.g., SVG icon, PNG image) for a given layer from Zeplin and saves it to a local path. Use this tool when an asset referenced in the design (obtained from `get_screen` or `get_component`) is missing from the codebase and needs to be fetched directly from Zeplin.

ParameterTypeDescription
assetType *stringThe desired format of the asset to download. Must be one of 'svg', 'png', 'jpg', or 'pdf'. Choose the format most suitable for the project's needs or as indicated by design specifications. If unsure,…
layerSourceId *stringThe unique source ID of the layer for which the asset should be downloaded. This ID is obtained from the `layers` array in the response of `get_screen` or `get_component` calls, from a `sourceId` or s…
localPath *stringThe absolute path to the directory where images/assets are stored in the project. If the directory does not exist, it will be created. The format of this path should respect the directory format of th…

get_design_tokens

Download design tokens for a project or styleguide

ParameterTypeDescription
resourceId *stringThe ID of the project or styleguide for which the design tokens should be downloaded.