Figma ContextCAUTION
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
Figma Context MCP
MCP server for seamless Figma design integration with AI coding tools
Features • Quick Start • MCP Capabilities • Architecture • Documentation • 中文文档
What is This?
Figma Context MCP is a Model Context Protocol (MCP) server that bridges Figma designs with AI coding assistants like Cursor, Windsurf, and Cline.
When AI tools can access Figma design data directly, they generate more accurate code on the first try—far better than using screenshots.
Note: This project is based on Figma-Context-MCP, with optimized data structures and intelligent layo
348514dfb02aOBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add figma-mcp-server --env FIGMA_API_KEY=${FIGMA_API_KEY} --env TEST_FIGMA_FILE_KEY=${TEST_FIGMA_FILE_KEY} -- npx -y @yhy2001/[email protected]{
"mcpServers": {
"figma-mcp-server": {
"command": "npx",
"args": [
"-y",
"@yhy2001/[email protected]"
],
"env": {
"FIGMA_API_KEY": "${FIGMA_API_KEY}",
"TEST_FIGMA_FILE_KEY": "${TEST_FIGMA_FILE_KEY}"
}
}
}
}Exposed tools (2)
2 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
download_figma_images | read | Download SVG and PNG images from a Figma file. |
get_figma_data | read | Get layout and style information from a Figma file or specific node. |
Trust audit
CAUTIONgrade C · trust 70/100 Install with care. The audit found things worth knowing before you trust its output.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | WARN |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (5 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- found
Findings (14)
"thumbnailUrl": "https://s3-alpha.figma.com/thumbnails/6d4c4440-1098-402c-b983-1bf44c182966?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQ4GOSFWCXJW6HYPC%2F20251204%2Fus-west-2%2Fs3%2Faws4_re
"thumbnailUrl": "https://s3-alpha.figma.com/thumbnails/6d4c4440-1098-402c-b983-1bf44c182966?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQ4GOSFWCXJW6HYPC%2F20251204%2Fus-west-2%2Fs3%2Faws4_re
"thumbnailUrl": "https://s3-alpha.figma.com/thumbnails/9a38a8e4-5a00-4c07-a053-e71c7103a167?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQ4GOSFWCXJW6HYPC%2F20251204%2Fus-west-2%2Fs3%2Faws4_re
"thumbnailUrl": "https://s3-alpha.figma.com/thumbnails/6d4c4440-1098-402c-b983-1bf44c182966?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQ4GOSFWCXJW6HYPC%2F20251204%2Fus-west-2%2Fs3%2Faws4_re
"thumbnailUrl": "https://s3-alpha.figma.com/thumbnails/6d4c4440-1098-402c-b983-1bf44c182966?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQ4GOSFWCXJW6HYPC%2F20251204%2Fus-west-2%2Fs3%2Faws4_re
.lintstagedrc.json
exec(`${openCommand} "${viewerPath}"`, (error) => {return crypto.createHash("md5").update(keyString).digest("hex");return crypto.createHash("md5").update(keyString).digest("hex");const fixturesPath = path.join(__dirname, "../../fixtures");
const fixturesPath = path.join(__dirname, "../../fixtures");
import { parseFigmaResponse } from "../../src/services/simplify-node-response.js";import { parseFigmaResponse } from "../../src/services/simplify-node-response.js";@modelcontextprotocol/sdk, cross-env, dotenv, express, remeda, yargs, zod, @commitlint/cli
Gates applied: no_behavioural_pass.
348514dfb02afull audit observations/trust-audit/mcp-server/1yhy__figma-context-1.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 348514dfb02a | CAUTION | C | 70 | first audit |
Questions
What tools does Figma Context expose?
2 in total: 2 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Figma Context safe to connect to an agent?
With care. The audit graded it C (70/100) and found 14 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Figma Context need?
It reads FIGMA_API_KEY and TEST_FIGMA_FILE_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Figma Context run?
It speaks sse and stdio, so it runs as a local process your client starts. It is published on npm as @yhy2001/figma-mcp-server at 1.1.0.
How current is this page?
The grade is for one exact copy of the source (348514dfb02a), read on 2026-10-08. The repository is watched and re-audited when it changes.