
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
@zaai-dev/mcp
Advanced tools
Zaai Dev MCP server — exposes your captures (and, in v1.5, your brand brief) to MCP-compatible AI tools.
Model Context Protocol server for the Zaai Dev platform. Exposes your captured design references to MCP-compatible AI tools — Claude Code, Claude Desktop, Cursor, Continue, Cline, anything else that speaks MCP.
After a one-time token paste, prompts like "list my last 5 captures tagged hero and show me their palettes" call the workspace directly and pull back real data.
You need:
node --version)Add to claude_desktop_config.json — merge into the existing mcpServers block, don't replace the whole file.
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"zaai-dev": {
"command": "npx",
"args": ["-y", "@zaai-dev/mcp"],
"env": {
"ZAAI_API_TOKEN": "zaai_mcp_YOUR_SECRET_HERE"
}
}
}
}
Restart Claude Desktop. The 17 tools below appear in the slash-command picker.
Add to ~/.cursor/mcp.json — same JSON shape as Claude Desktop.
{
"mcpServers": {
"zaai-dev": {
"command": "npx",
"args": ["-y", "@zaai-dev/mcp"],
"env": {
"ZAAI_API_TOKEN": "zaai_mcp_YOUR_SECRET_HERE"
}
}
}
}
Restart Cursor.
One-liner — updates ~/.claude/mcp_servers.json automatically:
claude mcp add zaai-dev -e ZAAI_API_TOKEN=zaai_mcp_YOUR_SECRET_HERE -- npx -y @zaai-dev/mcp
If you want to run Zaai Dev MCP as a network service — e.g. behind a reverse proxy on Fly / Cloudflare / Render so hosted agents (Claude.ai web, OpenAI Assistants, custom frameworks) can reach it — use the zaai-dev-mcp-http binary instead of the stdio one:
ZAAI_API_TOKEN=zaai_mcp_... \
ZAAI_HTTP_PORT=3001 \
npx -y --package=@zaai-dev/mcp zaai-dev-mcp-http
# POST /mcp for MCP traffic, GET /healthz for liveness
Single-tenant in v1.5 — one process serves one workspace token. Run one process per token if you need multi-tenant, or wait for v2 which adds per-request token binding. Most "I want HTTP" use cases are single-tenant anyway.
All tools except health need a valid token. All tools except health and whoami charge credits per successful call (your workspace plan determines the monthly grant — see pricing).
| Tool | What it does | Cost |
|---|---|---|
health | Server status + version + uptime. No auth. | 0 |
whoami | Your userId, orgId, project scope, credit balance. | 0 |
list_captures | Paginated list of your captures (newest first). Args: q, cursor, limit. | 1 |
search_captures | Same as list but with q required. Tuned description for targeted retrieval. | 1 |
get_capture | Full payload + signed screenshot URLs for one capture id. | 1 |
get_palette | Just the palette slice (page) or eyedropper picks (element/composite). | 1 |
get_html | Just the HTML. Page → full HTML; element → outerHTML; composite → concat with markers. | 1 |
get_animation | Just the animation data — CSS transitions, keyframes, library hints. | 1 |
get_media | Just the media inventory — videos, images, backgrounds, carousels. | 1 |
These tools each take a project_id arg (find via the workspace at zaaistudio.com/dev/projects/<id> — the UUID is in the URL).
| Tool | What it does | Cost |
|---|---|---|
get_brand_brief | Full published brief: positioning, values, voice, audience, design intent, decisions. | 1 |
get_voice | Voice slice only — one-liner, tone descriptors, do/don't say, example phrases. | 1 |
get_audience | Primary + secondary segments, needs, channels. | 1 |
get_design_intent | Descriptors + anti-descriptors + inspiration summary. | 1 |
get_brand_tokens | Colors, fonts, radius, shadow scales. | 1 |
get_decisions | Paginated decisions log with attribution + brief_field links. | 1 |
get_references | Paginated project-scoped reference list. | 1 |
search_references | Keyword search within a project's references. | 1 |
Plus the zaai-capture://{id} resource template — attach individual captures to a conversation via the resource picker.
| Error class | Meaning | Action |
|---|---|---|
Unauthorized | Token invalid, revoked, or wrong kind | Mint a fresh mcp token, update your config, restart |
InsufficientCredits | Out of credits for the month | Top up or wait for the monthly grant |
CaptureNotFound | id doesn't exist OR is in a project the token can't see | list_captures to find valid ids |
InvalidCaptureId / InvalidProjectId | id isn't a UUID | Pass a UUID from list_captures / the workspace URL |
ProjectNotFound | project_id isn't in your org | Check the id, or that the token's project scope allows this project |
ProjectArchived | Project exists but is archived | Unarchive in the workspace or use a different project |
OutOfScope | Token is scoped to specific projects + this isn't one of them | Mint a token without project scope, or add this project to the existing token |
UnknownCaptureField | Hit a focused-getter route with an unknown field | Use one of: palette, html, animation, media |
Errors return as isError: true in the tool result so the LLM can read and act on them.
Transient failures (network errors, 502/503/504, 429 rate-limits) retry automatically with exponential backoff (250ms → 500ms → 1000ms, 3 attempts). Retries are transparent — you only see the final outcome — and don't double-charge because the workspace only bills on requests that actually executed.
See TROUBLESHOOTING.md for a checklist of common first-install issues and their fixes.
The server holds only your MCP token — it never sees your password, your Supabase service-role key, or other users' data. The workspace's verifyToken derives userId + orgId from your token on every request; queries are scoped to that user + the token's project allowlist (which you set at mint time). A revoked token causes the next tool call to fail with Unauthorized.
The server itself runs entirely on your machine — npx -y @zaai-dev/mcp downloads the package once, then your AI tool launches it as a subprocess. No telemetry, no analytics SDK.
git clone https://github.com/POLONIBOI/ZAAI_dev_mcp.git
cd ZAAI_dev_mcp
pnpm install
pnpm build
pnpm inspector # MCP Inspector for interactive testing
You'll need ZAAI_API_TOKEN set as an env var (or pasted into the Inspector's Environment Variables panel before clicking Connect).
MIT.
FAQs
Zaai Dev MCP server — exposes your captures, brand brief, and design docs to MCP-compatible AI tools.
The npm package @zaai-dev/mcp receives a total of 52 weekly downloads. As such, @zaai-dev/mcp popularity was classified as not popular.
We found that @zaai-dev/mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.