First-party app
Zeplin

Zeplin

Read Zeplin projects, screens, components, colors, text styles, design tokens and styleguides, and comment on screens, through the Zeplin API.

stable Developer ToolsProductivity

About

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.

App id
io.w6w.zeplin
Version
0.1.0
Author
w6w
Licence
MIT
Categories
Developer Tools · Productivity

Overview

Zeplin 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.

Build with Zeplin

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-project-color

Create a color in the project's local styleguide (POST /v1/projects/{project_id}/colors).

Create Screen Comment

create-screen-comment

Reply to a screen note (POST /v1/projects/{project_id}/screens/{screen_id}/notes/{note_id}/comments).

Create Screen Note

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-screen-note

Delete a note and its comments from a screen (DELETE /v1/projects/{project_id}/screens/{screen_id}/notes/{note_id}).

Get Current User

get-current-user

Get the user the token belongs to (GET /v1/users/me).

Get Latest Screen Version

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

get-project

Get a project by id (GET /v1/projects/{project_id}).

Get Project Component

get-project-component

Get a component of a project (GET /v1/projects/{project_id}/components/{component_id}).

Get Project Design Tokens

get-project-design-tokens

Fetch all design tokens (colors, text styles, spacing) of a project (GET /v1/projects/{project_id}/design_tokens).

Get Screen

get-screen

Get a screen by id (GET /v1/projects/{project_id}/screens/{screen_id}).

Get Styleguide

get-styleguide

Get a styleguide by id (GET /v1/styleguides/{styleguide_id}).

List Organization Projects

list-organization-projects

List the projects that belong to an organization (GET /v1/organizations/{organization_id}/projects).

List Organizations

list-organizations

List the organizations the user is a member of (GET /v1/organizations).

List Project Colors

list-project-colors

List the colors of a project (GET /v1/projects/{project_id}/colors).

List Project Components

list-project-components

List the components of a project (GET /v1/projects/{project_id}/components).

List Project Members

list-project-members

List the members of a project (GET /v1/projects/{project_id}/members).

List Project Text Styles

list-project-text-styles

List the text styles of a project (GET /v1/projects/{project_id}/text_styles).

List Projects

list-projects

List the projects the user is a member of (GET /v1/projects).

List Screen Notes

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-screen-sections

List the screen sections of a project (GET /v1/projects/{project_id}/screen_sections).

List Screen Versions

list-screen-versions

List the versions of a screen (GET /v1/projects/{project_id}/screens/{screen_id}/versions).

List Screens

list-screens

List the screens of a project (GET /v1/projects/{project_id}/screens).

List Styleguide Colors

list-styleguide-colors

List the colors of a styleguide (GET /v1/styleguides/{styleguide_id}/colors).

List Styleguide Components

list-styleguide-components

List the components of a styleguide (GET /v1/styleguides/{styleguide_id}/components).

List Styleguides

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-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-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

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>"
      }
    }
  ]
}

Here are some of the things you can do

  • Create Project Color

    perform
    create-project-color
  • Create Screen Comment

    perform
    create-screen-comment
  • Create Screen Note

    perform
    create-screen-note
  • Get Current User

    read
    get-current-user
  • Get Latest Screen Version

    read
    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.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { 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);
Install the CLI
npm install -g @w6w/cli
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.

What the agent gets

Credentials it can't read

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.

A tool surface scoped to the caller

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.

A durable workflow in one call

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.

Health-aware discovery

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).

Request MCP access

Health checks

Zeplin declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

Zeplin platform status

dependency

API reachable

Unauthenticated GET /v1/users/me. Zeplin's own JSON `invalid_token` refusal passes — it proves the application itself is answering.

quota

Rate limit headroom

Remaining requests in the current per-minute window (200 per user).