Read Zeplin projects, screens, components, colors, text styles, design tokens and styleguides, and comment on screens, through the Zeplin API.
Zeplin ships in the w6w first-party pack. It declares 28 actions, 3 health checks, and the host runs its code in a sandbox that never sees the credential.
io.w6w.zeplinZeplin is the design handoff tool where designers publish screens and components from Figma, Sketch and others, and developers pick up specs, assets and styleguides. This app exposes its REST API to a workflow, authenticated with a personal access token.
A workflow can list the projects and organizations a user belongs to, read a project’s screens, screen versions (image, layers, assets), sections and components, and read its colors, text styles and design tokens. It can read styleguides with their colors and components, including those linked to a project.
It can also write back: add notes and replies to a screen, resolve or move a note, delete one, update a project’s name, description, workflow status or linked styleguide, update a screen’s description and tags, and create a project color.
The API allows 200 requests per minute per user; list actions page with limit and offset.
Three routes to the same 28 actions. The Workflow tab is generated from Zeplin's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.
create-project-color Create a color in the project's local styleguide (POST /v1/projects/{project_id}/colors).
create-screen-comment Reply to a screen note (POST /v1/projects/{project_id}/screens/{screen_id}/notes/{note_id}/comments).
create-screen-note Add a note (a pinned comment thread) to a screen (POST /v1/projects/{project_id}/screens/{screen_id}/notes). Position is normalised to [0, 1] from the screen's top-left corner. Set the start point to make an area note.
delete-screen-note Delete a note and its comments from a screen (DELETE /v1/projects/{project_id}/screens/{screen_id}/notes/{note_id}).
get-latest-screen-version Get the latest version of a screen, with its image, layers and assets (GET /v1/projects/{project_id}/screens/{screen_id}/versions/latest).
get-project-component Get a component of a project (GET /v1/projects/{project_id}/components/{component_id}).
get-project-design-tokens Fetch all design tokens (colors, text styles, spacing) of a project (GET /v1/projects/{project_id}/design_tokens).
list-organization-projects List the projects that belong to an organization (GET /v1/organizations/{organization_id}/projects).
list-organizations List the organizations the user is a member of (GET /v1/organizations).
list-project-colors List the colors of a project (GET /v1/projects/{project_id}/colors).
list-project-components List the components of a project (GET /v1/projects/{project_id}/components).
list-project-members List the members of a project (GET /v1/projects/{project_id}/members).
list-project-text-styles List the text styles of a project (GET /v1/projects/{project_id}/text_styles).
list-screen-notes List the notes (with their comments) on a screen (GET /v1/projects/{project_id}/screens/{screen_id}/notes).
list-screen-sections List the screen sections of a project (GET /v1/projects/{project_id}/screen_sections).
list-screen-versions List the versions of a screen (GET /v1/projects/{project_id}/screens/{screen_id}/versions).
list-styleguide-colors List the colors of a styleguide (GET /v1/styleguides/{styleguide_id}/colors).
list-styleguide-components List the components of a styleguide (GET /v1/styleguides/{styleguide_id}/components).
list-styleguides List the styleguides the user is a member of (GET /v1/styleguides). With a linked project or styleguide, lists the styleguides linked to it.
update-project Update a project's name, description, workflow status or linked styleguide (PATCH /v1/projects/{project_id}). Only the fields you set are changed.
update-screen Update a screen's description and/or tags (PATCH /v1/projects/{project_id}/screens/{screen_id}). Tags replace the existing set.
update-screen-note Resolve or reopen a note, recolor it or move it (PATCH /v1/projects/{project_id}/screens/{screen_id}/notes/{note_id}). Only the fields you set change.
A workflow step names the app and the action, and the editor fills in the
connection when you pick one. This is the Step shape from the
workflow spec, carrying Zeplin's real ids.
{
"manifestVersion": "2",
"name": "zeplin-example",
"steps": [
{
"id": "create-project-color",
"uses": {
"app": "io.w6w.zeplin",
"action": "create-project-color",
"connection": "conn_YOUR_CONNECTION_ID"
},
"with": {
"projectId": "<projectId>",
"name": "<name>",
"r": "<r>"
}
}
]
}create-project-color create-screen-comment create-screen-note get-current-user get-latest-screen-version +23 more actions available
Every app-specific value here is a blank you have to fill in. An
app action is reached through the connection that authenticates it, so the
address is a connection id, not the app id — and connections belong to your account,
so a public page cannot know yours. Create one for Zeplin, then fill in
the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the
parameters that action declares. The call itself is real — the shape is transcribed
from the studio's own snippet builder, which prints the same kind of blanks — but
nothing in it is specific to Zeplin. The Workflow tab is where this app's
real ids are.
npm install @w6w/sdkyarn add @w6w/sdkpnpm add @w6w/sdkdeno add npm:@w6w/sdkimport { W6wClient, isActionRun } from "@w6w/sdk";
// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();
const envelope = await client.run({
urn: "conn_YOUR_CONNECTION_ID",
action: "create-project-color",
payload: {
projectId: "<value>",
name: "<value>",
r: "<value>",
g: "<value>",
b: "<value>",
a: "<value>",
// sourceId: "<value>",
},
});
if (isActionRun(envelope)) console.log(envelope.value); npm install -g @w6w/cli w6w run conn_YOUR_CONNECTION_ID --action create-project-color --payload '{"projectId":"<value>","name":"<value>","r":"<value>","g":"<value>","b":"<value>","a":"<value>"}' Give an AI agent Zeplin — without giving it Zeplin's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.
One tool call{
"name": "w6w_invoke",
"arguments": {
"ref": "app:io.w6w.zeplin#create-project-color",
"input": {
"projectId": "<projectId>",
"name": "<name>",
"r": "<r>"
}
}
}
Every tool names its target with a single ref. The
app: form above doesn't name a connection at all — the
host resolves which of the caller's Zeplin connections to sign
with, and refuses rather than guesses when the answer is ambiguous.
The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.
Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.
Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.
Zeplin's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.
The MCP surface is part of the hosted platform. Zeplin itself is MIT, and the runtime that executes it is source-available (FSL).
Zeplin declares its own checks, so its health is a property of the app rather than something the host guesses at.
Unauthenticated GET /v1/users/me. Zeplin's own JSON `invalid_token` refusal passes — it proves the application itself is answering.
Remaining requests in the current per-minute window (200 per user).