figma-slides-mcp
MCP server for controlling Figma Slides — create, edit, and screenshot slides from any AI assistant that supports MCP.
README
@strand-ai/figma-slides-mcp
MCP server for controlling Figma Slides — create, edit, and screenshot slides from any AI assistant that supports MCP.
How It Works
AI Assistant ←MCP→ MCP Server ←WebSocket :3055→ Figma Plugin ←Plugin API→ Figma Slides
The MCP server communicates with a Figma plugin running inside your Figma Slides file. The plugin executes JavaScript in the Figma plugin sandbox and returns results.
Prerequisites
- Node.js 18+
- A Figma account with access to Figma Slides
Setup
1. Connect to your MCP client
<details open> <summary><strong>Claude Code</strong></summary>
claude mcp add figma-slides -- npx @strand-ai/figma-slides-mcp
Or add to your project's .mcp.json:
{
"mcpServers": {
"figma-slides": {
"command": "npx",
"args": ["@strand-ai/figma-slides-mcp"]
}
}
}
</details>
<details> <summary><strong>VS Code</strong></summary>
code --add-mcp '{"name":"figma-slides","command":"npx","args":["@strand-ai/figma-slides-mcp"]}'
</details>
<details> <summary><strong>Cursor</strong></summary>
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"figma-slides": {
"command": "npx",
"args": ["@strand-ai/figma-slides-mcp"]
}
}
}
</details>
<details> <summary><strong>Claude Desktop / Other MCP Clients</strong></summary>
Any MCP-compatible client can use @strand-ai/figma-slides-mcp:
{
"mcpServers": {
"figma-slides": {
"command": "npx",
"args": ["@strand-ai/figma-slides-mcp"]
}
}
}
</details>
2. Load the Figma plugin
- Download the latest plugin release and unzip it
- In Figma, open a Slides file
- Go to Plugins > Development > Import plugin from manifest...
- Select the
manifest.jsonfrom the unzipped folder - Run the plugin — it connects to the MCP server via WebSocket on port 3055
MCP Tools
execute
Run JavaScript in the Figma plugin sandbox. Has access to the full figma Plugin API plus these helpers:
| Helper | Description |
|---|---|
getSlide(index?) |
Get a slide by 0-based index (defaults to current slide) |
findSlides() |
Get all slides in the presentation |
serialize(node?) |
Serialize a node (or the whole page) to a JSON summary |
loadFont(family, style?) |
Load a font before setting text (style defaults to "Regular") |
screenshot_slide
Export a slide as PNG and return it as a base64 image.
Development
git clone https://github.com/Strand-AI/figma-slides-mcp.git
cd figma-slides-mcp
npm install
npm run build:mcp # Build MCP server + Figma plugin
npm run dev:mcp # Watch mode for MCP builds
License
MIT — see LICENSE.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.