Skip to content
All tutorials

Guide

Connect your AI to Pixel Kit

Pixel Kit has an MCP server. Point your AI client at it with a personal access token and the agent can read your projects, design on the canvas and check its own work.

1Server URL

This is where your client connects. It's a remote MCP server over HTTP: every request carries your token in the Authorization header.

https://pixel-kit.vercel.app/api/mcp

Authorization headerAuthorization: Bearer <your-token>

2Create an access token

  1. Sign up or log in to Pixel Kit.
  2. Open the profile menu at the top right and choose Settings.
  3. Go to Access tokens, type a name like “Cursor” and click Create token.
  4. Copy the token right away (it starts with pk_). It's shown only once.

Tokens act as you: the agent sees the same organizations and projects you do, with your role. Revoke a token anytime from the same screen.

3Add it to your client

Pick your tool and replace <your-token> with your token. Inside Pixel Kit, right after you create a token, this same setup comes filled in, with 1-click install for Cursor and VS Code.

Create a token to get a ready-to-paste setup with one-click install for Cursor and VS Code.

Run this in your terminal:

claude mcp add --transport http --scope user pixel-kit https://pixel-kit.vercel.app/api/mcp --header "Authorization: Bearer <your-token>"

4Check that it works

Restart or reload your client and open its MCP list (in Claude Code, run /mcp): pixel-kit should show as connected. Then ask something like:

  • List my Pixel Kit projects.
  • Create a Pixel Kit project with a landing page hero and show me a screenshot.

What the agent can do

  • Read organizations, projects, pages and layers

    list_organizationslist_projectsget_projectget_page_treeget_nodes
  • Create projects and pages and build layers on the canvas

    create_projectrename_projectdelete_projectcreate_pageupdate_pagedelete_pageapply_operations
  • Find fonts, icons and uploaded images

    search_fontssearch_iconslist_assets
  • Use and manage design variables

    list_variablescreate_variableupdate_variabledelete_variable
  • Take a screenshot of a page or a layer to check its work

    screenshot

Common problems

401 or “unauthorized”
The token is wrong, was revoked or is missing “Bearer ”. Create a new one and paste the whole header again.
pixel-kit doesn't show up in the client
Check the file path and the JSON or TOML syntax, then restart the client. Windsurf needs a refresh of its MCP panel.
Claude Desktop doesn't start the server
Claude Desktop connects through mcp-remote, which needs Node.js. Install Node.js and restart Claude.
forbidden or not_found
Viewers can read but not edit, and projects from organizations you don't belong to don't exist for the token. Ask an owner for access.
429 Too many requests
The limit is 120 calls a minute per token (a screenshot counts as 5). Wait for the time in Retry-After and continue.