# Kalka

> Kalka is a freemium MCP server for ui design tools. Design app where AI agents edit real HTML and CSS layers over MCP. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $8 a month
- **Platforms:** Web, macOS, Windows, Linux, API, CLI, Self-hosted
- **Website:** https://kalka.design/docs/mcp
- **Repository:** https://github.com/leyscore/kalka/tree/HEAD/packages/mcp
- **MCP Registry name:** io.github.leyscore/kalka
- **Categories:** [ui design tools](https://ai-powered.com/categories/ui-design-tools)
- **Listing updated:** 2026-12-01

## About

Kalka is a design editor whose layers are stored as plain HTML and CSS, so an agent connected through MCP can read the page structure and write changes directly into the open document. The desktop app runs its own local server on your computer, and clients such as Claude Code, Cursor, Codex and Claude Desktop can be connected with a single click from the settings page.

Agents get more than a hundred tools for reading selections, writing HTML, updating styles, taking screenshots to check their work, and answering comments. You decide which tools each client may use, can limit access to the current selection, and can restrict file reads and writes to one folder. Edits from an agent appear block by block and can be undone separately from your own changes.

The server only sees documents open in Kalka, so the app must be running. It suits designers and developers who want AI assistance inside a design file that stays on their own disk.

## Features

- **One-click client setup:** Kalka writes the configuration for supported MCP clients after backing up the existing file.
- **HTML and CSS layers:** Agents read and write layers as markup and styles rather than proprietary objects.
- **Per-tool permissions:** Turn individual tools on or off separately for the built-in AI and for external clients.
- **Selection-only sharing:** Clients can be limited to reading the selected layers with no editing tools.
- **Visual self-checks:** Agents can capture screenshots of the result to review their own work.
- **Figma-compatible tool names:** Some tools share names with Figma's MCP server so agents written for it can connect.

## Good for

- Have Claude Code or Cursor build layout sections directly in an open Kalka document
- Restyle a selected group of layers by asking an agent to update its CSS
- Answer design comments in bulk through an agent reading comment threads
- Generate interface variants and check each one with screenshots before keeping it
- Export or inspect .fig, .kalka and .pen files from the command line

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add kalka -- npx -y kalka-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "kalka": {
      "command": "npx",
      "args": [
        "-y",
        "kalka-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "kalka": {
      "command": "npx",
      "args": [
        "-y",
        "kalka-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "kalka": {
      "command": "npx",
      "args": [
        "-y",
        "kalka-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "kalka": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "kalka-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add kalka -- npx -y kalka-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.kalka]
command = "npx"
args = ["-y", "kalka-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "kalka": {
      "command": "npx",
      "args": [
        "-y",
        "kalka-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user kalka npx -- -y kalka-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "kalka": {
      "command": "npx",
      "args": [
        "-y",
        "kalka-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "kalka": {
      "command": "npx",
      "args": [
        "-y",
        "kalka-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "kalka": {
      "command": "npx",
      "args": [
        "-y",
        "kalka-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "kalka": {
      "command": "npx",
      "args": [
        "-y",
        "kalka-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "kalka": {
      "command": "npx",
      "args": [
        "-y",
        "kalka-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "kalka": {
      "command": "npx",
      "args": [
        "-y",
        "kalka-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "kalka": {
      "command": "npx",
      "args": [
        "-y",
        "kalka-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "kalka": {
      "command": "npx",
      "args": [
        "-y",
        "kalka-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 4 of 12 tools change data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `get_selection` (name suggests: reads): See what you selected and how the page is built
- `get_page_tree` (name suggests: reads): See how the page is built
- `get_html` (name suggests: reads): Read layers as HTML
- `write_html` (name suggests: changes): Add or replace layers by writing HTML and CSS
- `update_styles` (name suggests: changes): Change the CSS of layers
- `get_screenshot` (name suggests: reads): Look at the result, to check the work
- `get_design_guide` (name suggests: reads): Read Kalka's design process and its list of habits to avoid
- `ask_user`: Ask you questions in Kalka, with answers to click
- `get_comments` (name suggests: reads): Read comment threads
- `reply_to_comment` (name suggests: changes): Answer comment threads
- `list_settings` (name suggests: reads): Read Kalka settings
- `update_settings` (name suggests: changes): Change Kalka settings such as the theme

## FAQ

### Does the MCP server require a subscription?

The built-in server runs on your computer with no usage cap from Kalka. Agents running locally connect to the app directly on every plan.

### Do I need the app open for agents to work?

Yes. The server runs inside the desktop app and only sees documents you have open in it.

### Which clients can connect?

Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Codex, Gemini CLI, Antigravity, Kiro, Zed, LM Studio and opencode are listed for one-click setup, and other MCP clients can use a pasted configuration entry.

### Can an agent read my API keys?

No. Kalka states that agents can never read or change API keys, connections or tool access.

### How do I add Kalka to Claude Code?

Run this command in your terminal: claude mcp add kalka -- npx -y kalka-mcp

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [What a design!](https://ai-powered.com/mcp/what-a-design): What a design! is a free MCP server for design and media.

---
Source: https://ai-powered.com/mcp/kalka
