Agents and tokens

Connect your coding agent to Kiteways Design, and keep your design system in one place.

MCP setup

MCP is an open standard that lets AI agents use other apps. Connect your agent to Kiteways Design and it can read and change your design files, and draw with your tokens.

1. Install the app

Download Kiteways Design for Mac, open it and sign in. The app runs the MCP server while it is open.

You also need Node.js 20 or newer. Your agent uses it to start the small program that connects to the app.

2. Connect your agent

Every agent runs the same program. Only the place you add it changes. Find yours below.Tap yours.

AgentAdd it withAfter that
Claude CodeTerminal commandRun /mcp to check
Claude DesktopConfig fileRestart Claude
CursorConfig fileReload Cursor
CodexTerminal command or config fileOpen Codex
VS CodeConfig fileStart the server in the editor
GitHub CopilotApp settingsClick Add server
OpenCodeConfig fileRestart OpenCode
AntigravityConfig fileRestart Antigravity
WindsurfConfig fileRestart Windsurf
Other agentsAny stdio MCP configRestart your agent
Claude Code

Run this in your terminal, then run /mcp in Claude Code to check that kiteways-design appears.

claude mcp add kiteways-design -- \
  npx -y \
  github:kitewaysio/kiteways-design-mcp
Claude Desktop

Add this to ~/Library/Application Support/Claude/claude_desktop_config.json, then restart Claude.

{
  "mcpServers": {
    "kiteways-design": {
      "command": "npx",
      "args": ["-y", "github:kitewaysio/kiteways-design-mcp"]
    }
  }
}
Cursor

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json for one project. Reload Cursor, then check Cursor Settings → Tools & MCP.

{
  "mcpServers": {
    "kiteways-design": {
      "command": "npx",
      "args": ["-y", "github:kitewaysio/kiteways-design-mcp"]
    }
  }
}
Codex

Run this in your terminal, or add the second block to ~/.codex/config.toml. Then open Codex.

codex mcp add kiteways-design -- \
  npx -y \
  github:kitewaysio/kiteways-design-mcp
[mcp_servers.kiteways-design]
command = "npx"
args = [
  "-y",
  "github:kitewaysio/kiteways-design-mcp",
]
VS Code

Add this to .vscode/mcp.json in your workspace, then start the server from the editor.

{
  "servers": {
    "kiteways-design": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "github:kitewaysio/kiteways-design-mcp"]
    }
  }
}
GitHub Copilot

In the GitHub Copilot app, go to Customize → Add → MCP Server, fill in these fields, and click Add server. For the editor, see VS Code.

Name       kiteways-design
Command    npx
Arguments  -y github:kitewaysio/kiteways-design-mcp
OpenCode

Add this to opencode.json and restart OpenCode. Run opencode mcp list to check that it is installed.

{
  "mcp": {
    "kiteways-design": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "github:kitewaysio/kiteways-design-mcp"
      ],
      "enabled": true
    }
  }
}
Antigravity

Add this to Antigravity's MCP config, then restart Antigravity.

{
  "mcpServers": {
    "kiteways-design": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "github:kitewaysio/kiteways-design-mcp"]
    }
  }
}
Windsurf

Add this to ~/.codeium/windsurf/mcp_config.json, then restart Windsurf.

{
  "mcpServers": {
    "kiteways-design": {
      "command": "npx",
      "args": ["-y", "github:kitewaysio/kiteways-design-mcp"]
    }
  }
}
Other agents

Any agent that supports MCP over stdio can connect. Add this to its MCP config, and check its docs if the file has a different shape. Then restart your agent.

{
  "mcpServers": {
    "kiteways-design": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "github:kitewaysio/kiteways-design-mcp"]
    }
  }
}

3. Run your first prompt

Open a file in Kiteways Design, then try one of these. Most agents ask before they use a tool. The result appears in the file as your agent works.

Your agent can reach every file you can open, so only allow what you are comfortable with.

Add a Hello World board to my Kiteways fileCreate 3 colour tokens and show them as swatchesGenerate a picture of a sunset and place it on a new board

Connect to Claude Code

Run this in your terminal, then run /mcp in Claude Code to check that kiteways-design appears.

claude mcp add kiteways-design -- \
  npx -y github:kitewaysio/kiteways-design-mcp

Connect to Claude Desktop

Add this to ~/Library/Application Support/Claude/claude_desktop_config.json, then restart Claude.

{
  "mcpServers": {
    "kiteways-design": {
      "command": "npx",
      "args": ["-y", "github:kitewaysio/kiteways-design-mcp"]
    }
  }
}

Connect to Cursor

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json for one project. Reload Cursor, then check Cursor Settings → Tools & MCP.

{
  "mcpServers": {
    "kiteways-design": {
      "command": "npx",
      "args": ["-y", "github:kitewaysio/kiteways-design-mcp"]
    }
  }
}

Connect to Codex

Run this in your terminal, or add the second block to ~/.codex/config.toml. Then open Codex.

codex mcp add kiteways-design -- \
  npx -y github:kitewaysio/kiteways-design-mcp
[mcp_servers.kiteways-design]
command = "npx"
args = ["-y", "github:kitewaysio/kiteways-design-mcp"]

Connect to VS Code

Add this to .vscode/mcp.json in your workspace, then start the server from the editor.

{
  "servers": {
    "kiteways-design": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "github:kitewaysio/kiteways-design-mcp"]
    }
  }
}

Connect to GitHub Copilot

In the GitHub Copilot app, go to Customize → Add → MCP Server, fill in these fields, and click Add server. For the editor, see VS Code.

Name       kiteways-design
Command    npx
Arguments  -y github:kitewaysio/kiteways-design-mcp

Connect to OpenCode

Add this to opencode.json and restart OpenCode. Run opencode mcp list to check that it is installed.

{
  "mcp": {
    "kiteways-design": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "github:kitewaysio/kiteways-design-mcp"
      ],
      "enabled": true
    }
  }
}

Connect to Antigravity

Add this to Antigravity's MCP config, then restart Antigravity.

{
  "mcpServers": {
    "kiteways-design": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "github:kitewaysio/kiteways-design-mcp"]
    }
  }
}

Connect to Windsurf

Add this to ~/.codeium/windsurf/mcp_config.json, then restart Windsurf.

{
  "mcpServers": {
    "kiteways-design": {
      "command": "npx",
      "args": ["-y", "github:kitewaysio/kiteways-design-mcp"]
    }
  }
}

Connect to other agents

Any agent that supports MCP over stdio can connect. Add this to its MCP config, and check its docs if the file has a different shape. Then restart your agent.

{
  "mcpServers": {
    "kiteways-design": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "github:kitewaysio/kiteways-design-mcp"]
    }
  }
}

Using MCP

Ask your agent

It lists the files you can open, reads the design system, and draws with those tokens. Changes appear on your canvas as they are made, and you can undo them.

Try askingIn my Halden file, add a booking screen using the existing tokens.

Prefer to stay in the app?

Open the agent panel beside the canvas, pick your agent, and describe the change.

The agent panel beside the canvas

Tokens and themes

Six kinds of token

Tokens are your design system's named values. Every file has Colour, Type, Spacing, Radius, Shadow and Border. Open Tokens from the left panel to see them.

The Tokens screen
Aa

A Type token is whole

One name holds the family, size, line height, weight and tracking together, so text always stays in step.

Themes

Give a token more than one value. Light is the default, and you can add Dark to Colour, Border and Shadow.

Change one, change all

Change a token and every layer using it follows.

Agents stay on system

Agents check their work against your tokens as they write.

Troubleshooting

Start here

Most problems clear when you restart your agent or start a new chat, so it connects again. Do this if the server shows as connected but your agent says it has no access, or if tool calls keep failing.

My agent says the app is not running

Open Kiteways Design and sign in, then try again. If the app is closed or you are signed out, the call fails and nothing is written.

The server will not start

Check that Node.js 20 or newer is installed, then reload your agent.

My agent cannot find the app

The app writes a file when it starts and removes it when it quits: ~/Library/Application Support/Kiteways Design/mcp.json. If yours is elsewhere, pass its path with --discovery.

A tool is missing

The tool list comes from the app you have open, so it matches your version. Update the app to get the newest tools.

Does MCP work on Windows or Linux?

Not yet: it needs the desktop app, which is Mac only for now. In a Chromium browser you can use the agent panel with your own API key.