npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

conduit-design

v0.9.8

Published

Conduit Figma MCP

Readme

version Publish Package to npm License

Conduit

Design at the speed of thought

https://github.com/user-attachments/assets/27fb8080-a4f6-46d4-a016-60ba3f0208e8

What is MCP?

Model Context Protocol (MCP) is the framework that allows an AI agent to communicate with external applications. This implementation enables any AI agent to send commands to and receive information from Figma in real-time.

How it works

+------------+     +-----+     +------------------------+     +--------------+
| AI Agent   | <-> | MCP | <-> | Local WebSocket Server | <-> | Figma Plugin |
+------------+     +-----+     +------------------------+     +--------------+

Table of Contents

Features:

  • ✍️ Text manipulation – Add, edit, and style text elements, including advanced controls for font, size, weight, case, decoration, spacing, and paragraph/line height.
  • 🎨 Gradient & color support – Create and apply solid colors, gradients, and color variables (design tokens) to any element.
  • 🔤 Font support – Access and apply a diverse range of fonts, including bulk font operations.
  • 📐 AutoLayout – Automatically create responsive and adaptive layouts, including hug/fill sizing and all Figma auto-layout properties.
  • ⚙️ Batch operations – Perform actions on multiple Figma elements simultaneously for efficient workflows.
  • 🔷 Geometric shapes – Generate rectangles, circles, ellipses, polygons, lines, and star shapes.
  • 🌀 Vector & SVG support – Create, insert, and manipulate vector shapes and SVG graphics.
  • 🖼️ Image support – Import, export, and manage raster images within Figma designs.
  • 🗂️ Frame, Group, Component – Structure designs with frames, groups, reusable components, and component instances.
  • 🧩 Component variants & properties – Create, manage, and organize component variants and their properties.
  • 🏷️ Rename layers – Programmatically rename layers, including AI-powered renaming.
  • 📄 Page management – Create, duplicate, and set the current page in your Figma document.
  • 🔄 Node management – Clone, delete, lock/unlock, show/hide, insert, flatten, reorder, move, and resize nodes.
  • ✂️ Boolean operations – Union, subtract, intersect, and exclude shapes for complex vector editing.
  • 📏 Grids, guides, and constraints – Create and manage layout grids, guides, and responsive constraints.
  • Effect styles – Create, set, and apply effect styles (drop shadow, blur, etc.).
  • 🧬 Figma Variables (Design Tokens) – Create, update, delete, and apply variables for color, number, string, and boolean; switch between variable modes (e.g., light/dark theme).
  • 💾 Export & code generation – Export nodes as images (PNG, JPG, SVG, PDF), generate HTML structure, and extract CSS from Figma nodes.
  • 📝 Annotation support – Get, set, update, and delete annotations on nodes.
  • 🔔 Event subscription – Subscribe and unsubscribe to Figma events (e.g., selection change, document change). This essentially allows turn-by-turn multi-agent collaboration.

Compatibility

  • VSCode w/ GitHub Copilot agent (Sonnet 4.0) (50 free Sonnet 3.5 requests per month)
  • VSCode w/ Cline (Multiple LLM's available, Gemini has $300 free credits)
  • Claude Desktop Application (Sonnet 4.0)
  • Cursor agent (Sonnet 4.0 / GPT 4.1 / Gemini 2.5 pro)

Prerequisites

  • macOS/Linux:
curl -fsSL https://bun.sh/install | bash
  • Windows:
irm bun.sh/install.ps1 | iex

Installation

Step 1: Install the server and plugin

  1. Clone this repository:
    git clone https://github.com/eonist/conduit.git
  2. Terminal: cd path-to-conduit
  3. Terminal: npm install -> Builds dependencies
  4. Terminal: bun run build:all -> Builds the Server and Plugin
  5. Terminal: bun socket -> Starts the Server

Step 2: Install the Figma Plugin

  1. Open Figma Desktop App
  2. Go to Plugins > Development > Import plugin from manifest...
  3. Navigate to conduit folder and select conduit/src/plugin/manifest.json
  4. Start Figma plugin: Plugin -> Development -> Conduit

Step 3: Configure Agent

  1. Open Agent App (GitHub Copilot Agent, Cline, Cursor, Claude desktop)
  2. Find MCP settings in your agent app of choice. ~/.app-name/mcp.json
  3. Add a new MCP connection with this config:
{
  "mcpServers": {
    "ConduitMCPServer": {
      "command": "bunx",
      "args": ["conduit-design@latest"]
    }
  }
}
  1. AI Agent app: Ensure MCP “Conduit” is enabled.
  2. AI Agent app: "Talk to Figma on channel: (unique channel id copied from plugin)"

Quick Example

User: Talk to figma on channel "xxxxxxx"
Agent: Connecting to Figma. Connected on channel "xxxxxxxx"
User: "Create a responsive navigation bar with our brand color #3366FF and add 5 menu items"
Agent: [executes commands in Figma and displays the results]

Docs:

Troubleshooting

  • Connection Error: Ensure the WebSocket server is running (bun socket).
  • Plugin Not Appearing: Verify the plugin import in Figma Development settings.
  • Execution or Font Loading Errors: Check Figma’s development console for details.

[!TIP] In VSCode command pallet: > Reload Window this restarts cline and refreshes your MCP servers (To get new updates)

Testing

To run integration tests:

bun run test

See TESTING.md for more details.

[!NOTE] There is also Unit-tests in the /tests/ path

Contributions

  1. Fork the repository.
  2. Create a branch (e.g., feature/amazing-feature).
  3. Commit your changes.
  4. Push to your branch.
  5. Open a Pull Request.

See MCP protocol design best pratice: https://gist.github.com/eonist/eb8d5628aad07fc57ce339e518158c20

License

MIT License – see the LICENSE file for details.

Authors

  • Sonny Lazuardi – Original implementation | GitHub
  • Xúlio Zé – Adaptation for Claude | GitHub
  • André J – Adoption for any agent with new features | GitHub

Acknowledgments

  • Anthropic team for Claude and the Model Context Protocol.
  • Figma community for their excellent plugin API.
  • Sonny Lazuardi for the original implementation.
  • Bun team for providing a fast JavaScript runtime.