// SLIDE 01 — HOOK

CHAPTER 13 — THE FIGMA MCP SERVER

Model Context Protocol is an open standard for connecting AI coding agents to external data sources and tools. It define

Chapter 13 — The Figma MCP Server — The correct mental model is this: MCP is a structured context layer, not a code generator. The agent generates code. MCP
NARRATION

Model Context Protocol is an open standard for connecting AI coding agents to external data sources and tools. It defines how a host application , Claude Code, Cursor, Windsurf, Copilot , can communicate with a server that exposes resources, tools, and prompts in a structured way. The Figma MCP server sits between your AI coding agent and your Figma file. When the agent needs to know about a component, the server fetches structured information from Figma and provides it as context.

// SLIDE 02 — CODE CONNECT: THE DIFFERENCE B

CODE CONNECT: THE DIFFERENCE BETWEEN SEEING AND KNOWING

Color values — Hardcoded hex (#2563EB) inferred from Figma style data
Library usage — Inline styles or styled-components guessed from context
Prop names — Inferred from variant label text — type="primary", variant="blue"
Prop values — Guessed from Figma variant name casing — "Primary", "MEDIUM"
NARRATION

The clearest way to understand what MCP actually changes is to run the same component request twice , once with Code Connect published for the target component, once without. Request in both cases: "Generate a React component for the Primary Button, medium size, with the label 'Save changes', using the design system."

// SLIDE 03 — PREREQUISITES

PREREQUISITES

The Figma MCP server requires Dev Mode. If you are on a Starter plan, you will encounter an authorization wall before th

Prerequisites — Before starting any MCP session, run figma-ping.js — introduced in Chapter 2 — against the file you intend to use:
NARRATION

The Figma MCP server requires Dev Mode. If you are on a Starter plan, you will encounter an authorization wall before the MCP server is reachable. That is a plan decision, not a configuration problem. Before starting any MCP session, run figma-ping.js , introduced in Chapter 2 , against the file you intend to use:

// SLIDE 04 — SETUP

SETUP

The specific steps documented here are current as of writing. MCP is evolving rapidly. Verify the current setup process

Setup — The Figma MCP server can run locally — as a process on your machine — or remotely as a hosted service. For most design s
NARRATION

The specific steps documented here are current as of writing. MCP is evolving rapidly. Verify the current setup process at the Figma help documentation before following them. The Figma MCP server can run locally , as a process on your machine , or remotely as a hosted service. For most design systems work involving proprietary design files, unreleased products, or sensitive brand specifications, the local server is the appropriate choice. The remote server introduces network transmission of design data; verify your organization's data governance policy before using it.

// SLIDE 05 — THE GOVERNANCE FILE

THE GOVERNANCE FILE.

This is the most important section of the chapter. The MCP server gives the agent access to structured design informatio

The Governance File — Without a governance file, the agent's behavior during an MCP session is bounded only by its general training and your p
NARRATION

This is the most important section of the chapter. The MCP server gives the agent access to structured design information. The governance file defines what the agent is authorized to do with that information. Without a governance file, the agent's behavior during an MCP session is bounded only by its general training and your prompts. With one, it is bounded by an explicit, reviewable, version-controlled specification of agent authority , one the whole team can read, debate, and update. The governance file is not bureaucracy.

// SLIDE 06 — WHAT THE AGENT MUST REFUSE OR

WHAT THE AGENT MUST REFUSE OR ESCALATE

·Hardcoded color values (always use tokens)
·Hardcoded spacing values not in the defined scale
·Imports from libraries other than @acme/components
·New component variants not documented in the Figma file
·Any component from WIP or Explorations pages
NARRATION

REFUSE without human instruction: Hardcoded color values (always use tokens) Hardcoded spacing values not in the defined scale Imports from libraries other than @acme/components New component variants not documented in the Figma file Any component from WIP or Explorations pages ESCALATE if: A component has no Code Connect mapping (flag, do not infer props) A token has conflicting values across modes (flag, do not resolve) The description field is empty and intent is ambiguous (flag, do not guess) A requested component does not exist in the published library

// SLIDE 07 — VERSION

VERSION

Governance version: 1.2 Review cycle: On every major design system release

Version — Figure 13.2 — Agent decision tree: component without Code Connect
NARRATION

Governance version: 1.2 Review cycle: On every major design system release Figure 13.2 , Agent decision tree: component without Code Connect

// SLIDE 08 — GENERATE THE CONTEXT PACKAGE B

GENERATE THE CONTEXT PACKAGE BEFORE THE MCP SESSION.

·.figma-context/mcp-check.md (session preflight and Code Connect coverage)
·.figma-context/spec.json (machine-readable component specifications)
·.figma-context/tokens.json (current token values)
·FIGMA.md (what you are authorized to do)
NARRATION

node figma-audit.js --output json > .figma-context/audit.json node build-spec.mjs --output json > .figma-context/spec.json node extract-tokens.mjs --output json > .figma-context/tokens.json node figma-audit.js --mcp-check > .figma-context/mcp-check.md Before generating any code, read: .figma-context/mcp-check.md (session preflight and Code Connect coverage) .figma-context/spec.json (machine-readable component specifications) .figma-context/tokens.json (current token values) FIGMA.md (what you are authorized to do)

// SLIDE 09 — FAILURE MODES

FAILURE MODES

Large frame timeouts.Rate limit exhaustion.Missing Code Connect mappings.Write-to-canvas instability.Stale governance files.
NARRATION

Large frame timeouts. Requesting context for a full-page layout, a dense dashboard, or a deeply nested modal can exceed the MCP server's response time threshold. The symptom is the agent reporting that the context request timed out or returned incomplete data. The remediation is to work at the component level, not the page level. If page-level context is necessary, use build-spec.mjs to generate a pre-processed specification rather than real-time MCP retrieval. Rate limit exhaustion. MCP sessions make API requests through your personal access token.

// SLIDE 10 — WHEN MCP IS NOT AVAILABLE

WHEN MCP IS NOT AVAILABLE.

Not every team has Dev Mode access. Not every file is ready for live agent sessions. Not every project justifies the set

When MCP Is Not Available — The work from Chapters 8 through 12 — token extraction, asset export, documentation sync, compliance monitoring, machine
NARRATION

Not every team has Dev Mode access. Not every file is ready for live agent sessions. Not every project justifies the setup overhead. The work from Chapters 8 through 12 , token extraction, asset export, documentation sync, compliance monitoring, machine-readable specification , produces most of the value that MCP promises, on any plan, without requiring a live server connection. The agent can read tokens.json, spec.json, and audit.json from the filesystem as static context files. The governance file still applies. The human gate still applies.

// SLIDE 11 — THE CONTEXT THAT MADE THIS NEC

THE CONTEXT THAT MADE THIS NECESSARY.

LLM ExercisesGenerate and examine.Apply to known context.Stress-test a specific claim.Draft or audit a professional deliverable.
NARRATION

MCP was introduced as an open standard by Anthropic in November 2024. Within months, Figma, GitHub, Slack, and dozens of other platforms had shipped server implementations. The pattern represented a shift from bespoke, proprietary AI integrations to a common protocol that any agent and any server could use to exchange structured context. The earliest Figma MCP integrations were simple: retrieve a frame, get style data, pass it to the agent.

// SLIDE 12 — THESIS

THE CORE CLAIM.

MCP was introduced as an open standard by Anthropic in November 2024. Within months, Figma, GitHub, Slack, and dozens of

The earliest Figma MCP integrations were simple: retrieve a frame, get style data, pass it to the agent. What made the c

NARRATION

MCP was introduced as an open standard by Anthropic in November 2024. Within months, Figma, GitHub, Slack, and dozens of other platforms had shipped server implementations. The pattern represented a shift from bespoke, proprietary AI integrations to a common protocol that any agent and any server could use to exchange structured context. The earliest Figma MCP integrations were simple: retrieve a frame, get style data, pass it to the agent.

// SLIDE 13 — CLOSE

ASK THE QUESTION. APPLY THE FRAMEWORK.

CODE CONNECT: THE DIFFERE//PREREQUISITES//SETUP

Brutalist Figma + Claude · Ch.13 · Chapter 13 — The Figma MCP Server

NARRATION

That is the framework. Brutalist Figma + Claude, chapter 13: Chapter 13 , The Figma MCP Server. The patterns are now in place. Apply them.

01 / 13
Brutalist Figma + Claude · Ch.13 · Nik Bear Brown