A Go stdio MCP server that connects AI clients to a local Figma Desktop plugin over WebSocket, with no Figma API token required. It focuses on read-heavy design inspection, lightweight exports, and includes an Android SVG to VectorDrawable conversion helper runtime for Android workflows.
This repo contains two cooperating pieces:
- an MCP server for tools exposed over stdio
- a Figma Desktop plugin that talks to the server on
ws://127.0.0.1:1994by default
- Read-focused bridge from AI clients to live Figma documents
- No Figma REST API key required
- Local plugin connection over WebSocket
- 21 currently exposed tools for document inspection, metadata, search, exports, screenshots, and Android asset conversion
- Design token export support
- Screenshot export helpers, including direct file saves
- Android VectorDrawable conversion via
convert_svg_to_android_drawable - Go server with a bundled npm launcher package for MCP clients
- Node.js
>=18 - Figma Desktop
- Go
1.26.1+for server development - Bun for plugin development
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"figma-mcp-android": {
"type": "local",
"command": [
"npx",
"-y",
"@impeterwayne/figma-mcp-android@latest"
],
"enabled": true
}
}
}{
"mcpServers": {
"figma-mcp-android": {
"command": "npx",
"args": ["-y", "@impeterwayne/figma-mcp-android@latest"]
}
}
}If your client supports environment variables or custom command wrappers, keep the process local unless you fully trust the network you expose it to.
This server depends on the local plugin bridge.
- Download the latest
figma-plugin.zipfrom the releases page. - Extract the downloaded ZIP file to a local directory on your machine.
- Open Figma Desktop.
- Go to Plugins -> Development -> Import plugin from manifest....
- Select the
manifest.jsonfile inside the extracted directory. - Run the plugin in the file you want to inspect.
- Start your MCP client and connect through the configured
figma-mcp-androidserver.
The current server exposes 21 tools.
get_documentget_pagesget_metadataget_selectionget_nodeget_nodes_infoget_design_contextsearch_nodesscan_text_nodesscan_nodes_by_typesget_reactionsget_viewportget_fonts
get_stylesget_variable_defsget_local_componentsget_annotationsexport_tokens
get_screenshotsave_screenshotsconvert_svg_to_android_drawable
This project is primarily a read-focused Figma bridge. It is built for inspection, context gathering, screenshots, token export, and Android drawable conversion. It should not be described as full write access, and it does not expose 73 tools.
MIT. See LICENSE.