One-click Figma MCP connector for DSH (DeepSeek Harness).
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-figma-mcp
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:lubanqihao9875/dsh-figma-mcp
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Overview
The one-click Figma MCP connector for DSH, paste a Figma link into chat, and the Agent can read/write nodes, layers, variables, and styles, generate React/Vue code, secure OAuth login, token stored locally, with built-in workflow commands and Skill to guide the way.
Install
From npm
dsh plugin add dsh-figma-mcp
From GitHub
dsh plugin add github:lubanqihao9875/dsh-figma-mcp
Local development
Clone the repo and enter the directory first:
git clone https://github.com/lubanqihao9875/dsh-figma-mcp.git
cd dsh-figma-mcp
Then link the current directory into DSH:
# macOS / Linux
dsh plugin add link:$(pwd)
# Windows (PowerShell)
dsh plugin add link:"$PWD"
After installing, restart DSH. The "Settings → DSH Figma MCP" card appears — click "Connect Figma" to complete the authorization.
Card
The card has two sections: "Connection" (authorization state) and "Skill" (whether the Figma MCP usage is injected into the Agent skill list)
Connection
| Status chip | Meaning | Action |
|---|---|---|
| Not connected | Not yet authorized | Click "Connect Figma" to open the browser |
| Connected | Token is valid | Nothing to do |
| Expiring soon | Less than 24h left | Suggested: click "Refresh auth" |
| Expired | Token is no longer valid | Click "Reauthorize" |
After authorization the card switches from "Not connected" to "Connected" automatically.
Skill
The "Skill" toggle controls whether dsh-figma-mcp-skill is injected into the Agent's skill list. dsh-figma-mcp-skill tells DSH how to pick the mcp__figma__* tools. It is on by default.
Expiry and refresh
The token lifetime follows what Figma issues. As the token approaches expiry, the status chip turns yellow ("Expiring soon"). "Refresh auth" silently renews the token in the background without opening a browser; only when it is completely invalid do you need "Reauthorize" to go through the browser flow again.
Disconnect and uninstall
"Disconnect" only clears local data: the token and refresh credentials in the patch file are deleted immediately. Click Disconnect before uninstalling the plugin, otherwise a still-valid token will remain in the patch file.
Usage examples
After connecting, paste a Figma link directly into a DSH chat and tell the Agent what you want. The Agent automatically calls the mcp__figma__* tools to read content and run the task.You can also start a fixed workflow with /dsh-figma-mcp <command> [extra context]. When required information is missing, the Agent asks for it interactively one field at a time and continues automatically after each answer. Actions that write to Figma, download assets, or write local files ask for confirmation first.
Read design content
Show me what's in this design file: your Figma file URL (e.g.
https://www.figma.com/design/<file-id>)
Extract copy and build an i18n table
Pull every button and heading label from the Figma file above and produce a Chinese/English i18n table
Generate code from the design
Convert the Figma page above into React code
Troubleshooting
- Clicking "Connect Figma" does not open a browser: check whether a popup blocker stopped the OAuth window.
Links
More in this category
DayuanJiang/next-ai-draw-io#dsh-plugin★ 36599
Draws draw.io diagrams in DeepSeek Harness through the next-ai-drawio MCP server: the link in the reply opens a live preview in the right sidebar, you can edit the diagram by hand, and each AI change is a version you can restore. Node.js 18+; npx downloads the MCP server on first use.
Tencent/WeKnora#dsh-weknora★ 36302
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
superdesigndev/treg★ 7042
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 5074
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
sixtysevenlf/dsh-blender-plugin★ 1575
Lets a DSH agent drive a local Blender over a direct TCP channel with 15 tools: viewport frames, custom-angle renders, Python execution, headless and job offload, transaction rollback, and a planning layer of 228 ops across 34 families.
TencentCloudBase/CloudBase-AI-Toolkit#dsh-plugin★ 1155
Tencent CloudBase backend for DeepSeek Harness — scaffold and deploy full-stack apps from chat, render query results as table cards with paging, sorting and CSV export, preview a deployment on its domain, and call the CloudBase MCP toolset (`mcp__cloudbase__*`) with device-code login.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.