figma-design-system-mcp
Works alongside Figma's MCP server: takes Figma MCP outputs (get_metadata XML, get_design_context code/Markdown, get_variable_defs token maps, or structured JSON) and turns them into component specification Markdown drafts, flagging missing sections as TODOs. Can also optionally fetch Figma nodes via the Figma REST API using a personal access token, list the resulting specs, validate them, and produce implementation briefs from them.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
figma-design-system-mcp
An MCP server that works alongside Figma’s MCP to produce component specification Markdown and help AI agents understand and build components. Run both servers together: Figma MCP reads the canvas; this server turns that context into durable specs, token lookups, validation gates and implementation briefs.
Why / the component-spec mindset
One Markdown file per component is the shared contract for designers, developers, content writers and AI tools. Specs are the source of truth; Figma is an input; code is an output. Prefer a TODO over an invented value. See docs/component-spec-mindset.md.
Related MCP server: systembridge-mcp
Tools
Tool | Read-only | Description |
| yes | List specs (id, name, status, category, summary) |
| yes | Full Markdown, or one named section |
| yes | Filter tokens by role / component / category / prefix |
| yes | Empty standard-format draft for a new name |
| yes | Figma MCP outputs (JSON, |
| yes | Section, front matter, token, state, a11y, content gates |
| yes | Spec → props, states, tokens, tests, acceptance |
| no | Write Markdown into |
Resources: spec://format, spec://tokens, spec://{id} (e.g. spec://button).
Prompts:
spec-from-figma— optional argumentcomponentbuild-component-from-spec— requiredid, optionalframework
Quick start
Clone and run locally:
git clone https://github.com/mfaizanatiq/figma-design-system-mcp.git
cd figma-design-system-mcp
npm install
npm run build
node dist/index.jsOr, once the package is on npm:
npx -y figma-design-system-mcpPoint your MCP client at the bin over stdio (see examples below).
Configuration
Variable | Required | Description |
| no | Folder with |
| no | Figma personal access token for optional REST node fetch. |
Copy .env.example. Never commit .env.
JSON MCP configs cannot hold comments: the /absolute/path/to/your/design-system value in the examples below is a placeholder — replace it, or remove DS_SPEC_ROOT so the server uses the bundled specs/ and tokens/. Leaving the placeholder as-is points at a missing folder and yields empty component lists.
Cursor + Claude Desktop (alongside Figma MCP)
Cursor — merge with your MCP config (see examples/cursor-mcp.json):
{
"mcpServers": {
"figma": {
"type": "http",
"url": "https://mcp.figma.com/mcp"
},
"figma-design-system-mcp": {
"command": "npx",
"args": ["-y", "figma-design-system-mcp"],
"env": {
"DS_SPEC_ROOT": "/absolute/path/to/your/design-system",
"FIGMA_TOKEN": ""
}
}
}
}Claude Desktop — merge into claude_desktop_config.json (see examples/claude_desktop_config.json):
{
"mcpServers": {
"figma": {
"command": "npx",
"args": ["-y", "figma-developer-mcp", "--stdio"],
"env": { "FIGMA_API_KEY": "" }
},
"figma-design-system-mcp": {
"command": "npx",
"args": ["-y", "figma-design-system-mcp"],
"env": {
"DS_SPEC_ROOT": "/absolute/path/to/your/design-system",
"FIGMA_TOKEN": ""
}
}
}
}For local development, replace the npx command with node and args: ["/absolute/path/to/figma-design-system-mcp/dist/index.js"].
Example prompts
“Using Figma MCP: call
get_metadata,get_design_context, andget_variable_defson the selection, thengenerate_spec_from_figmawith thatcontext(andvariables). Pass the returnedmarkdowntovalidate_spec.”“Run the
spec-from-figmaprompt withcomponentset to Button.”“Run
build-component-from-specwithidbuttonandframeworkreact.”“List components, get the Button spec’s Accessibility section, then give me a React implementation brief.”
“Scaffold a spec for Search field, fill Token bindings from
get_tokens_by_role, validate, then write it.”
Spec format summary
Required H2 sections in order: Purpose → Anatomy → Variants and props → States → Token bindings → Content rules → Accessibility → Code mapping → Acceptance criteria.
Front matter must include library, component, componentVersion, specRevision, updated, status, category, summary. Full rules: docs/spec-format.md.
Bundled examples: Button, Text field, Checkbox, Card, Dialog under specs/, with a neutral token set in tokens/base.json.
Architecture / extending
Pluggable sources: LocalSource for disk Markdown + W3C-style tokens; FigmaSource to normalise Figma MCP outputs — structured JSON, get_metadata XML, get_design_context code/markdown, MCP text envelopes, and get_variable_defs maps (and optionally fetch via REST). Add Storybook or Tokens Studio adapters behind the same Source interface. Details: docs/architecture.md and docs/using-with-figma-mcp.md.
Scripts
npm run build # tsc → dist/
npm run typecheck
npm test # vitest
npm run smoke # stdio tools/list + one tool callContributing
Issues and pull requests welcome. Keep docs in British English (write “colour” in prose; keep color in token names). Do not commit secrets. Add tests for parser, validator, generator and brief changes.
Licence
MIT — see LICENSE.
Author
Mohammad Faizan Atiq, Design Systems Lead · mfaizanatiq.com
AI-native design systems leader focused on component specs that designers, developers, content and AI tools all build from.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
The Figma MCP server brings Figma design context directly into your AI workflow.
Design canvas for agents: create, edit, render and export Figma-shaped designs over MCP.
Turn PRDs and product ideas into structured specs so coding agents build your intent, not theirs.
Serves your design system and coding standards to coding agents, so they stop guessing.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server that exposes your design system components and tokens to AI agents, preventing duplicate component creation and hardcoded token values.13 npm9MIT
- AlicenseAqualityDmaintenanceMCP server that gives LLMs deep knowledge of design systems and tokens, enabling intelligent design evolution, token analysis, and designer-to-developer handoffs.376 npm2MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to read and write Figma designs through a local WebSocket relay, turning Figma selections into framework-aware code and building/editing designs directly on the canvas. Provides 112 MCP tools for bidirectional design-code workflows with support for any MCP client.MIT

Figma MCP Serverofficial
FlicenseNot gradedqualityBmaintenanceProvides Figma design context to AI agents, enabling code generation, design system integration, and canvas manipulation through MCP.2,252-