mhmzdev/figma-flutter-mcp
An MCP server that provides the coding agents Figma's design token to write Flutter code.
175c0427eca8figma-flutter-mcp0.3.3 in package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 23 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
Top risks in plain words
- HIGHTools
export_flutter_assets,export_svg_flutter_assetsread or write any file path by design: an agent steered by prompt injection can use them that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
export_flutter_assets,export_svg_flutter_assetscan read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
export_flutter_assets,export_svg_flutter_assets, switch them off. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 13 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
analyze_figma_component, analyze_full_screen, export_flutter_assets, export_svg_flutter_assetsNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
4 request addresses could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses4 tools · analyze_figma_component, analyze_full_screen, export_flutter_assets +1
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (13: 13 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
export_flutter_assetstool Export images from Figma nodes and set up Flutter assets directory with pubspec.yamlNetworkoutside textReads/writes files
Export images from Figma nodes and set up Flutter assets directory with pubspec.yaml
export_svg_flutter_assetstool Export SVG assets from Figma nodes. Detects SVG content by analyzing vector percentage - nodes with >30% vector content are considered SVG assets. Handles nesteNetworkoutside textReads/writes files
Export SVG assets from Figma nodes. Detects SVG content by analyzing vector percentage - nodes with >30% vector content are considered SVG assets. Handles nested GROUP/FRAME structures with mixed content.
analyze_figma_componenttool Analyze a Figma component or component set to extract layout, styling, and structure information for Flutter widget creation. Use analyze_full_screen for compleNetworkoutside text
Analyze a Figma component or component set to extract layout, styling, and structure information for Flutter widget creation. Use analyze_full_screen for complete screen layouts.
analyze_full_screentool Analyze a complete Figma screen/frame to extract layout, sections, navigation, and structure information for Flutter screen implementationNetworkoutside text
Analyze a complete Figma screen/frame to extract layout, sections, navigation, and structure information for Flutter screen implementation
extract_theme_colorstool Extract colors from a Figma theme frame containing color swatches with labels
Extract colors from a Figma theme frame containing color swatches with labels
extract_theme_typographytool Extract typography styles from a Figma theme frame containing text samples with different styles
Extract typography styles from a Figma theme frame containing text samples with different styles
generate_flutter_implementationtool Generate complete Flutter widget code using cached style definitions
Generate complete Flutter widget code using cached style definitions
inspect_component_structuretool Get a quick overview of component structure, children, and nested components. Use inspect_screen_structure for full screens.
Get a quick overview of component structure, children, and nested components. Use inspect_screen_structure for full screens.
inspect_screen_structuretool Get a quick overview of screen structure, sections, and navigation elements
Get a quick overview of screen structure, sections, and navigation elements
inspect_theme_frametool Inspect the structure of a theme frame to understand its contents before extraction
Inspect the structure of a theme frame to understand its contents before extraction
inspect_typography_frametool Inspect the structure of a typography frame to understand its text contents before extraction
Inspect the structure of a typography frame to understand its text contents before extraction
list_component_variantstool List all variants in a Figma component set to help with variant selection
List all variants in a Figma component set to help with variant selection
style_library_statustool Get comprehensive status report of the cached style library
Get comprehensive status report of the cached style library
Text the model reads (13)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
export_flutter_assets tool
Export images from Figma nodes and set up Flutter assets directory with pubspec.yaml
export_svg_flutter_assets tool
Export SVG assets from Figma nodes. Detects SVG content by analyzing vector percentage - nodes with >30% vector content are considered SVG assets. Handles nested GROUP/FRAME structures with mixed content.
analyze_figma_component tool
Analyze a Figma component or component set to extract layout, styling, and structure information for Flutter widget creation. Use analyze_full_screen for complete screen layouts.
list_component_variants tool
List all variants in a Figma component set to help with variant selection
inspect_component_structure tool
Get a quick overview of component structure, children, and nested components. Use inspect_screen_structure for full screens.
generate_flutter_implementation tool
Generate complete Flutter widget code using cached style definitions
style_library_status tool
Get comprehensive status report of the cached style library
analyze_full_screen tool
Analyze a complete Figma screen/frame to extract layout, sections, navigation, and structure information for Flutter screen implementation
inspect_screen_structure tool
Get a quick overview of screen structure, sections, and navigation elements
extract_theme_colors tool
Extract colors from a Figma theme frame containing color swatches with labels
inspect_theme_frame tool
Inspect the structure of a theme frame to understand its contents before extraction
extract_theme_typography tool
Extract typography styles from a Figma theme frame containing text samples with different styles
inspect_typography_frame tool
Inspect the structure of a typography frame to understand its text contents before extraction
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file path3 findings the scanner could not decide; see the findings below
- Requests any addressNo tool sends a request to an address the caller supplies — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 13 capabilities; 13 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 13 capabilities; 13 more call code the scanner could not follow, where it may happen
- Tools that call the network4 of 13 capabilities call the network; 9 more call code the scanner could not follow, where it may happen
Where the code is: 13 handlers in 6 files at commit 175c0427eca8
src/tools/flutter/assets/assets.tsexport_flutter_assetssrc/tools/flutter/assets/svg-assets.tsexport_svg_flutter_assetssrc/tools/flutter/components/component-tool.tsanalyze_figma_component, list_component_variants, inspect_component_structure, generate_flutter_implementation, style_library_statussrc/tools/flutter/screens/screen-tool.tsanalyze_full_screen, inspect_screen_structuresrc/tools/flutter/theme/colors/theme-tool.tsextract_theme_colors, inspect_theme_framesrc/tools/flutter/theme/typography/typography-tool.tsextract_theme_typography, inspect_typography_frame
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: package.json
- Lockfiles checked against OSVNothing could be resolved to exact versions; 1 not resolved: package.json: dependency ranges declared here were not resolved against a lockfile and were not checked
- MCP SDK version@modelcontextprotocol/sdk ^1.0.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 13 capabilities; 13 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.0.0 |
| Servers in the code | 1 (figma-flutter-mcp) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-02-27 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | MIT |
| Created | 2025-08-20 |
| Topics | design figma figma-flutter-mcp flutter mcp |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.