SuperAPIAI Directory

DSH-to-Figma

github.com · Other AI tools

DSH to Figma

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux · 浏览器扩展

About this tool

DSH-to-Figma is a plugin that brings Figma canvas capabilities into DeepSeek Harness (DSH). Through a native DSH plugin paired with an automatically paired Figma plugin, it lets DSH directly read and edit the design canvas and obtain screenshots. According to the official description, after the plugin starts in local mode, DSH automatically generates a Figma plugin that is specific to this computer and already paired; import the manifest once the first time, and thereafter it connects whenever it runs, with no need to copy a pairing key. While in use, the Figma plugin window should remain open.

Main capabilities

  • The default local mode supports canvas editing: execute the public Plugin API in the selected document to create and modify Frames, text, auto layout, components, variants, styles, and variables.
  • Read design context: read layer structure, layout, CSS, and assets so the host Agent can implement the interface in the current workspace.
  • Visual feedback: canvas screenshots are passed through DSH's native image attachment mechanism; when the model does not support images, the limitation is explicitly reported.
  • Asset export: specified layers can be exported as SVG, PNG, JPG, or PDF and saved to .figma/assets/<batch>/ in the workspace, after which DSH organizes them according to project conventions.
  • Design system assistance: components, styles, and variables can be read to help new pages follow existing design specifications, and components, variants, and variables can also be created or adjusted within a clearly defined scope.
  • Guides and Skills: includes the built-in figma-workbench Skill, along with specialized guides on canvas scripting, design-to-code, components and variables, assets and scenarios, FigJam / Slides, official services, and more.
  • Tool scale: the default local mode provides 17 canvas tools (names prefixed with mcp__figma__…), plus 5 onboarding and guide tools. The optional official mode dynamically provides the server's actual tool catalog; the official desktop mode has no use_figma canvas write tool.

How to use The recommended installation method is to download and install the DSH package from Releases (e.g., dsh-to-figma-0.2.3.tgz). After the plugin starts in local mode, have DSH call figma_setup to obtain the manifest path, then in the Figma desktop app use Plugins → Development → Import plugin from manifest… to import it the first time,Open the target Design file and run DSH to Figma · Local. You can also clone the source and install "file:$PWD" in the repository directory using the host CLI. Tested with DSH kernel 0.2.0-rc.2 and 0.2.1-rc.2.

For configuration, you can set the dsh-figma entry through the host's native plugin configuration, including backend (default local, optional desktop, and remote via dsh-figma login), bridgePort, etc. Local mode automatically generates a paired plugin, and a single file is selected automatically; desktop mode supports only reading and screenshots; remote mode capabilities depend on Figma client approval, account, seat, and the server's actual tool list.

Use cases

  • Existing UI artboards → front-end pages: read the artboard's layer structure, layout, styles/CSS, component information, and screenshots, then export icons and images, and have DSH implement or modify the page in combination with the current code workspace.
  • Reference screenshots or text requirements → editable Figma UI: create native artboards, text, vectors, and auto layout in a Figma file.
  • Batch modification and iteration of existing designs: adjust copy, colors, spacing, or layout, then read the results and check screenshots.
  • Design-to-code and asset organization: export the icons and images used by the artboard to the project asset directory.

Limitations and notes

  • The plugin provides design context and assets; front-end code is implemented by DSH's model and workspace tools; interaction logic, responsive rules, back-end interfaces, and business behavior still need to be supplemented according to project requirements.
  • These are composable workflows; they do not automatically sync design and code bidirectionally, nor do they guarantee pixel-perfect reproduction; front-end generation, component organization, and other workflows have not yet been individually tested end to end.
  • Canvas modifications are not transactional; larger modifications should be split into small steps for verification; canvas operations interrupted during execution are not automatically replayed.
  • Component search is scoped to the current page, while style and variable search are scoped to the local file; local component references are not equivalent to published Code Connect mappings.
  • The automatically generated dedicated plugin directory and pairing ZIP contain local machine credentials and should be kept on the local machine; do not upload or share them.
  • The local service listens only on loopback and verifies the pairing key; Figma scripts execute through the public Plugin API. OAuth credentials are stored in a private local file and are not encrypted using the system keychain.
  • Asset uploads cannot exceed the current Work workspace. Screenshots become part of the conversation content and may be sent to the configured model provider.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools