Atlas / MCP servers / 1yhy / Figma Context

Figma ContextCAUTION

mcp/1yhy/figma-context-1
Verdict
CAUTION
Grade
C
Trust score
70 /100
Exposed tools
2 2r · 0w · 0d
Transport
sse · stdio
License
MIT
Stars
31
01

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
Read from source at commit 348514dfb02aOBSERVED · 2026-10-08
02

Connect

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-code
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]
claude-desktop
{
  "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}"
      }
    }
  }
}
03

Exposed tools (2)

2 read · 0 write · 0 destructive.

ToolRiskDescription
download_figma_imagesreadDownload SVG and PNG images from a Figma file.
get_figma_datareadGet layout and style information from a Figma file or specific node.
04

Trust audit

CAUTIONgrade C · trust 70/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (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)

MEDIUMHard-coded secrets · secret.aws · CWE-798, CWE-321
tests/fixtures/expected/node-240-32163-optimized.json:4
"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
MEDIUMHard-coded secrets · secret.aws · CWE-798, CWE-321
tests/fixtures/expected/node-402-34955-optimized.json:4
"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
MEDIUMHard-coded secrets · secret.aws · CWE-798, CWE-321
tests/fixtures/expected/real-node-data-optimized.json:4
"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
MEDIUMHard-coded secrets · secret.aws · CWE-798, CWE-321
tests/fixtures/figma-data/node-240-32163.json:4
"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
MEDIUMHard-coded secrets · secret.aws · CWE-798, CWE-321
tests/fixtures/figma-data/node-402-34955.json:4
"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
LOWInventory / provenance · inv.hidden_file · CWE-1104
.lintstagedrc.json
.lintstagedrc.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
tests/utils/preview.ts:46
exec(`${openCommand} "${viewerPath}"`, (error) => {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
src/services/cache/disk-cache.ts:69
return crypto.createHash("md5").update(keyString).digest("hex");
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
src/services/cache/disk-cache.ts:77
return crypto.createHash("md5").update(keyString).digest("hex");
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/unit/algorithms/icon.test.ts:21
const fixturesPath = path.join(__dirname, "../../fixtures");
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/unit/algorithms/layout.test.ts:35
const fixturesPath = path.join(__dirname, "../../fixtures");
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/utils/preview.ts:11
import { parseFigmaResponse } from "../../src/services/simplify-node-response.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/utils/run-simplification.ts:8
import { parseFigmaResponse } from "../../src/services/simplify-node-response.js";
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, cross-env, dotenv, express, remeda, yargs, zod, @commitlint/cli
Why it matters. 27 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 348514dfb02afull audit observations/trust-audit/mcp-server/1yhy__figma-context-1.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08348514dfb02aCAUTIONC70first audit
06

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.

Advertisement