Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

io.github.abolfazl-moeini/figcp

Latest version: v0.2.2

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
MCP server Transport: stdio Publisher: abolfazl-moeini
0 Stars
0 Forks
1 Versions
TypeScript Repo language

Scan summary

io.github.abolfazl-moeini/figcp was last scanned on 26 Nov 2026 at version 0.2.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 26 Nov 2026.
  • Findings: No rules fired in version 0.2.2.
  • MCP server: Runs over stdio.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.2 LATEST 26 Nov 2026 No rules fired

No rules fired in 0.2.2

Findings

Findings for v0.2.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

figcp

TL;DR: Local-first, zero-quota, bidirectional Figma Desktop Plugin + MCP stdio bridge. Lets AI coding agents create components, verify RTL layouts, export design context and assets, and link to existing code directly inside Figma Desktop (100% Free/Starter plan compatible, local OS fonts like IRANSansXFaNum supported, zero Figma PAT/REST API needed).


Why figcp?

Most Figma MCP servers rely on the Figma REST API — which makes them read-only, subject to strict rate limits, blind to local OS fonts, and locked behind paid Enterprise plans for Variables and Code Connect. figcp runs inside Figma Desktop over a local loopback bridge:

Capability Typical REST API MCP figcp
100% Free / Starter Plan Compatible (Zero PAT / Quota) ❌ ✅
Truly Bidirectional (AI → Figma + Figma → Code) ❌ (Read-only) ✅
Deterministic Layout/Token Linter + Screenshot Self-Healing ❌ ✅
Local OS Fonts & RTL/Persian Bidi Verification ❌ ✅
Local Code Connect (figcp.map.json) without Enterprise ❌ ✅
Zero-Quota SVG/PNG Asset & W3C DTCG Token Export ⚠️ Rate-limited ✅
  • 100% Free & Zero REST API / PAT: Works natively on the Figma Starter (Free) Plan with zero rate limits or API tokens.
  • Truly Bidirectional (AI ↔ Code):
    • AI → Figma: Create/edit components via run_figma_js, catch overflow/overlap/unbound-token/RTL bugs via inspect_node_bounds, inspect inline PNG screenshots, and self-heal (or figma_undo).
    • Figma → Code: Extract Flexbox CSS & bound tokens via get_design_context, export SVG/PNG assets via export_node_assets, export W3C DTCG tokens, and verify rendered DOM/visual parity with ui-level.
  • Local OS Fonts & RTL Support: Uses fonts installed on your macOS/Windows machine (e.g., IRANSansXFaNum, Vazirmatn) directly inside Figma Desktop.
  • Local Code Connect (figcp.map.json): Map Figma components directly to your codebase components so agents reuse existing UI instead of duplicating it.

Requirements

  • Node.js >= 22.0.0
  • Figma Desktop

Quick Start

Option A: Install from npm (Recommended)
npm install -g figcp
figcp --setup
figcp --doctor

Or without global install:

npx -y figcp --setup
Option B: From Source
npm install
npm run build
npm run setup     # or: node packages/server/dist/index.js --setup
npm run doctor    # verify local environment and bridge health
  1. In Figma Desktop, open your document and go to Plugins → Development → Import plugin from manifest...
  2. Select ~/.figcp/plugin/manifest.json (run node packages/server/dist/index.js --print-path to copy the path).
  3. Run the figcp plugin in Figma Desktop and restart your MCP client.

npm run setup installs the plugin with a baked loopback token (~/.figcp/token), installs SKILL.md, and registers figcp in your MCP clients (with automatic .figcp.bak backups):

  • Cursor: ~/.cursor/mcp.json
  • Antigravity: ~/.gemini/antigravity/mcp_config.json
  • Claude Code: ~/.claude.json (configured only if Claude Code is present)
  • Codex CLI: ~/.codex/config.toml (configured only if Codex CLI is present)
  • OpenCode: ~/.config/opencode/opencode.json

MCP Tools (7 Focused Tools)

Tool Pipeline Purpose
figma_status Core Checks bridge health, role, connected Figma files, and tracks manual canvas edits (manualChanges).
inspect_design_system 1 & 2 Reads Local Variables (resolved hex & aliases), Styles, Components, local fonts (fontQuery), or exports W3C DTCG tokens (format: "dtcg").
run_figma_js 1 Executes arbitrary Figma Plugin API JS in a serial queue with figma and helpers in scope, captures console/errors, and checkpoints undo.
inspect_node_bounds 1 Inspects node geometry, Auto Layout, bound tokens, deterministic DS/RTL linter issues, and returns inline PNG screenshot.
figma_undo 1 Reverts the last checkpointed mutation (action: "undo") or saves a named restore point (action: "snapshot").
get_design_context 2 Extracts code-generation design context (computed CSS flexbox, fills, typography, shadows), matches figcp.map.json components, and optionally exports ui-level specs.
export_node_assets 2 Exports node vector/icons as clean SVG or raster imagery as PNG inline or to outputDir (zero REST API dependency).

Bidirectional Workflows

Pipeline 1: AI → Figma (Authoring & Closed-Loop Healing)
  1. Discover: Call inspect_design_system to find exact tokens and fonts.
  2. Build: Call run_figma_js using helpers.requireFont(...), helpers.setAutoLayout(...), and helpers.makeBoundPaint(...).
  3. Verify: Call inspect_node_bounds (includeScreenshot: true) to run deterministic linter checks and inspect visual RTL text rendering.
  4. Heal/Revert: Patch errors or call figma_undo.
Pipeline 2: Figma → Code (Context, Code Connect & Assets)
  1. Local Code Connect (figcp.map.json): Place a figcp.map.json in your project root to map Figma components to existing files:
    {
      "Button/Primary": { "file": "src/components/Button.tsx", "export": "Button" },
      "SearchBox": { "file": "src/components/SearchBox.tsx", "export": "SearchBox" }
    }
  2. Extract Context: Call get_design_context (pass workspaceDir if the MCP client runs outside your project root) to receive CSS properties, relative geometries, bound token names, and attached codeConnect hints.
  3. Export Assets: Call export_node_assets (format: "SVG", outputDir: "src/assets/icons").

Optional Add-Ons (All Off by Default, Zero Core Dependencies)

figcp core is 100% self-contained and requires zero heavy browser or native image dependencies. You can optionally pair it with:

  • ui-level (Visual & DOM Verification):
    • Published on npm: ui-level.
    • When enabled, get_design_context exports spec.json (NormalizedSpec) and reference.png ready for offline Playwright/CDP DOM geometry + CIEDE2000 ΔE verification.
    • Enable explicitly with: node packages/server/dist/index.js --setup --with-ui-level (or --enable-ui-level). To install globally from npm and configure all MCP clients automatically, run: node packages/server/dist/index.js --install-ui-level.
    • Use --no-prompt to skip interactive prompts during setup.
  • Terrazzo / Tokens Studio:
    • Export DTCG tokens via inspect_design_system({ format: "dtcg" }) and transform to Tailwind v4 / CSS variables with Terrazzo.
  • SVGO:
    • Clean and minify SVG assets exported via export_node_assets.

Development

npm run typecheck   # Strict TypeScript checks across all packages
npm test            # Run 50+ automated unit & E2E tests
npm run build       # Build plugin dist and server CLI bundle
npm run doctor      # Run local diagnostics

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.abolfazl-moeini/figcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229