Skip to main content
Glama
  • One click to connect. Settings → MCP connects Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Codex, Gemini CLI, Antigravity, Kiro, Zed, LM Studio or opencode, or copies the configuration for any other client.

  • Tools agents already understand. They start with get_selection or get_page_tree, build with write_html, adjust with update_styles, and check with get_screenshot.

  • Real content, not placeholders. The server asks agents to bring in specs, docs or data from the other servers the client has connected.

  • Design skills built in. Seven skills steer agents away from generic, AI-looking pages: /direction, /landing-page, /copy, /critique, /responsive, /polish and /anti-slop. Add your own, and give each project its rules and reference documents.

  • An agent beside the canvas, in Kalka's own panel: the coding agent already on your computer (Claude Code, Codex, Gemini CLI, Pi) in one click, or your own API key, including local models through LM Studio, Ollama or llama.cpp.

  • Open what you have. Figma .fig and Pencil .pen files, HTML pasted from a web page or a code editor, or a file from a URL. The CSS a layer keeps survives .fig round trips.

  • Export what you drew. Standalone HTML, Tailwind JSX, Storybook stories, PNG, JPG, SVG and PDF, drawn by the same browser engine as the canvas, from the app or the kalka command line.

Install

Download the latest build for your system with the buttons above, or from Releases: the .dmg on macOS, the .exe installer on Windows, the .AppImage on Linux. The app updates itself from the same page.

Beta builds are not signed yet, so the system warns before the first launch:

  • macOS: open Kalka once; when macOS blocks it, open System Settings › Privacy & Security, click Open Anyway next to the message about Kalka, and confirm. If macOS says the app is damaged, run xattr -dr com.apple.quarantine /Applications/Kalka.app in Terminal.

  • Windows: in the SmartScreen window, choose More info, then Run anyway.

  • Linux: make the file executable (chmod +x Kalka-*.AppImage) and run it.

Open the sample document on the home screen to learn the basics on a page of real layers. To build the app from source instead:

bun install
bun run package:desktop   # DMG and ZIP on macOS, installer on Windows, AppImage on Linux

Layer

Tech

Canvas

Browser DOM and CSS; CanvasKit (Skia WASM) for raster export

UI

Vue 3, Reka UI, Tailwind CSS 4

File formats

Kalka folder (HTML, CSS, JSON), .fig (Kiwi + Zstd + ZIP)

Collaboration

Trystero (WebRTC P2P) + Yjs (CRDT)

Desktop

Electron

AI and MCP

Vercel AI SDK (bring your own key), MCP SDK, Hono

bun install
bun run dev           # Web editor at http://localhost:1420
bun run dev:desktop   # Desktop app (Electron) with hot reload
bun run check         # Build, lint, types, architecture and docs checks
bun run test:unit     # Engine and unit tests

CONTRIBUTING.md covers setup, quality gates, pull requests and commits. AGENTS.md maps the repository and links the guide inside each package. The command line runs from a checkout with bun kalka --help.

Related MCP server: pulp

In this repository

Folder

What it is

License

src/, packages/, electron/

The Kalka app: desktop, web and the local MCP server

MIT

server/

The self-hosted Kalka server

AGPL-3.0

packages/docs/

Contributor documentation

MIT

User documentation, in nine languages, lives at kalka.design/docs. Kalka Cloud, the hosted version, is at app.kalka.design.

Credits

Kalka is a fork of OpenPencil by Danila Poyarkov and its contributors, taken on 9 October 2026. Most of the code in this repository is theirs. Here is what each side brought.

From OpenPencil

  • The editor: tools, selection, undo, layers and properties panels, components, variables, auto layout.

  • The scene graph and the file formats: .fig reading and writing with the Kiwi codec, the Figma clipboard, .pen.

  • The CanvasKit renderer, which Kalka still uses for image export and thumbnails.

  • The HTML, CSS, JSX and Tailwind projection of a design, and Design JSX.

  • The CLI, the MCP server and its tools, the AI chat with local coding agents, and real-time collaboration.

  • The Vue SDK, the test suites and the repository's tooling.

Added or changed in Kalka

  • The canvas is the web page: each artboard is real HTML and CSS that the browser lays out and paints, in place of a canvas drawn with CanvasKit. OpenPencil could export a design to HTML; Kalka edits the HTML itself.

  • Layers have an HTML tag and class names, styles are shared through CSS classes, and artboards have breakpoints.

  • Documents are saved as a folder of HTML pages, a stylesheet, design tokens and images, or as one .kalka file.

  • HTML export reads as written by hand, with images as files, and the Code panel shows a selection's HTML and CSS.

  • A folder panel with the document's files and its versions in Git.

  • The desktop app runs on Electron instead of Tauri.

  • The interface: top bar, icon rail, Home, welcome, and the Kalka name and brand.

Thank you to everyone who built OpenPencil.

License

Kalka's desktop app and local MCP server are licensed under the MIT License. The self-hosted server in server/ is licensed under the GNU Affero General Public License v3.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      Not graded
      maintenance
      Lets AI agents visually inspect web elements, test CSS edits in real-time, and iterate until pixel-perfect, functioning like browser DevTools for debugging UI issues.
      1
      1
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to collaboratively design and edit web pages on an infinite canvas using real HTML/CSS, with tools for reading, mutating, and exporting documents.
      1
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to build and edit real HTML/CSS designs on a live canvas through 35 MCP tools, letting them inspect screenshots, computed styles and layout, then export production-ready React or Tailwind code. Humans can refine the same layers visually in a macOS editor.
      6,734 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to create, inspect, edit, auto-layout, prototype, and export vector design documents in real time through attached GUI or headless modes, with support for multiple design formats.
      MIT