AI Agents Talk to Figma MCP
README.md

# <del>Claude</del> <ins>AI Agents</ins> Talk to Figma MCP
Enable your AI agents to read, analyze, and modify Figma designs.
> đ **Language / āĻāĻžāώāĻž:** [English guide](#english) ¡ [āĻŦāĻžāĻāϞāĻž āύāĻŋāϰā§āĻĻā§āĻļāĻŋāĻāĻž](#bangla)
Works with your favorite agentic tools:
- [Claude Desktop](https://claude.ai/)
- [Claude Code](https://docs.anthropic.com/en/docs/claude-code)
- [Cursor](https://cursor.com/)
- [Antigravity](https://antigravity.google/)
- [Windsurf](https://windsurf.com/)
- [VS Code](https://code.visualstudio.com/) + [GitHub Copilot](https://github.com/features/copilot)
- [Cline](https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev)
- [Roo Code](https://marketplace.visualstudio.com/items?itemName=RooVeterinaryInc.roo-cline)
## đŠđŊâđģ Who it's for
### UX/UI Teams
Automate repetitive design tasks and maintain brand consistency without manual effort:
- **Automated accessibility audits** - Detect and fix contrast issues in seconds
- **Bulk style updates** - Change colors, typography, or spacing across the entire document with a single command
- **Visual hierarchy analysis** - Get instant feedback on your design structure
- **Comment triage** - Read every review thread you're involved in and reply in bulk, without leaving the chat
### Developers
Generate production-ready code directly from designs:
- **React/Vue/SwiftUI components** - From design to code in one step
- **Code with design tokens** - Keep design and development in sync
- **Reduce handoff friction** - Fewer back-and-forth iterations with the design team
> **Key advantage**: Unlike [Figma's official MCP](https://www.figma.com/mcp-catalog/) which requires a Dev Mode license, this MCP **works with any Figma account** (even free ones).
> **Comments included**: Figma's Plugin API cannot see comments at all â they only exist in the REST API. This MCP bridges both, so your agent can read and reply to review threads as well as edit the canvas. See [Comment tools](#-comment-tools).
## đĄ Real-world use cases
**Accessibility:**
> "Find all text with contrast ratio <4.5:1 and suggest colors that meet WCAG AA"
**Rebranding:**
> "Change #FF6B6B to #E63946 in all primary buttons throughout the document"
**Design analysis:**
> "Analyze the visual hierarchy of this screen and suggest improvements based on design principles"
**Developer handoff:**
> "Generate the React component for 'CardProduct' including PropTypes and styles in CSS modules"
**Review triage:**
> "Show me every unresolved comment I'm involved in across the team, flag the ones waiting on my reply, and draft an answer for each"
---
<a id="english"></a>
# đ Installation â complete beginner's guide
**Time needed:** ~15 minutes the first time. About 20 seconds every day after that.
This guide assumes **zero prior experience**. Every command is written out in full. If you have never opened a terminal before, that's fine â start at [Step 0](#step-0-open-the-terminal).
> đĄ Written for **macOS**. Windows differences are called out in `đĒ Windows` notes under each step.
## đ§ First, understand what you're installing
This is not a single app. It's **three pieces that talk to each other**. Knowing this makes every later step (and every error message) make sense.
```
âââââââââââââââââââ ââââââââââââââââââââ âââââââââââââââââââ
â Claude Desktop âââââââââēâ WebSocket serverâââââââââēâ Figma Desktop â
â â MCP â (localhost:3055)â WS â + this plugin â
â 1. Extension â â 2. Terminal â â 3. Plugin â
âââââââââââââââââââ ââââââââââââââââââââ âââââââââââââââââââ
```
| # | Piece | What it does | Where it lives |
|---|-------|--------------|----------------|
| **1** | **The extension** (`.mcpb`) | Gives Claude the ~120 Figma tools | Installed inside Claude Desktop |
| **2** | **The WebSocket server** | The bridge/messenger between Claude and Figma | Runs in a Terminal window you keep open |
| **3** | **The Figma plugin** | Receives commands and actually edits your canvas | Installed inside Figma Desktop |
**All three must be running at the same time.** If any one is missing, Claude will say it can't reach Figma. That's the single most common problem people hit â see [Troubleshooting](#-troubleshooting-common-errors).
---
## Step 0: Open the Terminal
You'll need it for a few copy-paste commands. You do **not** need to understand them.
1. Press `Cmd` + `Space`
2. Type `Terminal`
3. Press `Enter`
A window with white or black text appears. That's the terminal. To run a command: copy it, paste it (`Cmd` + `V`), press `Enter`, and **wait** until the text stops scrolling and you get a fresh prompt line back.
> đĒ **Windows:** press `Win`, type `PowerShell`, press `Enter`.
---
## Step 1: Install the four prerequisites
### 1a. Node.js
Check whether you already have it â paste this and press Enter:
```bash
node -v
```
- â
You see something like `v22.14.0` (any number **18 or higher**) â skip to 1b.
- â You see `command not found` â go to **[nodejs.org](https://nodejs.org/en/download)**, click the green **"Download Node.js (LTS)"** button, open the downloaded `.pkg` file, and click **Continue** through every screen of the installer.
Then **quit and reopen Terminal** and run `node -v` again to confirm.
### 1b. Bun (required, do not skip)
The bridge server (piece #2) is built on Bun and **will not run on Node alone**. Skipping this is the #1 reason the setup fails.
Check:
```bash
bun -v
```
If you get `command not found`, install it:
```bash
curl -fsSL https://bun.sh/install | bash
```
When it finishes, **quit and reopen Terminal**, then verify:
```bash
bun -v
```
You should see a version number like `1.2.4`.
> đĒ **Windows:** run `powershell -c "irm bun.sh/install.ps1 | iex"` instead.
### 1c. Figma **Desktop** app
Download from **[figma.com/downloads](https://www.figma.com/downloads/)**.
> â ī¸ The browser version of Figma **will not work**. Local plugin development requires the desktop app. Install it even if you normally use Figma in Chrome.
### 1d. Claude Desktop
Download from **[claude.ai/download](https://claude.ai/download)**. Sign in.
> â ī¸ Same rule: the **desktop app**, not claude.ai in a browser. Browser Claude cannot load extensions.
**â
Checkpoint â** before continuing, `node -v` and `bun -v` should both print version numbers, and both Figma Desktop and Claude Desktop should open.
---
## Step 2: Download this project and build it
Copy this **whole block** at once, paste it into Terminal, press Enter:
```bash
cd ~/Documents
git clone https://github.com/litoondev/claude-talk-to-figma-mcp-main.git
cd claude-talk-to-figma-mcp-main
npm install
npm run build
```
Plain English, line by line:
| Line | What it does |
|------|--------------|
| `cd ~/Documents` | Moves into your Documents folder |
| `git clone âĻ` | Downloads the project into `Documents/claude-talk-to-figma-mcp-main` |
| `cd claude-talkâĻ` | Moves inside the folder you just downloaded |
| `npm install` | Downloads the code libraries it needs (takes 1â3 min, lots of scrolling text â normal) |
| `npm run build` | Compiles the source into runnable files |
> đĄ **There is one more important command: `npm run socket`.** It starts the bridge server that connects Claude to Figma. You'll run it in [Step 6a](#6a-start-the-bridge-server) every time you use the tool â **not** during install.
**This folder is now your home base.** You'll come back to it every time you use the tool. Remember where it is: `Documents/claude-talk-to-figma-mcp-main`.
<details>
<summary>â <code>git: command not found</code></summary>
Install Apple's developer tools, then re-run the block above:
```bash
xcode-select --install
```
A dialog appears â click **Install** and wait for it to finish.
Alternatively, skip git entirely: download the project as a ZIP from the [GitHub page](https://github.com/litoondev/claude-talk-to-figma-mcp-main) (green **Code** button â **Download ZIP**), unzip it into `Documents`, then run `npm install` and `npm run build` inside the unzipped folder.
</details>
<details>
<summary>â <code>npm install</code> printed red warnings</summary>
Warnings (`WARN`, `deprecated`) are cosmetic â ignore them. Only stop if you see the word **`ERR!`** and the command exits without finishing.
</details>
> đĒ **Windows:** use `npm run build:win` instead of `npm run build`, and `cd $HOME\Documents` instead of `cd ~/Documents`.
---
## Step 3: Build the Claude Desktop extension
The GitHub Releases page only carries an old build, so build the current one yourself. Still inside the project folder, run:
```bash
npx dxt pack . claude-talk-to-figma-mcp.mcpb
```
When it finishes (about 30 seconds), the project folder contains **`claude-talk-to-figma-mcp.mcpb`**, the file you install in the next step.
> đĄ `npx dxt` is the packaging tool that `npm install` already downloaded. Nothing else to install.
>
> đĒ **Windows:** the command is the same.
<details>
<summary>â I also see <code>.dxt</code> files in the folder</summary>
Older instructions (`npm run build:dxt`, `npm run pack`) create extra copies named `.dxt`. They contain exactly the same thing, since Anthropic renamed the format from **DXT** to **MCPB**. Use the `.mcpb` and delete the `.dxt` copies if you like. Only use a `.dxt` if a very old Claude Desktop refuses the `.mcpb`.
</details>
---
## Step 4: Install the extension into Claude Desktop
1. Open **Finder** â click the blue-and-white smiley-face icon in your Dock, or press `Cmd` + `Space`, type `Finder`, press `Enter`
2. In the **sidebar** on the left, click **Documents**, then open the `claude-talk-to-figma-mcp-main` folder
3. **Double-click `claude-talk-to-figma-mcp.mcpb`**
4. Claude Desktop opens and shows an install prompt â click **Install**
5. It will ask for a **Figma personal access token** â **leave the field blank and click Continue.** This is optional and only needed for comment tools â you can add it later in [Step 7](#step-7-optional-comment-tools).
6. **Quit Claude Desktop completely** â press `Cmd` + `Q` (do **not** just click the red à to close the window) â then reopen it
**Alternative if double-clicking does nothing:** Open Claude Desktop â **Settings** (gear icon or top menu) â **Extensions** tab â drag the `.mcpb` file and drop it anywhere onto that Extensions page.
**â
Checkpoint â** go to Claude Desktop â Settings â Extensions. You should see **Claude Talk to Figma** listed and enabled.
<details>
<summary>â macOS opened the file in Archive Utility or another app</summary>
Right-click the file â **Open With** â **Claude**. If Claude isn't listed, choose **OtherâĻ**, navigate to `Applications`, and pick Claude.
</details>
<details>
<summary>â Claude says the file is invalid or refuses it</summary>
Try the other file â double-click the `.dxt` instead of the `.mcpb`. If both fail, update Claude Desktop to the latest version and retry.
</details>
---
## Step 5: Install the plugin inside Figma
1. Open the **Figma Desktop app**
2. Open any design file (or create a new one)
3. Click the **Figma logo (the "F" icon)** in the very top-left corner of the app â **Plugins** â **Development** â **Import plugin from manifestâĻ**
4. In the file picker, navigate to:
```
Documents â claude-talk-to-figma-mcp-main â src â claude_mcp_plugin â manifest.json
```
5. Select **`manifest.json`** and click **Open**
> đĄ Can't see the `src` folder in the picker? Press `Cmd` + `Shift` + `G` and paste `~/Documents/claude-talk-to-figma-mcp-main/src/claude_mcp_plugin` to jump straight there.
**â
Checkpoint â** **Plugins** â **Development** now lists **Claude Talk to Figma**. You only do this once, ever.
---
## Step 6: Run it â the daily routine
These are the only steps you repeat in future sessions.
### 6a. Start the bridge server
Open Terminal and run:
```bash
cd ~/Documents/claude-talk-to-figma-mcp-main
npm run socket
```
You should see:
```
Claude to Figma WebSocket server running on port 3055
Status endpoint available at http://localhost:3055/status
```
> đ¨ **Leave this Terminal window open.** Closing it, or pressing `Ctrl` + `C`, kills the bridge and Claude immediately loses Figma. Just push the window aside.
Want to double-check it's alive? Open **http://localhost:3055/status** in a browser.
<details>
<summary>â <code>ReferenceError: Bun is not defined</code></summary>
Bun isn't installed. Go back to [Step 1b](#1b-bun-required-do-not-skip). This server genuinely cannot run on Node.
</details>
<details>
<summary>â <code>EADDRINUSE</code> / port 3055 already in use</summary>
The server is already running in another Terminal window â you're done, just use that one. To force-stop it: `pkill -f socket.js`
</details>
### 6b. Open the plugin in Figma
In your Figma file: **Plugins** â **Development** â **Claude Talk to Figma**.
A small panel opens showing a **channel ID** in bold inside a green box â something like `a4f9c2`.
> â ī¸ **This ID changes every time you reopen the plugin.** Never reuse an old one â always copy a fresh one.
**â Copy that 6-character ID now. You'll paste it into Claude in the very next step.**
> đĄ See a **Connect** button instead of an ID? Click it. The ID appears once the plugin reaches the bridge server. If it never does, the server from Step 6a isn't running.
>
> đĄ **Shortcut:** click the ID itself. It copies the whole message `Connect to Figma, channel âĻ` so you can paste it straight into Claude.
### 6c. Connect Claude
In Claude Desktop, type the message below â but **replace `a4f9c2` with the ID you just copied from the plugin panel**:
```
Connect to Figma, channel a4f9c2
```
> đ **`a4f9c2` is just an example.** Your real ID will look similar but be different â something like `d7b3f1` or `c90ae4`. You must use your own ID or Claude won't connect.
Claude confirms the connection. Now test it:
```
What's currently selected in Figma?
```
Select any layer in Figma first, then ask. If Claude describes it â **you're fully set up.** đ
---
## Step 7: Optional comment tools
Skip unless you want Claude to **read and reply to Figma comments**. Everything else already works without this.
Figma's Plugin API cannot see comments at all, so those specific tools go through Figma's REST API, which needs a token.
1. In Figma: **your avatar** â **Settings** â **Security** tab â **Personal access tokens** â **Generate new token**
2. Enable these scopes:
- **`files:read`** â read files and comments
- **`file_comments:write`** â post replies
3. Copy the token immediately (Figma shows it only once). It starts with `figd_`.
4. In Claude Desktop: **Settings** â **Extensions** â **Claude Talk to Figma** â paste the token into the **Figma personal access token** field
5. Quit Claude (`Cmd` + `Q`) and reopen
6. Verify by asking: `Check my Figma account`
> đ This token can read **every file your account can open**. Never commit it to a repo or paste it into a chat.
---
## đ
Every session after the first
Setup is permanent. Daily use is three things, ~20 seconds:
```bash
cd ~/Documents/claude-talk-to-figma-mcp-main && npm run socket
```
1. â
Run the command above (leave the Terminal window open)
2. â
Figma â **Plugins** â **Development** â **Claude Talk to Figma** â copy the channel ID from the green box
3. â
Tell Claude: `Connect to Figma, channel` and then paste your ID â e.g. `Connect to Figma, channel d7b3f1`
---
## đ§š Optimize layers & convert to Grid
Clean up messy layer trees (empty frames, useless groups, `Frame > Frame > Card` double nesting) and turn card rows into a real Figma **Grid**, **without changing how the design looks**.
### How to use it
1. In Figma, **select one section or frame**, for example `# Work Process`. Don't select a whole page of 100+ sections.
2. Tell Claude:
```
Optimize the layers of the selected section
```
3. Claude first **scans** (nothing changes yet), then asks you about anything that needs a decision:
| Claude asks | What it means | Your answer |
|---|---|---|
| "N hidden layers were found. Do you want to remove them?" | Hidden layers may be alternate states you kept on purpose | **Yes** to delete them, **No** to keep them |
| "\"Card\" has a prototype interaction â remove it?" | Removing it could break your prototype, an effect, an export or a mask | Decide for each one |
| "\"# Work Process\" can become a 4-column GridâĻ Convert it?" | The heading and cards can sit directly inside a Grid, with the wrapper frames removed | **Yes** to convert |
4. Claude applies only what you approved and reports what changed.
### What it does automatically (no question needed)
- Removes empty and zero-size layers
- Collapses wrapper frames that do nothing: a single child exactly the same size, no padding, no fill, no stroke, no clip
- Hands the wrapper's **Fill** sizing to the child, so the layout stays identical
### What it never does
- Never deletes a **hidden** layer, or a layer with a **prototype interaction, effect, export setting or mask**, without your "yes"
- Never deletes **main components**, **component-property** layers or **variant** layers
- Never changes text, fonts, colours, spacing values or variables
- Never enters **component instances**
### How the Grid conversion stays safe
| Your design | After conversion |
|---|---|
| `# Work Process` (vertical Auto Layout) â `Text_Container` + `Container` â `Frame` â `Frame` â `Card` Ã4 | `# Work Process` (**Grid**, 4 columns) â `Text_Container` (spans all 4) + `Card` Ã4 |
- The **column count is read from your design**: 4 equal cards means 4 equal columns (`repeat(4, 1fr)`).
- Gaps and padding keep their **variables** (row gap = the section's gap, column gap = the row's gap).
- After converting, the plugin **measures every heading and card**. If anything moved by more than 1px, or Figma refuses a step, **it undoes the conversion** and tells you why. Each conversion is one `Cmd` + `Z`.
- A section is only proposed when a Grid can reproduce it exactly: one heading, one row of equal-width items, no padding or background on the row.
> â ī¸ **If a Grid conversion is not applied, don't "fix" it by ungrouping.** Ungrouping an Auto Layout row stacks the cards, and moving them back by hand leaves a frame with **fixed positions and no layout**. It looks right but no longer adapts. Report the reason instead.
---
## đ Convert an HTML file or website to Figma
Turn a web page into a Figma design that **looks exactly like the page**: every section, text, image and icon. It's linked to your file's own styles and variables, with a clean, flat layer tree.
### How to use it
1. In Figma, open the file whose design system (colour variables, text styles, spacing tokens) you want the import to use.
2. Take a **full-page screenshot** of the website or HTML page and send it to Claude. It's the reference Claude compares the result against at the end.
3. Tell Claude one of these:
```
Convert https://example.com to Figma
```
```
Convert /Users/YOUR_NAME/Desktop/page.html to Figma
```
> đĄ A local file needs its **full path**, and must be on the same computer as Claude Desktop. To get the path on a Mac: select the file in Finder, hold `Option`, right-click â **Copy "page.html" as Pathname**.
4. Claude works through these steps and tells you what it is doing:
| Step | What happens |
|---|---|
| **1. Analyse** | Reads the page and its CSS: sections, text, colours, fonts, spacing, radii, **every image and icon**, and whether each block is a grid or a row/column |
| **2. Match** | Compares every value with your design system: **use from the system** / **close but not exact** / **not in the system** |
| **3. Build** | Binds your variables and text styles where they match **exactly**; builds everything else with the page's own values. Places every image and icon. Uses **Grid** or **Auto Layout** per container (table below) |
| **4. Components** | An element that appears **2 or more times** with no exact component in your file becomes a **new component** in a frame named **Components â from HTML** beside the page, and the page uses instances of it. Elements that appear once stay plain layers |
| **5. Import Notes** | A frame beside the design listing what was not in your design system, the new components, and anything that could not be made identical |
| **6. Compare** | Exports the result and compares it with your screenshot, fixing differences until nothing differs; then runs the layer scan, asking before removing anything |
### The rules it follows
- **Identical.** Nothing is left out, nothing is added, nothing is restyled or simplified. If something truly can't be reproduced, Claude says so in Import Notes instead of approximating it.
- **Linked to your style guide.** A colour, text style, spacing or radius that exists in your design system is bound to it, never typed. A "close" style or component is not used, because it would change the design.
- **No new variables or styles.** The only things created are components for repeated elements.
### Grid or Auto Layout?
| The page uses | Built in Figma as |
|---|---|
| `display: grid` with equal columns | **Grid** with the same number of columns |
| A heading above a row of equal cards | **One Grid**: heading spans all columns, cards directly inside, no row wrapper |
| A row of equal items that wraps | **Grid** |
| A single row (menu, buttons, logos) | **Auto Layout â horizontal** |
| Stacked blocks / a column | **Auto Layout â vertical** |
| A button or banner pinned to the screen (`position: fixed`) | Built at the same position, on top of the page |
| A `div` that only wraps one element | **No frame**, as long as removing it changes nothing visually |
### Good to know
- **Images** are downloaded by the plugin's server (`place_html_image`) and placed at their exact size, from websites or from files next to a local `.html` page. **Icons** (inline SVG) are placed as vectors, including icons that come from an icon sprite. An image that can't be fetched keeps its exact-size frame, named `Image-Missing-âĻ`, so the layout doesn't shift.
- **It reads the page's HTML and CSS, not a live browser.** Pages that build their content with JavaScript after loading may come in incomplete. For those, open the page in Chrome â **File â Save Page AsâĻ â Webpage, Complete**, and convert the saved `.html` file.
- **Pages behind a login** can't be read. Save them as above.
- **Fonts** must be installed on your computer for Figma to use them.
---
## đ Update to the newest version
When this repository gets new features, update like this (about 3 minutes):
```bash
cd ~/Documents/claude-talk-to-figma-mcp-main
git pull
npm install
npm run build
npx dxt pack . claude-talk-to-figma-mcp.mcpb
```
Then:
1. Double-click the new **`claude-talk-to-figma-mcp.mcpb`** â **Install / Replace**
2. **Quit Claude Desktop completely** (`Cmd` + `Q`) and reopen it
3. In the Terminal running the bridge, press `Ctrl` + `C`, then start it again with `npm run socket`
4. In Figma, **close the plugin and open it again** (it loads the new plugin code), and connect with the new channel ID
> đ **Skipping step 1 or 2 is the #1 reason "nothing changed".** Claude Desktop keeps running the extension you installed before until you reinstall it and restart. The version number in Settings â Extensions may not change, so don't rely on it.
>
> đĒ **Windows:** use `npm run build:win` instead of `npm run build`, and `cd $HOME\Documents\claude-talk-to-figma-mcp-main`.
---
<a id="bangla"></a>
# đ§đŠ āĻŦāĻžāĻāϞāĻž āύāĻŋāϰā§āĻĻā§āĻļāĻŋāĻāĻž â āĻāĻāĻĻāĻŽ āύāϤā§āύāĻĻā§āϰ āĻāύā§āϝ
**āϏāĻŽāϝāĻŧ āϞāĻžāĻāĻŦā§:** āĻĒā§āϰāĻĨāĻŽāĻŦāĻžāϰ āĻĒā§āϰāĻžāϝāĻŧ ā§§ā§Ģ āĻŽāĻŋāύāĻŋāĻāĨ¤ āĻāϰāĻĒāϰ āĻĒā§āϰāϤāĻŋāĻĻāĻŋāύ āĻŽāĻžāϤā§āϰ ⧍ā§Ļ āϏā§āĻā§āύā§āĻĄāĨ¤
āĻāĻ āύāĻŋāϰā§āĻĻā§āĻļāĻŋāĻāĻž āϧāϰ⧠āύāĻŋāĻā§āĻā§ āĻāĻĒāύāĻŋ āĻāĻā§ āĻāĻāύ⧠Terminal āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻāϰā§āύāύāĻŋāĨ¤ āĻĒā§āϰāϤāĻŋāĻāĻŋ āĻāĻŽāĻžāύā§āĻĄ āĻĒā§āϰā§āĻāĻž āϞā§āĻāĻž āĻāĻā§, āĻļā§āϧ⧠āĻāĻĒāĻŋ āĻāϰ⧠āĻĒā§āϏā§āĻ āĻāϰāĻŦā§āύāĨ¤ āĻāĻŽāĻžāύā§āĻĄāĻā§āϞ⧠āĻāĻāϰā§āĻāĻŋāϤā§āĻ āĻĨāĻžāĻāĻŦā§, āĻāĻā§āϞ⧠āĻŦāĻĻāϞāĻžāĻŦā§āύ āύāĻžāĨ¤
> đĄ āύāĻŋāϰā§āĻĻā§āĻļāĻŋāĻāĻžāĻāĻŋ **macOS**-āĻāϰ āĻāύā§āϝ āϞā§āĻāĻžāĨ¤ Windows-āĻ āϝā§āĻāĻžāύ⧠āĻāϞāĻžāĻĻāĻž, āϏā§āĻāĻžāύ⧠`đĒ Windows` āϞā§āĻāĻž āĻāĻā§āĨ¤
## đ§ āĻāĻā§ āĻŦā§āĻā§ āύāĻŋāύ āĻā§ āĻāύāϏā§āĻāϞ āĻāϰāĻā§āύ
āĻāĻāĻž āĻāĻāĻāĻž āĻ
ā§āϝāĻžāĻĒ āύāϝāĻŧ, **āϤāĻŋāύāĻāĻŋ āĻ
āĻāĻļ āĻāĻāϏāĻžāĻĨā§ āĻāĻžāĻ āĻāϰā§**:
```
âââââââââââââââââââ ââââââââââââââââââââ âââââââââââââââââââ
â Claude Desktop âââââââââēâ āĻŦā§āϰāĻŋāĻ āϏāĻžāϰā§āĻāĻžāϰ âââââââââēâ Figma Desktop â
â ā§§. āĻāĻā§āϏāĻā§āύāĻļāύ â â ⧍. Terminal-āĻ āĻāϞ⧠â â ā§Š. āĻĒā§āϞāĻžāĻāĻāύ â
âââââââââââââââââââ ââââââââââââââââââââ âââââââââââââââââââ
```
| # | āĻ
āĻāĻļ | āĻā§ āĻāĻžāĻ āĻāϰ⧠| āĻā§āĻĨāĻžāϝāĻŧ āĻĨāĻžāĻā§ |
|---|---|---|---|
| **ā§§** | **āĻāĻā§āϏāĻā§āύāĻļāύ** (`.mcpb` āĻĢāĻžāĻāϞ) | Claude-āĻā§ Figma-āϰ āĻā§āϞāĻā§āϞ⧠āĻĻā§āϝāĻŧ | Claude Desktop-āĻāϰ āĻā§āϤāϰ⧠|
| **⧍** | **āĻŦā§āϰāĻŋāĻ āϏāĻžāϰā§āĻāĻžāϰ** | Claude āĻāϰ Figma-āϰ āĻŽāϧā§āϝ⧠āĻŦāĻžāϰā§āϤāĻž āĻāĻĻāĻžāύ-āĻĒā§āϰāĻĻāĻžāύ āĻāϰ⧠| āĻāĻāĻāĻž āĻā§āϞāĻž Terminal āĻāĻāύā§āĻĄā§āϤ⧠|
| **ā§Š** | **Figma āĻĒā§āϞāĻžāĻāĻāύ** | āύāĻŋāϰā§āĻĻā§āĻļ āĻĒā§āϝāĻŧā§ āĻāϏāϞ⧠āĻĄāĻŋāĻāĻžāĻāύ⧠āĻĒāϰāĻŋāĻŦāϰā§āϤāύ āĻāϰ⧠| Figma Desktop-āĻāϰ āĻā§āϤāϰ⧠|
**āϤāĻŋāύāĻāĻŋāĻ āĻāĻāϏāĻžāĻĨā§ āĻāĻžāϞ⧠āĻĨāĻžāĻāϤ⧠āĻšāĻŦā§āĨ¤** āϝā§āĻā§āύ⧠āĻāĻāĻāĻž āĻŦāύā§āϧ āĻĨāĻžāĻāϞ⧠Claude āĻŦāϞāĻŦā§ āϏ⧠Figma-āϤ⧠āĻĒā§āĻāĻāĻžāϤ⧠āĻĒāĻžāϰāĻā§ āύāĻžāĨ¤ āĻāĻāĻžāĻ āϏāĻŦāĻā§āϝāĻŧā§ āϏāĻžāϧāĻžāϰāĻŖ āϏāĻŽāϏā§āϝāĻžāĨ¤
---
## āϧāĻžāĻĒ ā§Ļ: Terminal āĻā§āϞā§āύ
1. āĻāĻŋāĻŦā§āϰā§āĻĄā§ `Cmd` + `Space` āĻāĻžāĻĒā§āύ
2. `Terminal` āϞāĻŋāĻā§āύ
3. `Enter` āĻāĻžāĻĒā§āύ
āĻāĻāĻāĻž āϞā§āĻāĻžāĻāϰāĻž āĻāĻāύā§āĻĄā§ āĻā§āϞāĻŦā§, āĻāĻāĻžāĻ TerminalāĨ¤ āĻāĻŽāĻžāύā§āĻĄ āĻāĻžāϞāĻžāϤā§: āĻāĻŽāĻžāύā§āĻĄ āĻāĻĒāĻŋ āĻāϰā§āύ â Terminal-āĻ āĻĒā§āϏā§āĻ āĻāϰā§āύ (`Cmd` + `V`) â `Enter` āĻāĻžāĻĒā§āύ â āϞā§āĻāĻž āĻĨāĻžāĻŽāĻž āĻĒāϰā§āϝāύā§āϤ **āĻ
āĻĒā§āĻā§āώāĻž āĻāϰā§āύ**āĨ¤
> đĒ **Windows:** `Win` āĻā§ āĻāĻžāĻĒā§āύ, `PowerShell` āϞāĻŋāĻā§ `Enter` āĻāĻžāĻĒā§āύāĨ¤
---
## āϧāĻžāĻĒ ā§§: āĻāĻžāϰāĻāĻŋ āĻĒā§āϰāϝāĻŧā§āĻāύā§āϝāĻŧ āĻāĻŋāύāĻŋāϏ āĻāύāϏā§āĻāϞ āĻāϰā§āύ
### ā§§āĻ. Node.js
āĻāĻā§ āĻĨā§āĻā§ āĻāĻā§ āĻāĻŋāύāĻž āĻĻā§āĻā§āύ:
```bash
node -v
```
- â
`v22.14.0`-āĻāϰ āĻŽāϤ⧠āĻāĻŋāĻā§ āĻĻā§āĻāĻžāϞ⧠(**18 āĻŦāĻž āϤāĻžāϰ āĻŦā§āĻļāĻŋ**) â ā§§āĻ-āϤ⧠āϝāĻžāύāĨ¤
- â `command not found` āĻĻā§āĻāĻžāϞ⧠â **[nodejs.org](https://nodejs.org/en/download)**-āĻ āĻāĻŋāϝāĻŧā§ āϏāĻŦā§āĻ **"Download Node.js (LTS)"** āĻŦāĻžāĻāύ⧠āĻā§āϞāĻŋāĻ āĻāϰā§āύ, āĻĄāĻžāĻāύāϞā§āĻĄ āĻšāĻāϝāĻŧāĻž āĻĢāĻžāĻāϞ āĻā§āϞ⧠**Continue** āĻāĻžāĻĒāϤ⧠āĻĨāĻžāĻā§āύāĨ¤
āϤāĻžāϰāĻĒāϰ Terminal **āĻŦāύā§āϧ āĻāϰ⧠āĻāĻŦāĻžāϰ āĻā§āϞā§āύ**, āĻāϰ `node -v` āĻāĻŦāĻžāϰ āĻāĻžāϞāĻŋāϝāĻŧā§ āĻĻā§āĻā§āύāĨ¤
### ā§§āĻ. Bun (āĻ
āĻŦāĻļā§āϝāĻ āϞāĻžāĻāĻŦā§, āĻŦāĻžāĻĻ āĻĻā§āĻŦā§āύ āύāĻž)
āĻŦā§āϰāĻŋāĻ āϏāĻžāϰā§āĻāĻžāϰ Bun āĻāĻžāĻĄāĻŧāĻž **āĻāϞāĻŦā§āĻ āύāĻž**āĨ¤ āĻāĻ āϧāĻžāĻĒ āĻŦāĻžāĻĻ āĻĻā§āĻāϝāĻŧāĻžāĻ āϏā§āĻāĻāĻĒ āĻŦā§āϝāϰā§āĻĨ āĻšāĻāϝāĻŧāĻžāϰ ā§§ āύāĻŽā§āĻŦāϰ āĻāĻžāϰāĻŖāĨ¤
```bash
bun -v
```
`command not found` āĻĻā§āĻāĻžāϞ⧠āĻāύāϏā§āĻāϞ āĻāϰā§āύ:
```bash
curl -fsSL https://bun.sh/install | bash
```
āĻļā§āώ āĻšāϞ⧠Terminal **āĻŦāύā§āϧ āĻāϰ⧠āĻāĻŦāĻžāϰ āĻā§āϞā§āύ**, āϤāĻžāϰāĻĒāϰ `bun -v` āĻāĻžāϞāĻžāύāĨ¤ `1.2.4`-āĻāϰ āĻŽāϤ⧠āĻāĻžāϰā§āϏāύ āĻĻā§āĻāĻžāĻŦā§āĨ¤
> đĒ **Windows:** āĻāϰ āĻŦāĻĻāϞ⧠āĻāĻžāϞāĻžāύ `powershell -c "irm bun.sh/install.ps1 | iex"`
### ā§§āĻ. Figma **Desktop** āĻ
ā§āϝāĻžāĻĒ
**[figma.com/downloads](https://www.figma.com/downloads/)** āĻĨā§āĻā§ āĻĄāĻžāĻāύāϞā§āĻĄ āĻāϰā§āύāĨ¤
> â ī¸ āĻŦā§āϰāĻžāĻāĻāĻžāϰā§āϰ Figma-āϤ⧠**āĻāĻžāĻ āĻāϰāĻŦā§ āύāĻž**āĨ¤ āĻĄā§āϏā§āĻāĻāĻĒ āĻ
ā§āϝāĻžāĻĒ āϞāĻžāĻāĻŦā§āĻāĨ¤
### ā§§āĻ. Claude Desktop
**[claude.ai/download](https://claude.ai/download)** āĻĨā§āĻā§ āĻĄāĻžāĻāύāϞā§āĻĄ āĻāϰ⧠āϏāĻžāĻāύ āĻāύ āĻāϰā§āύāĨ¤
> â ī¸ āĻŦā§āϰāĻžāĻāĻāĻžāϰā§āϰ claude.ai āύāϝāĻŧ, **āĻĄā§āϏā§āĻāĻāĻĒ āĻ
ā§āϝāĻžāĻĒ** āϞāĻžāĻāĻŦā§āĨ¤ āĻŦā§āϰāĻžāĻāĻāĻžāϰ⧠āĻāĻā§āϏāĻā§āύāĻļāύ āĻāϞ⧠āύāĻžāĨ¤
**â
āϝāĻžāĻāĻžāĻ:** `node -v` āĻāϰ `bun -v` āĻĻā§āĻā§āĻ āĻāĻžāϰā§āϏāύ āĻĻā§āĻāĻžāĻā§āĻā§, āĻāϰ Figma Desktop āĻ Claude Desktop āĻĻā§āĻā§āĻ āĻā§āϞāĻā§āĨ¤
---
## āϧāĻžāĻĒ ā§¨: āĻĒā§āϰāĻā§āĻā§āĻ āĻĄāĻžāĻāύāϞā§āĻĄ āĻāϰ⧠āĻŦāĻŋāϞā§āĻĄ āĻāϰā§āύ
āύāĻŋāĻā§āϰ **āĻĒā§āϰ⧠āĻŦā§āϞāĻāĻāĻž āĻāĻāϏāĻžāĻĨā§** āĻāĻĒāĻŋ āĻāϰ⧠Terminal-āĻ āĻĒā§āϏā§āĻ āĻāϰā§āύ, āϤāĻžāϰāĻĒāϰ `Enter`:
```bash
cd ~/Documents
git clone https://github.com/litoondev/claude-talk-to-figma-mcp-main.git
cd claude-talk-to-figma-mcp-main
npm install
npm run build
```
| āϞāĻžāĻāύ | āĻā§ āĻāϰ⧠|
|---|---|
| `cd ~/Documents` | Documents āĻĢā§āϞā§āĻĄāĻžāϰ⧠āϝāĻžāϝāĻŧ |
| `git clone âĻ` | āĻĒā§āϰāĻā§āĻā§āĻāĻāĻž `Documents/claude-talk-to-figma-mcp-main`-āĻ āĻĄāĻžāĻāύāϞā§āĻĄ āĻāϰ⧠|
| `cd claude-talkâĻ` | āϏā§āĻ āĻĢā§āϞā§āĻĄāĻžāϰā§āϰ āĻā§āϤāϰ⧠āĻĸā§āĻā§ |
| `npm install` | āĻĻāϰāĻāĻžāϰāĻŋ āϞāĻžāĻāĻŦā§āϰā§āϰāĻŋ āĻĄāĻžāĻāύāϞā§āĻĄ āĻāϰ⧠(ā§§âā§Š āĻŽāĻŋāύāĻŋāĻ, āĻ
āύā§āĻ āϞā§āĻāĻž āĻāϏāĻŦā§, āĻāĻāĻž āϏā§āĻŦāĻžāĻāĻžāĻŦāĻŋāĻ) |
| `npm run build` | āĻĒā§āϰāĻā§āĻā§āĻāĻā§ āĻāĻžāϞāĻžāύā§āϰ āĻāĻĒāϝā§āĻā§ āĻāϰ⧠|
**āĻāĻ āĻĢā§āϞā§āĻĄāĻžāϰāĻāĻžāĻ āĻāĻĒāύāĻžāϰ āĻŽā§āϞ āĻāĻžāϝāĻŧāĻāĻž:** `Documents/claude-talk-to-figma-mcp-main`āĨ¤ āĻĒā§āϰāϤāĻŋāĻŦāĻžāϰ āĻāĻāĻžāύā§āĻ āĻĢāĻŋāϰ⧠āĻāϏāĻŦā§āύāĨ¤
> â **`git: command not found` āĻĻā§āĻāĻžāϞā§:** `xcode-select --install` āĻāĻžāϞāĻžāύ, āϝ⧠āĻāĻāύā§āĻĄā§ āĻāϏāĻŦā§ āϏā§āĻāĻžāύ⧠**Install** āĻāĻžāĻĒā§āύ, āϤāĻžāϰāĻĒāϰ āĻāĻĒāϰā§āϰ āĻŦā§āϞāĻāĻāĻž āĻāĻŦāĻžāϰ āĻāĻžāϞāĻžāύāĨ¤ āĻ
āĻĨāĻŦāĻž [GitHub āĻĒā§āĻ](https://github.com/litoondev/claude-talk-to-figma-mcp-main) āĻĨā§āĻā§ āϏāĻŦā§āĻ **Code** āĻŦāĻžāĻāύ â **Download ZIP** â Documents-āĻ unzip āĻāϰā§āύ â āϏā§āĻ āĻĢā§āϞā§āĻĄāĻžāϰ⧠`npm install` āĻāϰ `npm run build` āĻāĻžāϞāĻžāύāĨ¤
>
> â **āϞāĻžāϞ āϰāĻā§āϰ `WARN` āĻŦāĻž `deprecated` āϞā§āĻāĻž āĻāϞā§:** āĻāĻŋāύā§āϤāĻžāϰ āĻāĻŋāĻā§ āύā§āĻ, āĻāĻĒā§āĻā§āώāĻž āĻāϰā§āύāĨ¤ āĻļā§āϧ⧠**`ERR!`** āϞā§āĻāĻž āĻāϏ⧠āĻāĻŽāĻžāύā§āĻĄ āĻŽāĻžāĻāĻĒāĻĨā§ āĻĨā§āĻŽā§ āĻā§āϞ⧠āϏāĻŽāϏā§āϝāĻžāĨ¤
>
> đĒ **Windows:** `npm run build`-āĻāϰ āĻŦāĻĻāϞ⧠`npm run build:win`, āĻāϰ `cd ~/Documents`-āĻāϰ āĻŦāĻĻāϞ⧠`cd $HOME\Documents` āϞāĻŋāĻā§āύāĨ¤
---
## āϧāĻžāĻĒ ā§Š: Claude Desktop-āĻāϰ āĻāĻā§āϏāĻā§āύāĻļāύ āĻĢāĻžāĻāϞ āϤā§āϰāĻŋ āĻāϰā§āύ
āĻāĻāĻ āĻĢā§āϞā§āĻĄāĻžāϰ⧠āĻĨā§āĻā§ āĻāĻāĻž āĻāĻžāϞāĻžāύ:
```bash
npx dxt pack . claude-talk-to-figma-mcp.mcpb
```
āĻĒā§āϰāĻžāϝāĻŧ ā§Šā§Ļ āϏā§āĻā§āύā§āĻĄ āĻĒāϰ āĻĢā§āϞā§āĻĄāĻžāϰ⧠**`claude-talk-to-figma-mcp.mcpb`** āĻĢāĻžāĻāϞ āϤā§āϰāĻŋ āĻšāĻŦā§āĨ¤ āĻĒāϰā§āϰ āϧāĻžāĻĒā§ āĻāĻāĻžāĻ āĻāύāϏā§āĻāϞ āĻāϰāĻŦā§āύāĨ¤
> đĄ āĻĢā§āϞā§āĻĄāĻžāϰ⧠`.dxt` āĻĢāĻžāĻāϞāĻ āĻĻā§āĻāϞ⧠āĻāĻžāĻŦāĻĄāĻŧāĻžāĻŦā§āύ āύāĻžāĨ¤ āĻāĻā§āϞ⧠āĻāĻāĻ āĻāĻŋāύāĻŋāϏā§āϰ āĻĒā§āϰā§āύ⧠āύāĻžāĻŽā§āϰ āĻāĻĒāĻŋāĨ¤ **āϏāĻŦāϏāĻŽāϝāĻŧ `.mcpb` āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻāϰā§āύāĨ¤**
---
## āϧāĻžāĻĒ ā§Ē: Claude Desktop-āĻ āĻāĻā§āϏāĻā§āύāĻļāύ āĻāύāϏā§āĻāϞ āĻāϰā§āύ
1. **Finder** āĻā§āϞā§āύ â āĻŦāĻžāĻ āĻĒāĻžāĻļā§ **Documents** â `claude-talk-to-figma-mcp-main` āĻĢā§āϞā§āĻĄāĻžāϰ āĻā§āϞā§āύ
2. **`claude-talk-to-figma-mcp.mcpb`** āĻĢāĻžāĻāϞ⧠**āĻĄāĻžāĻŦāϞ-āĻā§āϞāĻŋāĻ** āĻāϰā§āύ
3. Claude Desktop āĻā§āϞ⧠āĻāύāϏā§āĻāϞā§āϰ āĻ
āύā§āĻŽāϤāĻŋ āĻāĻžāĻāĻŦā§ â **Install** āĻāĻžāĻĒā§āύ (āĻāĻā§ āĻĨā§āĻā§ āĻĨāĻžāĻāϞ⧠**Replace**)
4. **Figma personal access token** āĻāĻžāĻāϞ⧠â **āĻāĻžāϞāĻŋ āϰā§āĻā§ Continue āĻāĻžāĻĒā§āύāĨ¤** āĻāĻāĻž āĻļā§āϧ⧠āĻāĻŽāĻžāύā§āĻĄ āĻā§āϞā§āϰ āĻāύā§āϝ, āĻĒāϰ⧠āĻĻāĻŋāϞā§āĻ āĻāϞāĻŦā§ ([āϧāĻžāĻĒ ā§](#bangla-step7))
5. **Claude Desktop āĻĒā§āϰ⧠āĻŦāύā§āϧ āĻāϰā§āύ:** `Cmd` + `Q` āĻāĻžāĻĒā§āύ (āϞāĻžāϞ à āĻāĻžāĻĒāϞ⧠āĻĒā§āϰ⧠āĻŦāύā§āϧ āĻšāϝāĻŧ āύāĻž), āϤāĻžāϰāĻĒāϰ āĻāĻŦāĻžāϰ āĻā§āϞā§āύ
**āĻĄāĻžāĻŦāϞ-āĻā§āϞāĻŋāĻā§ āĻāĻŋāĻā§ āύāĻž āĻšāϞā§:** Claude Desktop â **Settings** â **Extensions** â `.mcpb` āĻĢāĻžāĻāϞāĻāĻž āĻā§āύ⧠āĻāύ⧠āĻāĻ āĻĒā§āĻā§ āĻā§āĻĄāĻŧā§ āĻĻāĻŋāύāĨ¤
**â
āϝāĻžāĻāĻžāĻ:** Claude Desktop â Settings â Extensions-āĻ **Claude Talk to Figma** āĻĻā§āĻāĻž āϝāĻžāĻā§āĻā§ āĻāĻŦāĻ āĻāĻžāϞ⧠āĻāĻā§āĨ¤
> â āĻĢāĻžāĻāϞāĻāĻž āĻ
āύā§āϝ āĻā§āύ⧠āĻ
ā§āϝāĻžāĻĒā§ āĻā§āϞ⧠āĻā§āϞā§: āĻĢāĻžāĻāϞ⧠āϰāĻžāĻāĻ-āĻā§āϞāĻŋāĻ â **Open With** â **Claude**āĨ¤
---
## āϧāĻžāĻĒ ā§Ģ: Figma-āϤ⧠āĻĒā§āϞāĻžāĻāĻāύ āĻāύāϏā§āĻāϞ āĻāϰā§āύ
1. **Figma Desktop** āĻ
ā§āϝāĻžāĻĒ āĻā§āϞā§āύ, āϝā§āĻā§āύ⧠āĻĄāĻŋāĻāĻžāĻāύ āĻĢāĻžāĻāϞ āĻā§āϞā§āύ
2. āĻāĻĒāϰ⧠āĻŦāĻžāĻ āĻā§āĻŖā§ **Figma āϞā§āĻā§ ("F" āĻāĻāĻāύ)** â **Plugins** â **Development** â **Import plugin from manifestâĻ**
3. āĻāĻ āĻĒāĻĨā§ āϝāĻžāύ:
```
Documents â claude-talk-to-figma-mcp-main â src â claude_mcp_plugin â manifest.json
```
4. **`manifest.json`** āϏāĻŋāϞā§āĻā§āĻ āĻāϰ⧠**Open** āĻāĻžāĻĒā§āύ
> đĄ `src` āĻĢā§āϞā§āĻĄāĻžāϰ āĻā§āĻāĻā§ āύāĻž āĻĒā§āϞ⧠āĻĢāĻžāĻāϞ āĻĒāĻŋāĻāĻžāϰ⧠`Cmd` + `Shift` + `G` āĻāĻžāĻĒā§āύ āĻāϰ āĻĒā§āϏā§āĻ āĻāϰā§āύ: `~/Documents/claude-talk-to-figma-mcp-main/src/claude_mcp_plugin`
**â
āϝāĻžāĻāĻžāĻ:** **Plugins** â **Development**-āĻ **Claude Talk to Figma** āĻĻā§āĻāĻž āϝāĻžāĻā§āĻā§āĨ¤ āĻāĻāĻž āĻā§āĻŦāύ⧠āĻāĻāĻŦāĻžāϰāĻ āĻāϰāϤ⧠āĻšāϝāĻŧāĨ¤
---
## āϧāĻžāĻĒ ā§Ŧ: āĻāĻžāϞ⧠āĻāϰā§āύ (āĻĒā§āϰāϤāĻŋāĻĻāĻŋāύā§āϰ āĻāĻžāĻ)
### ā§ŦāĻ. āĻŦā§āϰāĻŋāĻ āϏāĻžāϰā§āĻāĻžāϰ āĻāĻžāϞ⧠āĻāϰā§āύ
Terminal āĻā§āϞ⧠āĻāĻžāϞāĻžāύ:
```bash
cd ~/Documents/claude-talk-to-figma-mcp-main
npm run socket
```
āĻāĻŽāύ āϞā§āĻāĻž āĻāϏāĻŦā§:
```
Claude to Figma WebSocket server running on port 3055
```
> đ¨ **āĻāĻ Terminal āĻāĻāύā§āĻĄā§ āĻā§āϞāĻž āϰāĻžāĻā§āύāĨ¤** āĻŦāύā§āϧ āĻāϰāϞ⧠āĻŦāĻž `Ctrl` + `C` āĻāĻžāĻĒāϞ⧠āĻŦā§āϰāĻŋāĻ āĻŦāύā§āϧ āĻšāϝāĻŧā§ āϝāĻžāĻŦā§ āĻāϰ Claude Figma āĻšāĻžāϰāĻžāĻŦā§āĨ¤ āĻāĻāύā§āĻĄā§āĻāĻž āĻļā§āϧ⧠āĻāĻāĻĒāĻžāĻļā§ āϏāϰāĻŋāϝāĻŧā§ āϰāĻžāĻā§āύāĨ¤
>
> đĄ āĻāĻžāϞ⧠āĻāĻā§ āĻāĻŋāύāĻž āĻĻā§āĻāϤ⧠āĻŦā§āϰāĻžāĻāĻāĻžāϰ⧠āĻā§āϞā§āύ: **http://localhost:3055/status**
### ā§ŦāĻ. Figma-āϤ⧠āĻĒā§āϞāĻžāĻāĻāύ āĻā§āϞā§āύ
āĻāĻĒāύāĻžāϰ Figma āĻĢāĻžāĻāϞā§: **Plugins** â **Development** â **Claude Talk to Figma**
āĻāĻāĻāĻž āĻā§āĻ āĻĒā§āϝāĻžāύā§āϞ āĻā§āϞāĻŦā§āĨ¤ āϏā§āĻāĻžāύ⧠āϏāĻŦā§āĻ āĻŦāĻā§āϏ⧠āĻāĻāĻāĻž **channel ID** āĻĻā§āĻāĻžāĻŦā§, āϝā§āĻŽāύ `a4f9c2`āĨ¤
- **Connect** āĻŦāĻžāĻāύ āĻĻā§āĻāĻžāϞ⧠āϏā§āĻāĻžāϝāĻŧ āĻā§āϞāĻŋāĻ āĻāϰā§āύāĨ¤
- **ID-āĻāĻžāϰ āĻāĻĒāϰ āĻā§āϞāĻŋāĻ āĻāϰāϞā§** āĻĒā§āϰ⧠āĻŦāĻžāϰā§āϤāĻž `Connect to Figma, channel âĻ` āĻāĻĒāĻŋ āĻšāϝāĻŧā§ āϝāĻžāϝāĻŧāĨ¤
> â ī¸ **āĻĒā§āϞāĻžāĻāĻāύ āϝāϤāĻŦāĻžāϰ āĻā§āϞāĻŦā§āύ, ID āϤāϤāĻŦāĻžāϰ āĻŦāĻĻāϞāĻžāĻŦā§āĨ¤** āĻĒā§āϰā§āύ⧠ID āĻāĻāύ⧠āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻāϰāĻŦā§āύ āύāĻžāĨ¤
### ā§ŦāĻ. Claude-āĻā§ āĻāĻžāύā§āĻā§āĻ āĻāϰā§āύ
Claude Desktop-āĻ āϞāĻŋāĻā§āύ, āϤāĻŦā§ **`a4f9c2`-āĻāϰ āĻāĻžāϝāĻŧāĻāĻžāϝāĻŧ āĻāĻĒāύāĻžāϰ āύāĻŋāĻā§āϰ ID āĻĻāĻŋāύ**:
```
Connect to Figma, channel a4f9c2
```
āϤāĻžāϰāĻĒāϰ Figma-āϤ⧠āϝā§āĻā§āύ⧠āϞā§āϝāĻŧāĻžāϰ āϏāĻŋāϞā§āĻā§āĻ āĻāϰ⧠āĻāĻŋāĻā§āĻā§āϏ āĻāϰā§āύ:
```
What's currently selected in Figma?
```
Claude āϏā§āĻ āϞā§āϝāĻŧāĻžāϰā§āϰ āĻŦāϰā§āĻŖāύāĻž āĻĻāĻŋāϞ⧠**āϏā§āĻāĻāĻĒ āϏāĻŽā§āĻĒā§āϰā§āĻŖāĨ¤** đ
---
<a id="bangla-step7"></a>
## āϧāĻžāĻĒ ā§ (āĻāĻā§āĻāĻŋāĻ): Figma āĻāĻŽā§āύā§āĻ āĻā§āϞ
āĻļā§āϧ⧠āϝāĻĻāĻŋ āĻāĻžāύ Claude Figma-āϰ **āĻāĻŽā§āύā§āĻ āĻĒāĻĄāĻŧā§āĻ āĻ āĻāϤā§āϤāϰ āĻĻāĻŋāĻ**āĨ¤ āĻŦāĻžāĻāĻŋ āϏāĻŦ āĻāĻāĻž āĻāĻžāĻĄāĻŧāĻžāĻ āĻāĻžāĻ āĻāϰā§āĨ¤
1. Figma: **āĻāĻĒāύāĻžāϰ āĻāĻŦāĻŋ** â **Settings** â **Security** â **Personal access tokens** â **Generate new token**
2. āĻāĻ āĻĻā§āĻā§ scope āĻāĻžāϞ⧠āĻāϰā§āύ: **`files:read`** āĻāϰ **`file_comments:write`**
3. āĻā§āĻā§āύāĻāĻž āϏāĻžāĻĨā§ āϏāĻžāĻĨā§ āĻāĻĒāĻŋ āĻāϰā§āύ (Figma āĻāĻāĻŦāĻžāϰāĻ āĻĻā§āĻāĻžāϝāĻŧ), āĻāĻāĻž `figd_` āĻĻāĻŋāϝāĻŧā§ āĻļā§āϰ⧠āĻšāϝāĻŧ
4. Claude Desktop â **Settings** â **Extensions** â **Claude Talk to Figma** â āĻā§āĻā§āύ āĻĒā§āϏā§āĻ āĻāϰā§āύ
5. `Cmd` + `Q` āĻĻāĻŋāϝāĻŧā§ Claude āĻŦāύā§āϧ āĻāϰ⧠āĻāĻŦāĻžāϰ āĻā§āϞā§āύ
> đ āĻāĻ āĻā§āĻā§āύ āĻĻāĻŋāϝāĻŧā§ āĻāĻĒāύāĻžāϰ āĻ
ā§āϝāĻžāĻāĻžāĻāύā§āĻā§āϰ **āϏāĻŦ āĻĢāĻžāĻāϞ** āĻĒāĻĄāĻŧāĻž āϝāĻžāϝāĻŧāĨ¤ āĻāĻāύ⧠āĻāĻžāϰ⧠āϏāĻžāĻĨā§ āĻļā§āϝāĻŧāĻžāϰ āĻāϰāĻŦā§āύ āύāĻž, āĻā§āϝāĻžāĻā§ āĻĒā§āϏā§āĻ āĻāϰāĻŦā§āύ āύāĻžāĨ¤
---
## đ
āĻĒā§āϰāĻĨāĻŽāĻŦāĻžāϰā§āϰ āĻĒāϰ āĻĒā§āϰāϤāĻŋāĻĻāĻŋāύ
āϏā§āĻāĻāĻĒ āϏā§āĻĨāĻžāϝāĻŧā§āĨ¤ āĻĒā§āϰāϤāĻŋāĻĻāĻŋāύ āĻļā§āϧ⧠āϤāĻŋāύāĻāĻŋ āĻāĻžāĻ:
```bash
cd ~/Documents/claude-talk-to-figma-mcp-main && npm run socket
```
1. â
āĻāĻĒāϰā§āϰ āĻāĻŽāĻžāύā§āĻĄ āĻāĻžāϞāĻžāύ (Terminal āĻā§āϞāĻž āϰāĻžāĻā§āύ)
2. â
Figma â **Plugins** â **Development** â **Claude Talk to Figma** â āύāϤā§āύ channel ID āĻāĻĒāĻŋ āĻāϰā§āύ
3. â
Claude-āĻā§ āϞāĻŋāĻā§āύ: `Connect to Figma, channel` āϤāĻžāϰāĻĒāϰ āĻāĻĒāύāĻžāϰ ID
---
## đ§š āϞā§āϝāĻŧāĻžāϰ āĻ
āĻĒāĻāĻŋāĻŽāĻžāĻāĻ āĻ Grid-āĻ āϰā§āĻĒāĻžāύā§āϤāϰ
āĻ
āĻā§āĻāĻžāϞ⧠āϞā§āϝāĻŧāĻžāϰ āĻĒāϰāĻŋāώā§āĻāĻžāϰ āĻāϰ⧠(āĻāĻžāϞāĻŋ āĻĢā§āϰā§āĻŽ, āĻ
āĻā§āĻā§ āĻā§āϰā§āĻĒ, `Frame > Frame > Card`-āĻāϰ āĻŽāϤ⧠āĻĄāĻžāĻŦāϞ āύā§āϏā§āĻāĻŋāĻ) āĻāϰ āĻāĻžāϰā§āĻĄā§āϰ āϏāĻžāϰāĻŋāĻā§ āĻāϏāϞ Figma **Grid**-āĻ āϰā§āĻĒāĻžāύā§āϤāϰ āĻāϰā§, **āĻĄāĻŋāĻāĻžāĻāύ āĻĻā§āĻāϤ⧠āĻāĻāĻā§āĻ āύāĻž āĻŦāĻĻāϞā§**āĨ¤
### āĻā§āĻāĻžāĻŦā§ āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻāϰāĻŦā§āύ
1. Figma-āϤ⧠**āĻāĻāĻāĻž āϏā§āĻāĻļāύ āĻŦāĻž āĻĢā§āϰā§āĻŽ āϏāĻŋāϞā§āĻā§āĻ āĻāϰā§āύ**, āϝā§āĻŽāύ `# Work Process`āĨ¤ āĻāĻāϏāĻžāĻĨā§ āĻĒā§āϰ⧠āĻĒā§āĻ āϏāĻŋāϞā§āĻā§āĻ āĻāϰāĻŦā§āύ āύāĻžāĨ¤
2. Claude-āĻā§ āϞāĻŋāĻā§āύ:
```
Optimize the layers of the selected section
```
3. Claude āĻāĻā§ **āĻļā§āϧ⧠āϏā§āĻā§āϝāĻžāύ āĻāϰāĻŦā§** (āĻāĻŋāĻā§āĻ āĻŦāĻĻāϞāĻžāĻŦā§ āύāĻž), āϤāĻžāϰāĻĒāϰ āϝā§āĻāĻžāύ⧠āĻāĻĒāύāĻžāϰ āϏāĻŋāĻĻā§āϧāĻžāύā§āϤ āϞāĻžāĻāĻŦā§ āϏā§āĻāĻžāύ⧠āĻāĻŋāĻā§āĻā§āϏ āĻāϰāĻŦā§:
| Claude āϝāĻž āĻāĻŋāĻā§āĻā§āϏ āĻāϰāĻŦā§ | āĻāϰ āĻŽāĻžāύ⧠| āĻāĻĒāύāĻžāϰ āĻāϤā§āϤāϰ |
|---|---|---|
| "N āĻāĻŋ āĻšāĻŋāĻĄā§āύ āϞā§āϝāĻŧāĻžāϰ āĻĒāĻžāĻāϝāĻŧāĻž āĻā§āĻā§, āϰāĻŋāĻŽā§āĻ āĻāϰāĻŦā§āύ?" | āĻšāĻŋāĻĄā§āύ āϞā§āϝāĻŧāĻžāϰ āĻšāϝāĻŧāϤ⧠āĻāĻĒāύāĻŋ āĻāĻā§āĻā§ āĻāϰ⧠āϰā§āĻā§āĻā§āύ | āĻŽā§āĻāϤ⧠**āĻšā§āϝāĻžāĻ**, āϰāĻžāĻāϤ⧠**āύāĻž** |
| "\"Card\"-āĻ āĻĒā§āϰā§āĻā§āĻāĻžāĻāĻĒ āĻāύā§āĻāĻžāϰāĻ
ā§āϝāĻžāĻāĻļāύ āĻāĻā§, āϰāĻŋāĻŽā§āĻ āĻāϰāĻŦā§āύ?" | āĻŽā§āĻāϞ⧠āĻĒā§āϰā§āĻā§āĻāĻžāĻāĻĒ, āĻāĻĢā§āĻā§āĻ, āĻāĻā§āϏāĻĒā§āϰā§āĻ āĻŦāĻž āĻŽāĻžāϏā§āĻ āύāώā§āĻ āĻšāϤ⧠āĻĒāĻžāϰ⧠| āĻĒā§āϰāϤāĻŋāĻāĻŋāϰ āĻāύā§āϝ āĻāϞāĻžāĻĻāĻž āϏāĻŋāĻĻā§āϧāĻžāύā§āϤ |
| "\"# Work Process\" ā§Ē-āĻāϞāĻžāĻŽ Grid āĻšāϤ⧠āĻĒāĻžāϰā§, āϰā§āĻĒāĻžāύā§āϤāϰ āĻāϰāĻŦā§āύ?" | āĻšā§āĻĄāĻŋāĻ āĻāϰ āĻāĻžāϰā§āĻĄāĻā§āϞ⧠āϏāϰāĻžāϏāϰāĻŋ Grid-āĻāϰ āĻā§āϤāϰ⧠āĻŦāϏāĻŦā§, āĻ
āĻĒā§āϰāϝāĻŧā§āĻāύā§āϝāĻŧ āϰâā§āϝāĻžāĻĒāĻžāϰ āϏāϰ⧠āϝāĻžāĻŦā§ | āϰā§āĻĒāĻžāύā§āϤāϰ āĻāϰāϤ⧠**āĻšā§āϝāĻžāĻ** |
4. Claude āĻļā§āϧ⧠āĻāĻĒāύāĻžāϰ āĻ
āύā§āĻŽāϤāĻŋ āĻĻā§āĻāϝāĻŧāĻž āĻāĻžāĻāĻā§āϞā§āĻ āĻāϰāĻŦā§, āĻāϰ āĻā§ āĻŦāĻĻāϞā§āĻā§ āĻāĻžāύāĻžāĻŦā§āĨ¤
### āύāĻŋāĻā§ āĻĨā§āĻā§ āϝāĻž āĻāϰ⧠(āĻāĻŋāĻā§āĻā§āϏ āύāĻž āĻāϰā§āĻ)
- āĻāĻžāϞāĻŋ āĻ āĻļā§āύā§āϝ-āĻŽāĻžāĻĒā§āϰ āϞā§āϝāĻŧāĻžāϰ āϏāϰāĻžāϝāĻŧ
- āĻ
āĻā§āĻā§ āϰâā§āϝāĻžāĻĒāĻžāϰ āĻĢā§āϰā§āĻŽ āϏāϰāĻžāϝāĻŧ: āϝāĻžāϰ āĻā§āϤāϰ⧠āĻāĻāĻāĻžāĻ āĻāĻžāĻāϞā§āĻĄ āĻšā§āĻŦāĻšā§ āϏāĻŽāĻžāύ āĻŽāĻžāĻĒā§āϰ, āĻā§āύ⧠āĻĒā§āϝāĻžāĻĄāĻŋāĻ, fill, stroke āĻŦāĻž clip āύā§āĻ
- āϰâā§āϝāĻžāĻĒāĻžāϰā§āϰ **Fill** āϏāĻžāĻāĻāĻŋāĻ āĻāĻžāĻāϞā§āĻĄāĻā§ āĻĻāĻŋāϝāĻŧā§ āĻĻā§āϝāĻŧ, āϤāĻžāĻ āϞā§āĻāĻāĻ āĻšā§āĻŦāĻšā§ āĻāĻāĻ āĻĨāĻžāĻā§
### āϝāĻž āĻāĻāύ⧠āĻāϰ⧠āύāĻž
- āĻāĻĒāύāĻžāϰ "āĻšā§āϝāĻžāĻ" āĻāĻžāĻĄāĻŧāĻž **āĻšāĻŋāĻĄā§āύ** āϞā§āϝāĻŧāĻžāϰ, āĻŦāĻž **āĻĒā§āϰā§āĻā§āĻāĻžāĻāĻĒ, āĻāĻĢā§āĻā§āĻ, āĻāĻā§āϏāĻĒā§āϰā§āĻ āϏā§āĻāĻŋāĻ āĻŦāĻž āĻŽāĻžāϏā§āĻ** āĻĨāĻžāĻāĻž āϞā§āϝāĻŧāĻžāϰ āĻŽā§āĻā§ āύāĻž
- **āĻŽā§āĻāύ āĻāĻŽā§āĻĒā§āύā§āύā§āĻ**, **āĻāĻŽā§āĻĒā§āύā§āύā§āĻ āĻĒā§āϰāĻĒāĻžāϰā§āĻāĻŋ** āĻŦāĻž **āĻā§āϝāĻžāϰāĻŋāϝāĻŧā§āύā§āĻ** āϞā§āϝāĻŧāĻžāϰ āĻāĻāύ⧠āĻŽā§āĻā§ āύāĻž
- āϞā§āĻāĻž, āĻĢāύā§āĻ, āϰāĻ, āϏā§āĻĒā§āϏāĻŋāĻ āĻā§āϝāĻžāϞ⧠āĻŦāĻž āĻā§āϰāĻŋāϝāĻŧā§āĻŦāϞ āĻŦāĻĻāϞāĻžāϝāĻŧ āύāĻž
- **āĻāĻŽā§āĻĒā§āύā§āύā§āĻ āĻāύāϏā§āĻā§āϝāĻžāύā§āϏā§āϰ** āĻā§āϤāϰ⧠āĻšāĻžāϤ āĻĻā§āϝāĻŧ āύāĻž
### Grid āϰā§āĻĒāĻžāύā§āϤāϰ āĻā§āύ āύāĻŋāϰāĻžāĻĒāĻĻ
| āĻāĻĒāύāĻžāϰ āĻĄāĻŋāĻāĻžāĻāύ | āϰā§āĻĒāĻžāύā§āϤāϰā§āϰ āĻĒāϰ |
|---|---|
| `# Work Process` (vertical Auto Layout) â `Text_Container` + `Container` â `Frame` â `Frame` â `Card` Ã4 | `# Work Process` (**Grid**, ā§Ē āĻāϞāĻžāĻŽ) â `Text_Container` (ā§Ē āĻāϞāĻžāĻŽ āĻā§āĻĄāĻŧā§) + `Card` Ã4 |
- **āĻāϞāĻžāĻŽ āϏāĻāĻā§āϝāĻž āĻĄāĻŋāĻāĻžāĻāύ āĻĨā§āĻā§āĻ āύā§āϝāĻŧ:** ā§ĒāĻāĻŋ āϏāĻŽāĻžāύ āĻāĻžāϰā§āĻĄ āĻŽāĻžāύ⧠ā§ĒāĻāĻŋ āϏāĻŽāĻžāύ āĻāϞāĻžāĻŽ (`repeat(4, 1fr)`)āĨ¤
- āĻā§āϝāĻžāĻĒ āĻāϰ āĻĒā§āϝāĻžāĻĄāĻŋāĻ āϤāĻžāĻĻā§āϰ **āĻā§āϰāĻŋāϝāĻŧā§āĻŦāϞ** āϏāĻš āĻĨāĻžāĻā§āĨ¤
- āϰā§āĻĒāĻžāύā§āϤāϰā§āϰ āĻĒāϰ āĻĒā§āϞāĻžāĻāĻāύ **āĻĒā§āϰāϤāĻŋāĻāĻŋ āĻšā§āĻĄāĻŋāĻ āĻ āĻāĻžāϰā§āĻĄā§āϰ āĻĒāĻāĻŋāĻļāύ āĻŽā§āĻĒā§ āĻĻā§āĻā§**āĨ¤ ā§§px-āĻāϰ āĻŦā§āĻļāĻŋ āύāĻĄāĻŧāϞ⧠āĻŦāĻž Figma āĻā§āύ⧠āϧāĻžāĻĒ āĻŽāĻžāύāϤ⧠āύāĻž āĻāĻžāĻāϞ⧠**āϰā§āĻĒāĻžāύā§āϤāϰ āĻŦāĻžāϤāĻŋāϞ āĻāϰ⧠āĻāĻā§āϰ āĻ
āĻŦāϏā§āĻĨāĻžāϝāĻŧ āĻĢāĻŋāϰāĻŋāϝāĻŧā§ āĻĻā§āϝāĻŧ** āĻāϰ āĻāĻžāϰāĻŖ āĻāĻžāύāĻžāϝāĻŧāĨ¤ āĻĒā§āϰāϤāĻŋāĻāĻŋ āϰā§āĻĒāĻžāύā§āϤāϰ āĻāĻāĻŦāĻžāϰ `Cmd` + `Z` āĻāĻžāĻĒāϞā§āĻ āĻĢā§āϰāĻžāύ⧠āϝāĻžāϝāĻŧāĨ¤
- āĻļā§āϧ⧠āϤāĻāύāĻ āĻĒā§āϰāϏā§āϤāĻžāĻŦ āĻāϰ⧠āϝāĻāύ Grid āĻšā§āĻŦāĻšā§ āĻāĻāĻ āϰāĻāĻŽ āĻĻā§āĻāĻžāϤ⧠āĻĒāĻžāϰāĻŦā§: āĻāĻāĻāĻž āĻšā§āĻĄāĻŋāĻ, āϏāĻŽāĻžāύ āĻāĻāĻĄāĻŧāĻžāϰ āĻāĻžāϰā§āĻĄā§āϰ āĻāĻāĻāĻž āϏāĻžāϰāĻŋ, āϏāĻžāϰāĻŋāϤ⧠āĻĒā§āϝāĻžāĻĄāĻŋāĻ āĻŦāĻž āĻŦā§āϝāĻžāĻāĻā§āϰāĻžāĻāύā§āĻĄ āύā§āĻāĨ¤
> â ī¸ **Grid āϰā§āĻĒāĻžāύā§āϤāϰ āύāĻž āĻšāϞ⧠āύāĻŋāĻā§ ungroup āĻāϰ⧠"āĻ āĻŋāĻ" āĻāϰāϤ⧠āϝāĻžāĻŦā§āύ āύāĻžāĨ¤** Auto Layout āϏāĻžāϰāĻŋ ungroup āĻāϰāϞ⧠āĻāĻžāϰā§āĻĄāĻā§āϞ⧠āĻāĻāĻāĻžāϰ āύāĻŋāĻā§ āĻāϰā§āĻāĻāĻž āĻāϞ⧠āϝāĻžāϝāĻŧāĨ¤ āĻšāĻžāϤ⧠āĻāĻŦāĻžāϰ āϏāĻžāĻāĻžāϞ⧠āĻĢā§āϰā§āĻŽāĻāĻž **fixed āĻĒāĻāĻŋāĻļāύā§āϰ, āϞā§āĻāĻāĻāĻšā§āύ** āĻšāϝāĻŧā§ āϝāĻžāϝāĻŧ: āĻĻā§āĻāϤ⧠āĻ āĻŋāĻ, āĻāĻŋāύā§āϤ⧠āĻāϰ āϰā§āϏāĻĒāύā§āϏāĻŋāĻ āĻĨāĻžāĻā§ āύāĻžāĨ¤ āĻŦāϰāĻ Claude āϝ⧠āĻāĻžāϰāĻŖ āĻāĻžāύāĻŋāϝāĻŧā§āĻā§ āϏā§āĻāĻž āĻĻā§āĻā§āύāĨ¤
---
<a id="bangla-html"></a>
## đ HTML āĻĢāĻžāĻāϞ āĻŦāĻž āĻāϝāĻŧā§āĻŦāϏāĻžāĻāĻ āĻĨā§āĻā§ Figma āĻĄāĻŋāĻāĻžāĻāύ
āĻāĻāĻāĻž āĻāϝāĻŧā§āĻŦ āĻĒā§āĻāĻā§ Figma āĻĄāĻŋāĻāĻžāĻāύ⧠āϰā§āĻĒāĻžāύā§āϤāϰ āĻāϰā§, **āĻĻā§āĻāϤ⧠āĻšā§āĻŦāĻšā§ āĻĒā§āĻā§āϰ āĻŽāϤā§**: āĻĒā§āϰāϤāĻŋāĻāĻŋ āϏā§āĻāĻļāύ, āϞā§āĻāĻž, āĻāĻŦāĻŋ āĻāϰ āĻāĻāĻāύ āϏāĻšāĨ¤ āĻĄāĻŋāĻāĻžāĻāύāĻāĻž **āĻāĻĒāύāĻžāϰ āĻĢāĻžāĻāϞā§āϰ āύāĻŋāĻāϏā§āĻŦ āϏā§āĻāĻžāĻāϞ āĻ āĻā§āϰāĻŋāϝāĻŧā§āĻŦāϞā§āϰ āϏāĻžāĻĨā§ āϝā§āĻā§āϤ** āĻĨāĻžāĻā§, āĻāϰ āϞā§āϝāĻŧāĻžāϰ āĻĨāĻžāĻā§ āĻĒāϰāĻŋāώā§āĻāĻžāϰ āĻ āĻāĻŽ āύā§āϏā§āĻā§āĻĄāĨ¤
### āĻā§āĻāĻžāĻŦā§ āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻāϰāĻŦā§āύ
1. Figma-āϤ⧠āϏā§āĻ āĻĢāĻžāĻāϞāĻāĻŋ āĻā§āϞā§āύ āϝāĻžāϰ āĻĄāĻŋāĻāĻžāĻāύ āϏāĻŋāϏā§āĻā§āĻŽ (āĻāĻžāϞāĻžāϰ āĻā§āϰāĻŋāϝāĻŧā§āĻŦāϞ, āĻā§āĻā§āϏāĻ āϏā§āĻāĻžāĻāϞ, āϏā§āĻĒā§āϏāĻŋāĻ āĻā§āĻā§āύ) āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻāϰāϤ⧠āĻāĻžāύāĨ¤
2. āĻāϝāĻŧā§āĻŦāϏāĻžāĻāĻ āĻŦāĻž HTML āĻĒā§āĻā§āϰ **āĻĒā§āϰ⧠āĻĒā§āĻā§āϰ āĻāĻāĻāĻž āϏā§āĻā§āϰāĻŋāύāĻļāĻ** āύāĻŋāϝāĻŧā§ Claude-āĻā§ āĻĻāĻŋāύāĨ¤ āĻļā§āώ⧠Claude āĻāĻāĻžāϰ āϏāĻžāĻĨā§āĻ āĻĢāϞāĻžāĻĢāϞ āĻŽāĻŋāϞāĻŋāϝāĻŧā§ āĻĻā§āĻāĻŦā§āĨ¤
3. Claude-āĻā§ āϞāĻŋāĻā§āύ:
```
Convert https://example.com to Figma
```
```
Convert /Users/YOUR_NAME/Desktop/page.html to Figma
```
> đĄ āĻāĻŽā§āĻĒāĻŋāĻāĻāĻžāϰā§āϰ āĻĢāĻžāĻāϞ āĻšāϞ⧠**āĻĒā§āϰ⧠path** āĻĻāĻŋāϤ⧠āĻšāĻŦā§, āĻāϰ āĻĢāĻžāĻāϞāĻāĻž Claude Desktop āϝ⧠āĻāĻŽā§āĻĒāĻŋāĻāĻāĻžāϰ⧠āĻāϞāĻā§ āϏā§āĻāĻžāύā§āĻ āĻĨāĻžāĻāϤ⧠āĻšāĻŦā§āĨ¤ Mac-āĻ path āĻĒā§āϤā§: Finder-āĻ āĻĢāĻžāĻāϞ āϏāĻŋāϞā§āĻā§āĻ āĻāϰā§āύ â `Option` āĻā§āĻĒā§ āϧāϰ⧠āϰāĻžāĻāĻ-āĻā§āϞāĻŋāĻ â **Copy "page.html" as Pathname**āĨ¤
4. Claude āĻāĻ āϧāĻžāĻĒāĻā§āϞā§āϤ⧠āĻāĻžāĻ āĻāϰāĻŦā§ āĻāϰ āĻāĻžāύāĻžāĻŦā§ āĻā§ āĻāϰāĻā§:
| āϧāĻžāĻĒ | āĻā§ āĻšāϝāĻŧ |
|---|---|
| **ā§§. āĻŦāĻŋāĻļā§āϞā§āώāĻŖ** | āĻĒā§āĻ āĻāϰ āϤāĻžāϰ CSS āĻĒāĻĄāĻŧā§: āϏā§āĻāĻļāύ, āϞā§āĻāĻž, āĻāĻžāϞāĻžāϰ, āĻĢāύā§āĻ, āϏā§āĻĒā§āϏāĻŋāĻ, radius, **āĻĒā§āϰāϤāĻŋāĻāĻŋ āĻāĻŦāĻŋ āĻ āĻāĻāĻāύ**, āĻāϰ āĻā§āύ āĻ
āĻāĻļ āĻā§āϰāĻŋāĻĄ āĻŦāĻž āϏāĻžāϰāĻŋ/āĻāϞāĻžāĻŽ |
| **⧍. āĻŽāĻŋāϞāĻŋāϝāĻŧā§ āĻĻā§āĻāĻž** | āĻĒā§āϰāϤāĻŋāĻāĻŋ āĻā§āϝāĻžāϞ⧠āĻāĻĒāύāĻžāϰ āĻĄāĻŋāĻāĻžāĻāύ āϏāĻŋāϏā§āĻā§āĻŽā§āϰ āϏāĻžāĻĨā§ āĻŽā§āϞāĻžāϝāĻŧ: **āϏāĻŋāϏā§āĻā§āĻŽ āĻĨā§āĻā§ āĻŦā§āϝāĻŦāĻšāĻžāϰ** / **āĻāĻžāĻāĻžāĻāĻžāĻāĻŋ āĻāĻŋāύā§āϤ⧠āĻšā§āĻŦāĻšā§ āύāĻž** / **āϏāĻŋāϏā§āĻā§āĻŽā§ āύā§āĻ** |
| **ā§Š. āϤā§āϰāĻŋ** | āϝā§āĻāĻžāύ⧠**āĻšā§āĻŦāĻšā§** āĻŽā§āϞ⧠āϏā§āĻāĻžāύ⧠āĻāĻĒāύāĻžāϰ āĻā§āϰāĻŋāϝāĻŧā§āĻŦāϞ āĻ āĻā§āĻā§āϏāĻ āϏā§āĻāĻžāĻāϞ āĻŦāϏāĻžāϝāĻŧ; āĻŦāĻžāĻāĻŋāĻā§āϞ⧠āĻĒā§āĻā§āϰ āύāĻŋāĻā§āϰ āĻā§āϝāĻžāϞ⧠āĻĻāĻŋāϝāĻŧā§ āϤā§āϰāĻŋ āĻāϰā§āĨ¤ āĻĒā§āϰāϤāĻŋāĻāĻŋ āĻāĻŦāĻŋ āĻ āĻāĻāĻāύ āĻŦāϏāĻžāϝāĻŧāĨ¤ āĻĒā§āϰāϤāĻŋāĻāĻŋ āĻ
āĻāĻļā§ **Grid** āĻŦāĻž **Auto Layout** āĻŦā§āĻā§ āύā§āϝāĻŧ (āύāĻŋāĻā§āϰ āĻā§āĻŦāĻŋāϞ) |
| **ā§Ē. āĻāĻŽā§āĻĒā§āύā§āύā§āĻ** | āϝ⧠āĻāĻŋāύāĻŋāϏ **⧍ āĻŦāĻž āϤāĻžāϰ āĻŦā§āĻļāĻŋ āĻŦāĻžāϰ** āĻāϏ⧠āĻāϰ āĻāĻĒāύāĻžāϰ āĻĢāĻžāĻāϞ⧠āϝāĻžāϰ āĻšā§āĻŦāĻšā§ āĻāĻŽā§āĻĒā§āύā§āύā§āĻ āύā§āĻ, āϏā§āĻāĻž āĻĒā§āĻā§āϰ āĻĒāĻžāĻļā§ **Components â from HTML** āύāĻžāĻŽā§āϰ āĻĢā§āϰā§āĻŽā§ **āύāϤā§āύ āĻāĻŽā§āĻĒā§āύā§āύā§āĻ** āĻšāĻŋāϏā§āĻŦā§ āϤā§āϰāĻŋ āĻšāϝāĻŧ, āĻāϰ āĻĒā§āĻā§ āϤāĻžāϰ instance āĻŦāϏā§āĨ¤ āĻāĻāĻŦāĻžāϰ āĻāϏāĻž āĻāĻŋāύāĻŋāϏ āϏāĻžāϧāĻžāϰāĻŖ āϞā§āϝāĻŧāĻžāϰ āĻšāĻŋāϏā§āĻŦā§āĻ āĻĨāĻžāĻā§ |
| **ā§Ģ. Import Notes** | āĻĄāĻŋāĻāĻžāĻāύā§āϰ āĻĒāĻžāĻļā§ āĻāĻāĻāĻž āĻĢā§āϰā§āĻŽ, āϝā§āĻāĻžāύ⧠āϞā§āĻāĻž āĻĨāĻžāĻā§ āĻā§ āĻāĻĒāύāĻžāϰ āĻĄāĻŋāĻāĻžāĻāύ āϏāĻŋāϏā§āĻā§āĻŽā§ āĻāĻŋāϞ āύāĻž, āĻā§āύ āύāϤā§āύ āĻāĻŽā§āĻĒā§āύā§āύā§āĻ āϤā§āϰāĻŋ āĻšāϝāĻŧā§āĻā§, āĻāϰ āĻā§āύ⧠āĻāĻŋāĻā§ āĻšā§āĻŦāĻšā§ āĻāϰāĻž āύāĻž āĻā§āϞ⧠āϏā§āĻāĻž |
| **ā§Ŧ. āĻŽāĻŋāϞāĻŋāϝāĻŧā§ āĻĻā§āĻāĻž** | āĻĢāϞāĻžāĻĢāϞ āĻāĻā§āϏāĻĒā§āϰā§āĻ āĻāϰ⧠āĻāĻĒāύāĻžāϰ āϏā§āĻā§āϰāĻŋāύāĻļāĻā§āϰ āϏāĻžāĻĨā§ āĻŽā§āϞāĻžāϝāĻŧ, āĻĒāĻžāϰā§āĻĨāĻā§āϝ āύāĻž āĻĨāĻžāĻāĻž āĻĒāϰā§āϝāύā§āϤ āĻ āĻŋāĻ āĻāϰā§; āϤāĻžāϰāĻĒāϰ āϞā§āϝāĻŧāĻžāϰ āϏā§āĻā§āϝāĻžāύ āĻāĻžāϞāĻžāϝāĻŧ, āĻāĻŋāĻā§ āĻŽā§āĻāĻžāϰ āĻāĻā§ āĻāĻŋāĻā§āĻā§āϏ āĻāϰ⧠|
### āϝ⧠āύāĻŋāϝāĻŧāĻŽ āĻŽā§āύ⧠āĻāϞā§
- **āĻšā§āĻŦāĻšā§āĨ¤** āĻāĻŋāĻā§ āĻŦāĻžāĻĻ āϝāĻžāϝāĻŧ āύāĻž, āĻāĻŋāĻā§ āϝā§āĻ āĻšāϝāĻŧ āύāĻž, āĻā§āύ⧠āϏā§āĻāĻžāĻāϞ āĻŦāĻĻāϞāĻžāύ⧠āĻŦāĻž āϏāϰāϞ āĻāϰāĻž āĻšāϝāĻŧ āύāĻžāĨ¤ āĻā§āύ⧠āĻāĻŋāĻā§ āϏāϤā§āϝāĻŋāĻ āϤā§āϰāĻŋ āĻāϰāĻž āύāĻž āĻā§āϞ⧠Claude āĻāύā§āĻĻāĻžāĻā§ āĻāĻžāĻāĻžāĻāĻžāĻāĻŋ āĻŦāĻžāύāĻžāϝāĻŧ āύāĻž, Import Notes-āĻ āĻāĻžāύāĻŋāϝāĻŧā§ āĻĻā§āϝāĻŧāĨ¤
- **āĻāĻĒāύāĻžāϰ āϏā§āĻāĻžāĻāϞ āĻāĻžāĻāĻĄā§āϰ āϏāĻžāĻĨā§ āϝā§āĻā§āϤāĨ¤** āϝ⧠āĻāĻžāϞāĻžāϰ, āĻā§āĻā§āϏāĻ āϏā§āĻāĻžāĻāϞ, āϏā§āĻĒā§āϏāĻŋāĻ āĻŦāĻž radius āĻāĻĒāύāĻžāϰ āĻĄāĻŋāĻāĻžāĻāύ āϏāĻŋāϏā§āĻā§āĻŽā§ āĻāĻā§, āϏā§āĻāĻž āĻā§āϝāĻžāϞ⧠āĻāĻžāĻāĻĒ āĻāϰ⧠āύāϝāĻŧ, āĻā§āĻā§āύā§āϰ āϏāĻžāĻĨā§ āϝā§āĻā§āϤ āĻāϰ⧠āĻŦāϏāĻžāύ⧠āĻšāϝāĻŧāĨ¤ "āĻāĻžāĻāĻžāĻāĻžāĻāĻŋ" āϏā§āĻāĻžāĻāϞ āĻŦāĻž āĻāĻŽā§āĻĒā§āύā§āύā§āĻ āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻāϰāĻž āĻšāϝāĻŧ āύāĻž, āĻāĻžāϰāĻŖ āϤāĻžāϤ⧠āĻĄāĻŋāĻāĻžāĻāύ āĻŦāĻĻāϞ⧠āϝāĻžāϝāĻŧāĨ¤
- **āύāϤā§āύ āĻā§āϰāĻŋāϝāĻŧā§āĻŦāϞ āĻŦāĻž āϏā§āĻāĻžāĻāϞ āϤā§āϰāĻŋ āĻšāϝāĻŧ āύāĻžāĨ¤** āύāϤā§āύ āϤā§āϰāĻŋ āĻšāϝāĻŧ āĻļā§āϧ⧠āĻŦāĻžāϰāĻŦāĻžāϰ āĻāϏāĻž āĻāĻŋāύāĻŋāϏā§āϰ āĻāĻŽā§āĻĒā§āύā§āύā§āĻāĨ¤
### Grid āύāĻžāĻāĻŋ Auto Layout?
| āĻĒā§āĻā§ āϝāĻž āĻāĻā§ | Figma-āϤ⧠āϝā§āĻāĻžāĻŦā§ āϤā§āϰāĻŋ āĻšāĻŦā§ |
|---|---|
| āϏāĻŽāĻžāύ āĻāϞāĻžāĻŽā§āϰ `display: grid` | āĻāĻāĻ āϏāĻāĻā§āϝāĻ āĻāϞāĻžāĻŽā§āϰ **Grid** |
| āĻšā§āĻĄāĻŋāĻ, āύāĻŋāĻā§ āϏāĻŽāĻžāύ āĻāĻžāϰā§āĻĄā§āϰ āϏāĻžāϰāĻŋ | **āĻāĻāĻāĻžāĻ Grid**: āĻšā§āĻĄāĻŋāĻ āϏāĻŦ āĻāϞāĻžāĻŽ āĻā§āĻĄāĻŧā§, āĻāĻžāϰā§āĻĄ āϏāϰāĻžāϏāϰāĻŋ āĻā§āϤāϰā§, āĻāϞāĻžāĻĻāĻž row wrapper āύā§āĻ |
| āϏāĻŽāĻžāύ āĻāĻāĻā§āĻŽā§āϰ āϏāĻžāϰāĻŋ āϝāĻž āύāĻŋāĻā§ āύā§āĻŽā§ āϝāĻžāϝāĻŧ (wrap) | **Grid** |
| āĻāĻ āϏāĻžāϰāĻŋāϰ āĻāĻŋāύāĻŋāϏ (āĻŽā§āύā§, āĻŦāĻžāĻāύ, āϞā§āĻā§) | **Auto Layout â horizontal** |
| āĻāĻāĻāĻžāϰ āύāĻŋāĻā§ āĻāϰā§āĻāĻāĻž āĻŦā§āϞāĻ | **Auto Layout â vertical** |
| āϏā§āĻā§āϰāĻŋāύ⧠āĻāĻāĻā§ āĻĨāĻžāĻāĻž āĻŦāĻžāĻāύ āĻŦāĻž āĻŦā§āϝāĻžāύāĻžāϰ (`position: fixed`) | āĻāĻāĻ āĻāĻžāϝāĻŧāĻāĻžāϝāĻŧ, āĻĒā§āĻā§āϰ āĻāĻĒāϰ⧠āϤā§āϰāĻŋ āĻšāϝāĻŧ |
| āĻļā§āϧ⧠āĻāĻāĻāĻž āĻāϞāĻŋāĻŽā§āύā§āĻāĻā§ āĻāĻŋāϰ⧠āĻĨāĻžāĻāĻž `div` | **āĻā§āύ⧠āĻĢā§āϰā§āĻŽ āϤā§āϰāĻŋ āĻšāϝāĻŧ āύāĻž**, āϝāĻĻāĻŋ āϏāϰāĻžāϞ⧠āĻĻā§āĻāϤ⧠āĻāĻŋāĻā§āĻ āύāĻž āĻŦāĻĻāϞāĻžāϝāĻŧ |
### āĻā§āύ⧠āϰāĻžāĻā§āύ
- **āĻāĻŦāĻŋ** āĻĒā§āϞāĻžāĻāĻāύā§āϰ āϏāĻžāϰā§āĻāĻžāϰ āύāĻŋāĻā§āĻ āĻĄāĻžāĻāύāϞā§āĻĄ āĻāϰ⧠(`place_html_image`) āĻāϰ āĻšā§āĻŦāĻšā§ āĻŽāĻžāĻĒā§ āĻŦāϏāĻžāϝāĻŧ, āĻāϝāĻŧā§āĻŦāϏāĻžāĻāĻ āĻĨā§āĻā§ āĻšā§āĻ āĻŦāĻž āϞā§āĻāĻžāϞ `.html` āĻĒā§āĻā§āϰ āĻĒāĻžāĻļā§āϰ āĻĢāĻžāĻāϞ āĻĨā§āĻā§āĨ¤ **āĻāĻāĻāύ** (inline SVG) āĻā§āĻā§āĻāϰ āĻšāĻŋāϏā§āĻŦā§ āĻŦāϏā§, āĻāĻāĻāύ āϏā§āĻĒā§āϰāĻžāĻāĻ āĻĨā§āĻā§ āĻāϏāĻž āĻāĻāĻāύāĻāĨ¤ āĻā§āύ⧠āĻāĻŦāĻŋ āĻāύāĻž āύāĻž āĻā§āϞ⧠āϤāĻžāϰ āĻšā§āĻŦāĻšā§ āĻŽāĻžāĻĒā§āϰ āĻĢā§āϰā§āĻŽ `Image-Missing-âĻ` āύāĻžāĻŽā§ āĻĨā§āĻā§ āϝāĻžāϝāĻŧ, āϤāĻžāĻ āϞā§āĻāĻāĻ āϏāϰ⧠āϝāĻžāϝāĻŧ āύāĻžāĨ¤
- **āĻāĻāĻž āĻĒā§āĻā§āϰ HTML āĻ CSS āĻĒāĻĄāĻŧā§, āĻŦā§āϰāĻžāĻāĻāĻžāϰ⧠āĻāĻžāϞāĻŋāϝāĻŧā§ āĻĻā§āĻā§ āύāĻžāĨ¤** āϝ⧠āĻĒā§āĻ āϞā§āĻĄ āĻšāĻāϝāĻŧāĻžāϰ āĻĒāϰ JavaScript āĻĻāĻŋāϝāĻŧā§ āĻāύāĻā§āύā§āĻ āĻŦāĻžāύāĻžāϝāĻŧ, āϏā§āĻāĻž āĻ
āϏāĻŽā§āĻĒā§āϰā§āĻŖ āĻāϏāϤ⧠āĻĒāĻžāϰā§āĨ¤ āϤāĻāύ Chrome-āĻ āĻĒā§āĻ āĻā§āϞ⧠**File â Save Page AsâĻ â Webpage, Complete** āĻĻāĻŋāϝāĻŧā§ āϏā§āĻ āĻāϰā§āύ, āϤāĻžāϰāĻĒāϰ āϏā§āĻ `.html` āĻĢāĻžāĻāϞ āĻĻāĻŋāύāĨ¤
- **āϞāĻāĻāύ āϞāĻžāĻā§ āĻāĻŽāύ āĻĒā§āĻ** āĻĒāĻĄāĻŧāĻž āϝāĻžāϝāĻŧ āύāĻžāĨ¤ āĻāĻĒāϰā§āϰ āĻŽāϤ⧠āϏā§āĻ āĻāϰ⧠āĻĻāĻŋāύāĨ¤
- **āĻĢāύā§āĻ** āĻāĻĒāύāĻžāϰ āĻāĻŽā§āĻĒāĻŋāĻāĻāĻžāϰ⧠āĻāύāϏā§āĻāϞ āĻĨāĻžāĻāϤ⧠āĻšāĻŦā§, āϤāĻŦā§āĻ Figma āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻāϰāϤ⧠āĻĒāĻžāϰāĻŦā§āĨ¤
---
<a id="bangla-update"></a>
## đ āύāϤā§āύ āĻāĻžāϰā§āϏāύ⧠āĻāĻĒāĻĄā§āĻ āĻāϰāĻŦā§āύ āϝā§āĻāĻžāĻŦā§
āĻāĻ āϰāĻŋāĻĒā§āĻāĻŋāĻāϰāĻŋāϤ⧠āύāϤā§āύ āĻĢāĻŋāĻāĻžāϰ āĻāϞ⧠(āĻĒā§āϰāĻžāϝāĻŧ ā§Š āĻŽāĻŋāύāĻŋāĻ):
```bash
cd ~/Documents/claude-talk-to-figma-mcp-main
git pull
npm install
npm run build
npx dxt pack . claude-talk-to-figma-mcp.mcpb
```
āϤāĻžāϰāĻĒāϰ:
1. āύāϤā§āύ **`claude-talk-to-figma-mcp.mcpb`**-āĻ āĻĄāĻžāĻŦāϞ-āĻā§āϞāĻŋāĻ â **Install / Replace**
2. **Claude Desktop āĻĒā§āϰ⧠āĻŦāύā§āϧ āĻāϰā§āύ** (`Cmd` + `Q`), āϤāĻžāϰāĻĒāϰ āĻāĻŦāĻžāϰ āĻā§āϞā§āύ
3. āĻŦā§āϰāĻŋāĻ āĻāϞāĻž Terminal-āĻ `Ctrl` + `C` āĻāĻžāĻĒā§āύ, āϤāĻžāϰāĻĒāϰ āĻāĻŦāĻžāϰ `npm run socket` āĻāĻžāϞāĻžāύ
4. Figma-āϤ⧠**āĻĒā§āϞāĻžāĻāĻāύ āĻŦāύā§āϧ āĻāϰ⧠āĻāĻŦāĻžāϰ āĻā§āϞā§āύ** (āϤāĻžāĻšāϞ⧠āύāϤā§āύ āĻā§āĻĄ āϞā§āĻĄ āĻšāĻŦā§), āύāϤā§āύ channel ID āĻĻāĻŋāϝāĻŧā§ āĻāĻžāύā§āĻā§āĻ āĻāϰā§āύ
> đ **"āĻāĻŋāĻā§āĻ āĻŦāĻĻāϞāĻžāϝāĻŧāύāĻŋ" āĻŽāύ⧠āĻšāĻāϝāĻŧāĻžāϰ ā§§ āύāĻŽā§āĻŦāϰ āĻāĻžāϰāĻŖ ā§§ āĻŦāĻž ⧍ āύāĻŽā§āĻŦāϰ āϧāĻžāĻĒ āĻŦāĻžāĻĻ āĻĻā§āĻāϝāĻŧāĻžāĨ¤** āĻāĻŦāĻžāϰ āĻāύāϏā§āĻāϞ āĻāϰ⧠āϰāĻŋāϏā§āĻāĻžāϰā§āĻ āύāĻž āĻāϰāĻž āĻĒāϰā§āϝāύā§āϤ Claude Desktop āĻĒā§āϰā§āύ⧠āĻāĻā§āϏāĻā§āύāĻļāύāĻ āĻāĻžāϞāĻžāϝāĻŧāĨ¤ Settings-āĻ āĻāĻžāϰā§āϏāύ āύāĻŽā§āĻŦāϰ āύāĻžāĻ āĻŦāĻĻāϞāĻžāϤ⧠āĻĒāĻžāϰā§, āϤāĻžāĻ āϏā§āĻāĻž āĻĻā§āĻā§ āĻŦāĻŋāĻāĻžāϰ āĻāϰāĻŦā§āύ āύāĻžāĨ¤
---
## đ āϏāĻŽāϏā§āϝāĻž āĻ āϏāĻŽāĻžāϧāĻžāύ
| āϝāĻž āĻĻā§āĻāĻā§āύ | āĻāϏāϞ⧠āĻā§ āĻšāϝāĻŧā§āĻā§ | āϏāĻŽāĻžāϧāĻžāύ |
|---|---|---|
| "I can't connect to Figma" | āĻŦā§āϰāĻŋāĻ āϏāĻžāϰā§āĻāĻžāϰ āĻāϞāĻā§ āύāĻž | āϧāĻžāĻĒ ā§ŦāĻ āĻāĻŦāĻžāϰ āĻāϰā§āύ, Terminal āĻā§āϞāĻž āϰāĻžāĻā§āύ |
| "Channel not found" | āĻĒā§āϰā§āύ⧠channel ID | āĻĒā§āϞāĻžāĻāĻāύ āĻāĻŦāĻžāϰ āĻā§āϞ⧠**āύāϤā§āύ** ID āĻĻāĻŋāύ |
| Claude-āĻāϰ āĻāĻžāĻā§ Figma āĻā§āϞāĻ āύā§āĻ | āĻāĻā§āϏāĻā§āύāĻļāύ āĻāύāϏā§āĻāϞ āĻšāϝāĻŧāύāĻŋ āĻŦāĻž Claude āϰāĻŋāϏā§āĻāĻžāϰā§āĻ āĻšāϝāĻŧāύāĻŋ | Settings â Extensions āĻĻā§āĻā§āύ, āϧāĻžāĻĒ ā§Ē āĻāĻŦāĻžāϰ āĻāϰā§āύ, `Cmd` + `Q` āĻĻāĻŋāϝāĻŧā§ āĻŦāύā§āϧ āĻāϰā§āύ |
| `ReferenceError: Bun is not defined` | Bun āύā§āĻ | āϧāĻžāĻĒ ā§§āĻ |
| `EADDRINUSE` / port 3055 | āϏāĻžāϰā§āĻāĻžāϰ āĻāĻā§āĻ āĻ
āύā§āϝ āĻāĻāύā§āĻĄā§āϤ⧠āĻāϞāĻā§ | āϏā§āĻāĻžāĻ āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻāϰā§āύ, āĻ
āĻĨāĻŦāĻž `pkill -f socket.js` |
| Figma āĻŽā§āύā§āϤ⧠āĻĒā§āϞāĻžāĻāĻāύ āύā§āĻ | āĻŦā§āϰāĻžāĻāĻāĻžāϰā§āϰ Figma-āϤ⧠āĻāĻŽāĻĒā§āϰā§āĻ āĻāϰā§āĻā§āύ | **Figma Desktop**-āĻ āϧāĻžāĻĒ ā§Ģ āĻāĻŦāĻžāϰ āĻāϰā§āύ |
| āύāϤā§āύ āĻĢāĻŋāĻāĻžāϰ āĻāĻžāĻ āĻāϰāĻā§ āύāĻž, āĻĒā§āϰā§āύ⧠āĻāĻāϰāĻŖ āĻāϰāĻā§ | Claude Desktop āĻĒā§āϰā§āύ⧠āĻāĻā§āϏāĻā§āύāĻļāύ āĻāĻžāϞāĻžāĻā§āĻā§ | [āĻāĻĒāĻĄā§āĻ āĻāϰā§āύ](#bangla-update): āύāϤā§āύ `.mcpb` āĻāύāϏā§āĻāϞ â `Cmd` + `Q` â āĻĒā§āϞāĻžāĻāĻāύ āĻāĻŦāĻžāϰ āĻā§āϞā§āύ |
| "Grid conversion not applied" | Grid āĻšā§āĻŦāĻšā§ āĻāĻāĻ āϰāĻāĻŽ āĻĻā§āĻāĻžāϤ⧠āĻĒāĻžāϰāϤ āύāĻž, āϤāĻžāĻ āĻĒā§āϞāĻžāĻāĻāύ āĻŦāĻžāϤāĻŋāϞ āĻāϰā§āĻā§ | āĻĄāĻŋāĻāĻžāĻāύ āĻ
āĻā§āώāϤ āĻāĻā§āĨ¤ Claude-āĻāϰ āĻĻā§āĻāĻžāύ⧠āĻāĻžāϰāĻŖ āĻĒāĻĄāĻŧā§āύ, ungroup āĻāϰāĻŦā§āύ āύāĻž |
| āĻāϤāĻāĻžāϞ āĻāϞāĻāĻŋāϞ, āĻāĻ āĻāϞāĻā§ āύāĻž | Terminal āĻŦāύā§āϧ āĻŦāĻž āĻāĻŽā§āĻĒāĻŋāĻāĻāĻžāϰ āϰāĻŋāϏā§āĻāĻžāϰā§āĻ āĻšāϝāĻŧā§āĻā§ | āϏā§āĻŦāĻžāĻāĻžāĻŦāĻŋāĻāĨ¤ āĻĒā§āϰāϤāĻŋāĻĻāĻŋāύā§āϰ ā§ŠāĻāĻŋ āĻāĻžāĻ āĻāĻŦāĻžāϰ āĻāϰā§āύ |
āϤāĻŦā§āĻ āϏāĻŽāϏā§āϝāĻž āĻĨāĻžāĻāϞ⧠[TROUBLESHOOTING.md](TROUBLESHOOTING.md) āĻĻā§āĻā§āύ āĻ
āĻĨāĻŦāĻž [GitHub-āĻ Issue āĻā§āϞā§āύ](https://github.com/litoondev/claude-talk-to-figma-mcp-main/issues)āĨ¤
---
## đ¨ Local design library first
The plugin will not design from scratch when your file already answers the
question. Before creating or modifying anything, it inspects the current file
and reuses what's there.
### One call, the whole system
`get_design_system` replaces four separate lookups and returns:
| | |
|---|---|
| **Variables & tokens** | Every collection, with modes (light/dark) and colour values resolved to hex |
| **Components** | Standalone components *and* component sets with their **variant properties**, so an existing variant can be selected instead of a new component built |
| **Typography** | Text styles with family, size, line height, letter spacing, case |
| **Colours** | Paint styles as hex, with opacity |
| **Effects & grids** | Shadows, blurs, column grids |
| **Observed conventions** | The padding, gap, radius and font-size values **actually used in the file**, ranked by frequency |
That last row is the part styles alone can't tell you. Most real files encode
their spacing rhythm in usage rather than in named tokens, so "match the
existing spacing" is unanswerable without it. You get output like:
```
ââ OBSERVED CONVENTIONS â match this rhythm ââââââââââââââ
Padding values: 16 (Ã24), 32 (Ã8)
Gap values: 24 (Ã6), 12 (Ã2)
Corner radii: 8 (Ã6), 4 (Ã2)
```
Now the agent knows to use `16` and `8`, not a plausible-looking `20` and `10`.
### The rule it follows
Loaded as the `design_system_first` prompt:
1. **Reuse an existing component exactly** when it solves the need
2. **Reuse an existing variant** when a suitable variation exists
3. **Compose existing components** when it can be built from current primitives
4. **Extend the system** when a new variant is genuinely required
5. **Create something new only as a last resort**
It also binds rather than hardcodes â `apply_variable_to_node` for colour,
`set_text_style_id` for type, `create_component_instance` for components â
and when editing, preserves variable bindings and avoids detaching instances.
> The existing `design_strategy` prompt used to say "plan your layout, then
> create elements", which pulled the other way. It now opens by deferring to
> this rule and describes *how* to build only once you've confirmed the thing
> you need doesn't already exist.
### Using it
Usually nothing to do â the agent calls it on its own. To be explicit:
> "Check the design system first, then build the settings page"
> "What components and tokens does this file already have?"
Components often live on a dedicated library page. If a scan comes back empty,
widen it:
> "Scan the whole document for components, not just this page"
---
## đą Responsive Website
Turn an approved desktop design into tablet and mobile versions â by adapting
layout behaviour, not by shrinking the frame.
### How it works: clone, then adapt
Responsive frames are produced by **cloning** the source and changing how the
clone *flows*. That single choice is what makes the safety guarantees real
rather than aspirational:
- component instances stay **connected** â nothing is detached
- variable and style **bindings survive** untouched
- **copy is never rewritten**, images never replaced
- the **original desktop frame is never modified**
### Behaviour, not scaling
Each section is classified and given its own responsive behaviour:
| Section | Tablet 768 | Mobile 320 |
|---|---|---|
| **Navigation** | keep horizontal | switch to existing mobile variant; hamburger flagged if none exists |
| **Hero** | equalise the split | stack, copy above media |
| **Card grid** | 4 â 2 per row | 1 per row |
| **Form** | stack if >4 fields | rows stack, inputs fill width |
| **Table** | horizontal scroll + **flagged** | horizontal scroll + **flagged** |
| **Footer** | 4 â 2 columns | 1 column |
Nothing is ever scaled proportionally like an image.
### Breakpoints
Default design frames are **1440 â 768 â 320**. Intermediate widths are handled
by Auto Layout, fill/hug sizing and wrapping rather than by more frames.
An exact designer-specified width always overrides the defaults. Pass
`targetWidth` with the breakpoint behaviour: an 834px Tablet is named and built
at 834px, while a 390px Mobile is named and built at 390px. Existing 768px or
320px frames are kept separate and are not overwritten by a different width.
Breakpoints are processed separately. Generate and validate Tablet first; begin
Mobile only in a later run after the designer confirms it.
Absolute-positioned layers are copied with the desktop frame and left completely
unchanged. The responsive engine does not ungroup, restructure, detach, rebuild,
convert, resize, rebind, rename, reorder, or optimize those subtrees. They are
reported for manual designer adjustment even when they do not fit the new width.
Desktop spacing is the maximum reference for responsive output. Tablet and
mobile gaps and padding may stay the same or decrease, but they are never allowed
to increase accidentally. The final responsive pass compares each matched
container with desktop after variable modes resolve and caps increases while
preserving variable bindings.
**QA runs at both 390px and 320px.** A layout that survives 390 and breaks at
320 is not responsive.
### The three tools
| Tool | Does |
|---|---|
| `analyze_responsive` | Classifies sections, reports the plan, finds existing responsive frames. **Changes nothing.** |
| `make_responsive` | Reuses an exact-width matching frame or duplicates desktop beside it, then renames, resizes, adapts, and validates one requested breakpoint (default 768/320, or exact `targetWidth`) |
| `validate_responsive` | QA at any widths â overflow, off-canvas, overlap, tiny text, small tap targets |
### Preservation modes
- **`strict`** (default) â layout flow only; typography untouched
- **`balanced`** â allows minor layout restructuring; typography remains untouched
- **`flexible`** â allows larger restructuring
The automatic pass preserves linked text styles in every mode. If layout changes
still leave an oversized heading unreadable, use only an existing responsive
style/token from the same family; never invent or manually override type values.
### Using it
> "Analyze this page for responsive issues"
> "Make this responsive"
> "Make a Tablet version at 834px"
> "Make a Mobile version at 390px"
> "Check the mobile frame at 320"
### What it flags rather than guesses
When no safe pattern exists, it applies the least destructive change and tells
you â it does not guess confidently:
```
Warnings â manual review required:
â Pricing Table (table): no safe automatic responsive pattern.
Least-destructive adjustment applied; manual review required.
â Header: no mobile navigation variant exists in the component set.
The desktop link list was hidden to prevent overflow â a hamburger
menu and open/close states still need to be added.
```
---
## đ Watch the AI work â live activity tracking
By default an AI agent works silently and you only see the finished result. Live
activity tracking makes the work visible **while it happens** â what's running
right now, what it just changed, and how long each step took.
There are four places to watch, each covering a different audience.
### 1. The plugin panel
Nothing to turn on. The plugin panel now shows a scrolling feed of every action
with timestamps, durations and the names of the nodes touched, plus a status
chip that reads **`create frame ¡ 3s`** while work is in flight and **`Idle ¡ 12
done`** when it isn't.
### 2. The web dashboard â `http://localhost:3055/dashboard`
Open that URL in any browser while the socket server is running. It streams live
over Server-Sent Events and shows every connected channel, whether each is
working, the queue depth, and the full activity log with search and filtering.
Useful when you want a big readable view on a second monitor instead of the
narrow plugin panel.
### 3. On the Figma canvas â a live cursor, like a real collaborator
The two surfaces above are only visible to *you*. These make the work visible to
**anyone with the file open**:
| Setting | What collaborators see | Modifies your file? |
|---|---|---|
| **Live cursor** (off by default) | A cursor with a name pill that glides to each element as it's edited â just like watching a teammate | **Yes** â adds a node, auto-removed on close |
| **Highlight nodes** (on by default) | Your selection outline jumps to each element as it's edited, synced through Figma multiplayer | No |
| **Canvas overlay** (off by default) | A locked status card showing the current action and recent history | **Yes** â adds a frame |
| **Follow viewport** (off by default) | Nothing extra; pans *your* canvas to follow the work | No |
Toggle them at the bottom of the plugin panel, or just ask:
> "Turn on the live cursor so I can watch you work"
> "Turn on the live cursor and call it Orange Toolz"
#### How the live cursor works â and one honest limitation
**A Figma plugin cannot move your real multiplayer cursor.** That pointer is
driven by your physical mouse and the Plugin API gives no way to write to it.
So this draws its own: a cursor arrow plus a label pill, built from ordinary
Figma nodes. Because they *are* ordinary nodes, Figma's multiplayer sync
broadcasts every position change to everyone in the file â which produces the
same effect as watching a collaborator move around the canvas.
The label also carries the current action, so observers see not just *where* the
agent is but *what it's doing there*:
```
â Claude â create frame
```
It glides between elements over ~300ms rather than teleporting, stays locked so
nobody can drag it by accident, drops back to just the name after 4 seconds of
quiet, and is **removed automatically when the plugin closes**.
> â ī¸ **The live cursor and the canvas overlay both write real nodes into your
> document**, so they show up in version history and the undo stack. That's why
> both are off by default. Node highlighting gives you a good deal of the
> collaborator visibility and changes nothing at all.
### 4. Ask Claude directly
Three tools are available to the agent:
| Tool | What it does |
|---|---|
| `get_activity_log` | Full history from the socket server â works even if the plugin disconnected |
| `get_activity_state` | The plugin's in-document view, with resolved node names |
| `set_activity_overlay` | Turn the live cursor, canvas overlay, highlighting and viewport following on or off |
> "What have you changed so far?"
> "Are you still working on that, and how long has it been running?"
### Running a second server on another port
The socket server listens on `3055`. Set `SOCKET_PORT` to run another alongside
it â handy for testing without disturbing a live session:
```bash
SOCKET_PORT=3056 npm run socket
```
Point the MCP server at it with `--port=3056`.
---
## ⥠Speed and cost
A Figma session is expensive for two reasons, and neither is the thinking: the
tool list is re-sent on every single message, and every write is its own round
trip. Four things in this plugin attack that directly.
### 1. Batch your writes â `figma_batch`
Building one section normally takes 20â40 separate tool calls, and each one is a
full round trip. `figma_batch` runs them all in a single call:
```json
[
{"command": "create_frame", "params": {"x": 0, "y": 0, "width": 1440, "height": 600, "name": "Hero", "parentId": "0:1"}},
{"command": "set_auto_layout", "params": {"nodeId": "$0.id", "layoutMode": "VERTICAL", "itemSpacing": 24}},
{"command": "create_text", "params": {"text": "Headline", "parentId": "$0.id"}},
{"command": "set_font_size", "params": {"nodeId": "$last.id", "fontSize": 56}}
]
```
Ops run in order. `$0.id` refers to the first op's result and `$last.id` to the
previous one, so a frame's ID can feed its children without a trip back to the
model. `stopOnError` defaults to `true`; set it to `false` for independent work
such as recolouring many unrelated nodes.
Ask the AI to load the **`efficient_execution`** prompt at the start of a session
and it will batch by default.
### 2. Pick a tool profile
The tool list costs about **25,000 tokens on every message**, whether or not any
of those tools get used. A profile trims what is advertised:
| Profile | Tools | Tokens per message | |
|---|---|---|---|
| `core` | 48 | ~10,400 | Layout, text, colour, variables, responsive, section scope |
| `standard` | 87 | ~18,600 | Everything except FigJam, REST comments, activity tracking â **default** |
| `full` | 115 | ~25,900 | Everything advertised, the original behaviour |
Nothing is ever lost. A tool a profile withholds is still callable through
`figma_batch` by name.
Set it in the extension's settings (**Tool profile**), or with the
`FIGMA_MCP_PROFILE` environment variable for a manual install.
### 3. Repeated library reads are cached
`get_design_system`, `get_styles`, `get_local_components`, `get_variables`,
`get_document_info` and `get_pages` are served from a short-lived cache, so the
"check what already exists before creating" rule stops costing a round trip every
time it fires. Any command that changes the document clears the cache
immediately, so you never act on a stale read. Disable with `FIGMA_MCP_CACHE=off`.
### 4. Responses have a ceiling
One deep `get_node_info` on a large page could previously fill the context window
by itself. Tool responses are now capped (~24,000 characters, roughly 6,000
tokens) and truncated with a note telling the AI to narrow the query. Adjust with
the **Maximum tool response size** setting or `FIGMA_MCP_MAX_RESPONSE_CHARS`.
### 5. See what it cost â `get_token_usage`
Every Figma task spends context twice â once for the arguments the agent writes,
and again for the result text, which the model re-reads on every later turn. The
expensive calls are rarely the obvious ones: reading a deep node tree costs far
more than creating a frame.
The server tallies both halves of every tool call and reports them, so a task can
end with a plain statement of what it cost:
```
This task â ~18k tokens across 47 Figma tool calls in 2m 14s
sent ~2.1k ¡ received ~16k
most expensive:
get_node_info â 9Ã, ~11k tokens
scan_text_nodes â 3Ã, ~3.4k tokens
figma_batch â 12Ã, ~2.0k tokens
(Estimated from payload size at ~4 chars/token. Covers Figma tool traffic only,
not the rest of the conversation.)
```
Every tool result also carries a one-line running total:
```
[figma-usage: ~4.2k tokens over 12 calls this task â report this to the user when the task is done]
```
That footer is the part that makes this reliable. An instruction telling the
agent to call a tool at the end of a task is only as good as its compliance, and
a report nobody sees is the same as no feature â so the number rides along in
every result instead. It costs about a dozen tokens per call. Turn it off with
`FIGMA_MCP_USAGE_FOOTER=off` if you would rather rely on the tool alone.
The agent is instructed to call `get_token_usage` once at the end of a task and
show you the result, so you get this without asking. You can also ask for it
directly:
> "How many tokens has that cost so far?"
| Argument | Effect |
|---|---|
| `scope` | `task` (default) â spend since the last report. `session` â everything since the relay started |
| `reset` | Start a fresh task window after reporting. Defaults to on for `task`; session totals never reset |
| `topTools` | How many tools to list in the breakdown (default 5, `0` for none) |
| `format` | `text` (default) for the block above, `json` for the raw numbers |
**Two limits worth knowing.** The counts are estimated from payload size at
~4 chars/token, not produced by a tokenizer, so treat them as a close
approximation rather than a bill. And an MCP server sits outside the model's
context window: it can measure the traffic crossing this bridge, but not your
system prompt, your messages, or the model's own reasoning. The figure is the
cost of the Figma work, not of the conversation.
### 6. Per-chat totals â `npm run tokens`
`get_token_usage` measures the Figma bridge. It cannot measure the *chat*, because
an MCP server sits outside the model's context window. Those numbers come from
elsewhere: Claude Code writes one JSONL transcript per session under
`~/.claude/projects/`, and every assistant message in it carries the API's own
`usage` block. `scripts/chat-token-report.mjs` sums them.
```bash
npm run tokens # this project's chats, newest first
npm run tokens -- --all # every project
npm run tokens -- <session-id> # one chat, broken down
```
```
last active turns input cache rd output total chat
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2026-09-07 17:00 70 147.5k 4.70M 40.8k 4.89M add token reporting
2026-09-04 09:35 7 36.0k 299.8k 1.6k 337.4k push to main branch
```
Read the `cache rd` column before the `total` one. Most of a long chat's tokens are
cache reads â the same context re-sent each turn â and those are billed far below
the base input rate, so the raw total badly overstates cost. For money rather than
tokens, use `/cost` in Claude Code or the Anthropic Console.
**In Claude Desktop** there is no equivalent: it keeps no local transcript and
exposes no token counter, so `get_token_usage` is the only per-task figure
available there.
### Also faster
`scan_text_nodes` and `set_multiple_text_contents` used to tint each text node
orange and wait half a second for the tint to be visible â on a page with 60 text
nodes that is 30 seconds of pure waiting, and it wrote to the document during
what should have been a read. That highlighting is gone; live progress now comes
from moving the selection instead, which touches nothing. `scan_text_nodes` also
works in larger chunks, and the one-second pause between text-replacement chunks
(which only existed to let the tint animate) is down to a short yield.
---
## đ§Š Skills
A **skill** is a vetted, step-by-step procedure for a recurring design job â
"rename every layer semantically", "audit contrast", "build a pricing section".
Written once, it produces the same quality every time instead of the AI working
the job out from scratch and landing somewhere different each run.
Skills live in [`skills/`](skills/) as Markdown files and are compiled into the
extension at build time.
### Using one
Two ways, both serving the same skill:
- **Prompt picker** â every skill is registered as an MCP prompt under its ID
(`Layer_Rename_v1`), so it appears in Claude's prompt list.
- **`figma_skill` tool** â how the AI reaches one on its own mid-conversation:
```
figma_skill() â the catalogue
figma_skill({query: "messy layer names"}) â best matches
figma_skill({name: "Layer_Rename_v1"}) â full instructions
```
### Writing one
Drop a Markdown file into your skills directory â `~/.figma-mcp/skills` by
default, or wherever `FIGMA_MCP_SKILLS_DIR` points. It is live on the next
restart; no rebuild. A file placed there with the same ID as a built-in
overrides it, so you can adapt a shipped skill without forking anything.
```markdown
---
id: Audit_Contrast_v1
title: Contrast Auditor
description: >
Checks text colour contrast across a frame and reports failures.
triggers:
- check contrast
- accessibility audit
uses:
- get_node_info
- export_node_as_image
---
# Contrast Auditor
1. Call `export_node_as_image` on the frame...
```
### Naming: `Category_Action_vN`
The ID is not decoration â the registry reads it. `Layer_Rename_v1` and
`Layer_Rename_v2` are the same skill at two versions, so the older one is
retired automatically; `Layer_Clean_v1` is a different skill in the same
category. Category and Action are PascalCase, the version is `v` plus a whole
number. A file that breaks the convention is rejected at startup with the reason
printed in the log, and the rest keep working.
### What the system checks
| Check | What happens |
|---|---|
| **Naming** | Malformed IDs are rejected with an actionable reason â never silently ignored |
| **Duplication** | A near-copy of an existing skill (âĨ82% content match) is blocked. Overlapping triggers are registered but flagged, since two skills claiming one phrase make selection a coin toss |
| **Versioning** | Older versions of a family are superseded automatically and stop being advertised |
| **Tool references** | Every tool a skill names is checked against the tools actually registered under your profile |
### Self-repair, and its limits
Skills are often written against a *different* Figma MCP server, then name a
tool that does not exist here â `get_screenshot` instead of
`export_node_as_image`. The AI dutifully calls it and the step fails.
At startup, every skill is checked against the live tool set. When a name has a
known one-for-one equivalent, the skill is rewritten with the correct name and
saved as the **next version** (`Audit_Contrast_v1` â `Audit_Contrast_v2`). The
original stays on disk as the record of what changed. Turn this off with
`FIGMA_MCP_SKILL_AUTOREPAIR=off` to review repairs instead of applying them.
**What it will not do:** repair a skill whose *instructions* are wrong â prose
that produces bad designs, a missing step, a wrong order. Nothing here evaluates
meaning, and a system that rewrites guidance it cannot judge would do more harm
than the bug. Those failures are recorded against the skill and reported for a
person to read. Substitutions are limited to a curated table of genuine
equivalents; a tool with no real counterpart is reported, never swapped for
something that behaves differently.
---
## đ Troubleshooting common errors
| What you see | What's actually wrong | Fix |
|---|---|---|
| "I can't connect to Figma" | Bridge server isn't running | [Step 6a](#6a-start-the-bridge-server) â restart it and leave the window open |
| "Channel not found" / connection refused | Channel ID is stale | Reopen the plugin, copy the **new** ID, connect again |
| Claude has no Figma tools at all | Extension not installed, or Claude wasn't restarted | Settings â Extensions. If missing, redo [Step 4](#step-4-install-the-extension-into-claude-desktop). Quit with `Cmd`+`Q`, not the window X |
| `ReferenceError: Bun is not defined` | Bun missing | [Step 1b](#1b-bun-required-do-not-skip) |
| `EADDRINUSE` on port 3055 | Server already running elsewhere | Use the existing window, or `pkill -f socket.js` |
| Plugin missing from Figma's menu | Imported into browser Figma, not desktop | Use **Figma Desktop** and redo [Step 5](#step-5-install-the-plugin-inside-figma) |
| Commands work, comments don't | No Figma token | [Step 7](#step-7-optional-comment-tools) |
| `git: command not found` | Xcode CLI tools missing | `xcode-select --install`, or download the ZIP |
| Everything worked yesterday, nothing today | Server stopped when you closed Terminal / rebooted | Normal. Redo the [3-step daily routine](#-every-session-after-the-first) |
| New features don't work, old behaviour | Claude Desktop still runs the extension you installed before | [Update](#-update-to-the-newest-version): install the new `.mcpb` â `Cmd` + `Q` â reopen the plugin |
| "Grid conversion not applied" | A Grid could not reproduce the section exactly, so the plugin undid it | Your design is untouched. Read the reason; don't ungroup by hand |
Still stuck? See [TROUBLESHOOTING.md](TROUBLESHOOTING.md), or [open an issue](https://github.com/litoondev/claude-talk-to-figma-mcp-main/issues).
---
## đ§ Other AI tools (Cursor, Claude Code, Windsurf, VS CodeâĻ)
Steps 1, 2, 5 and 6 are identical for every tool â only Steps 3 and 4 are Claude-Desktop-specific. Other clients read a JSON config file instead of installing an extension.
> **â ī¸ Don't use `npx claude-talk-to-figma-mcp`.** That pulls the upstream package, which does **not** include the comment tools. This fork must be built from source.
### Cursor
1. **Cursor Settings** â **Tools & Integrations** â **New MCP Server** (opens `mcp.json`)
2. Add this, replacing the path with **your** absolute path:
```json
{
"mcpServers": {
"ClaudeTalkToFigma": {
"command": "node",
"args": ["/Users/YOUR_NAME/Documents/claude-talk-to-figma-mcp-main/dist/talk_to_figma_mcp/server.cjs"],
"env": { "FIGMA_ACCESS_TOKEN": "figd_your_token_here" }
}
}
}
```
3. Save and restart Cursor
> đĄ To get the exact path, run `pwd` inside the project folder and paste the result.
>
> đĒ **Windows:** double the backslashes â `"C:\\Users\\You\\claude-talk-to-figma-mcp-main\\dist\\talk_to_figma_mcp\\server.cjs"`
### Claude Code
```bash
claude mcp add ClaudeTalkToFigma \
--env FIGMA_ACCESS_TOKEN=figd_your_token_here \
-- node ~/Documents/claude-talk-to-figma-mcp-main/dist/talk_to_figma_mcp/server.cjs
```
Check with `claude mcp list`, or `/mcp` inside Claude Code.
### Everything else
Windsurf, Antigravity, VS Code + Copilot, Cline and Roo Code follow the same pattern with slightly different file locations â see the ["Configure your Agentic Tool" chapter of the detailed installation guide](INSTALLATION.md#3-configure-your-agentic-tool).
## đŗ Alternative: Using Docker
If you prefer Docker or need to run the WebSocket server in a team environment, see the [Docker installation guide](INSTALLATION.md#alternative-using-docker).
---
## đ¤ Multi-Agent & Parallel execution
This MCP server supports **safe parallel execution** out of the box, allowing multiple AI agents (e.g. Claude Code's sub-agents or team swarms) to work simultaneously on your Figma file without locking up the plugin. A built-in command queue processes requests sequentially on the server side, preventing the Figma API from timing out.
> **Note**: Because multiple agents can modify the document simultaneously, relying on implicit page context is unsafe. As a result, stateful commands like `set_current_page` are **blocked**. All agents must explicitly provide the intended `parentId` parameter when executing any creation or structural modification command (e.g., `create_frame`, `create_text`).
*(Special thanks to [@mmabas77](https://github.com/mmabas77) for architecting and contributing this feature!)*
## đ ī¸ Capabilities
**Design analysis**
- Get document information, current selection, styles
- Scan text, audit components, export assets
**Element creation**
- Shapes, text, frames with full style control
- Clone, group, organize elements
**Modification**
- Colors, borders, corners, shadows
- Auto-layout, advanced typography
- Local components and team library components
**Comments** â see [below](#-comment-tools)
See [complete command list](COMMANDS.md).
## đŦ Comment tools
Read and reply to Figma review threads directly from your agent.
Figma's Plugin API has **no access to comments** â they aren't part of the document tree and are never exposed to plugins. So these tools take a second route: they call Figma's REST API directly. That has two practical consequences:
- They need a personal access token (every other tool does not).
- They work **without** the socket running and **without** `join_channel`.
### No file URL required
`fileKey` is optional on every comment tool. Omit it and the server asks the connected plugin which file is open:
```
You: check all comments
â reads the comments on whatever file you're looking at
```
Pass `fileKey` explicitly only to target a *different* file â which also works with no plugin channel connected.
> Automatic resolution uses `figma.fileKey`, which requires the private plugin API. It's available for locally imported and organisation plugins (this project sets `enablePrivatePluginApi: true`) and `undefined` on public plugin builds. If unavailable you get an explicit message rather than a silent failure.
### Setup
See [Step 7](#step-7-optional-comment-tools) above for the click-by-click version. For non-Claude-Desktop clients, expose the token as `FIGMA_ACCESS_TOKEN` in the `env` block of your MCP config:
```json
{
"mcpServers": {
"ClaudeTalkToFigma": {
"command": "node",
"args": ["/absolute/path/to/claude-talk-to-figma-mcp-main/dist/talk_to_figma_mcp/server.cjs"],
"env": { "FIGMA_ACCESS_TOKEN": "figd_your_token_here" }
}
}
}
```
Restart your client and run `check my Figma account` to verify.
Full details and tuning options in the [installation guide](INSTALLATION.md#4-optional-enable-comment-tools-figma-rest-token).
### What you can ask
```
â
"Check all comments"
â
"Show me every unresolved comment I'm involved in across the team,
and flag the ones waiting on my reply"
â
"Read my open comments, look up the node each one is pinned to,
and draft a reply explaining the fix"
â
"Reply to all my threads from last week confirming they're addressed
in v2 â dry run first"
```
Threads come back with author, pin location, resolved status, timestamps and the node id each comment is attached to â so you can hand that id straight to `get_node_info` and reason about what the feedback refers to.
## đ Documentation
- [Detailed installation](INSTALLATION.md) â Manual setup, Cursor, Windsurf and other IDEs
- [Available commands](COMMANDS.md) â Complete tool reference
- [Troubleshooting](TROUBLESHOOTING.md) â Common errors and how to fix them
- [Contributing](CONTRIBUTING.md) â Architecture, testing, contribution guide
- [Changelog](CHANGELOG.md) â Version history
## đ Credits
Based on [cursor-talk-to-figma-mcp](https://github.com/sonnylazuardi/cursor-talk-to-figma-mcp) by Sonny Lazuardi. Adapted for Claude Desktop and extended with new tools by [XÃēlio ZÊ](https://github.com/arinspunk).
This fork adds the Figma REST comment tools and automatic file-key resolution, maintained by [litoondev](https://github.com/litoondev). For the original project, see [arinspunk/claude-talk-to-figma-mcp](https://github.com/arinspunk/claude-talk-to-figma-mcp).
If you want to know about all project contributions, you can visit the ["Contributors" chapter of the contribution guide](CONTRIBUTING.md#contributors).
[MIT License](LICENSE)
---
## đ Project status
â
**Stable production** - Tool ready for daily use in design and development teams
đ **New â HTML / URL â Figma:**
- Converts a web page or `.html` file into a Figma design that looks identical, images and icons included
- Binds your own variables and text styles; repeated elements without a component become new components beside the page
- Chooses Figma Grid or Auto Layout per container, and lists anything not in your design system in Import Notes
đ **New â layer optimization:**
- Scan â ask â apply: hidden and risky layers are removed only with your confirmation
- Double-nested Auto Layout wrappers collapsed without changing the design
- Heading + card rows converted to Figma Grid, verified to 1px and undone if anything moves
đ **New in 1.2.0:**
- Read and reply to Figma comments via the REST API
- Automatic file-key resolution â no pasting file URLs
- Token prompt built into the DXT/MCPB package
đ **Under active development:**
- Complete support for Figma Variables
- Enhanced export to Tailwind CSS/SwiftUI
### Need something specific?
**[Propose new ones on GitHub Issues](https://github.com/litoondev/claude-talk-to-figma-mcp-main/issues)**
For issues with the underlying MCP (not the comment tools), consider [upstream](https://github.com/arinspunk/claude-talk-to-figma-mcp/issues) instead.
Your feedback and contributions keep the project alive. â¤ī¸
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues