
A Model Context Protocol server for Figma API integration. This package provides a set of tools to
A Model Context Protocol server for Figma API integration. This package provides a set of tools to interact with the Figma API through the Model Context Protocol.
·
A Model Context Protocol server for Figma API integration. This package provides a set of tools to interact with the Figma API through the Model Context Protocol.
Note: This package was implemented by Cline, an open-source CLI tool for Claude AI. All code in this repository was written by Claude through Cline.
npm install -g @hapins/figma-mcpGet your Figma access token:
Run the server:
# Using environment variable
FIGMA_ACCESS_TOKEN=your-token npx @hapins/figma-mcp
# Or using config file
npx @hapins/figma-mcp --config=config.jsonExample config.json:
{
"mcpServers": {
"figma": {
"command": "npx",
"args": ["-y", "@hapins/figma-mcp"],
"env": {
"FIGMA_ACCESS_TOKEN": "your-figma-access-token"
}
}
}
}npm install -g @hapins/figma-mcp~/.config/cline/settings.json or platform equivalent):{
"mcpServers": {
"figma": {
"command": "npx",
"args": ["@hapins/figma-mcp"],
"env": {
"FIGMA_ACCESS_TOKEN": "your-figma-access-token"
}
}
}
}Add the following to your Claude Desktop settings file:
{
"mcpServers": {
"figma": {
"command": "npx",
"args": ["@hapins/figma-mcp"],
"env": {
"FIGMA_ACCESS_TOKEN": "your-figma-access-token"
}
}
}
}The server provides the following tools through the Model Context Protocol:
list_files: List files in a project or team
project_id: (optional) Project ID to list files fromteam_id: (optional) Team ID to list files fromget_file_versions: Get version history of a file
file_key: (required) Figma file keyget_file_comments: Get comments on a file
file_key: (required) Figma file keyget_file_info: Get detailed file information
file_key: (required) Figma file keydepth: (optional) Maximum depth to traverse the node tree (1-4 recommended)node_id: (optional) ID of a specific node to fetchget_components: Get components from a file
file_key: (required) Figma file keyget_styles: Get styles from a file
file_key: (required) Figma file keyget_file_nodes: Get specific nodes from a file
file_key: (required) Figma file keyids: (required) Array of node IDs to retrieveFIGMA_ACCESS_TOKEN: Your Figma access token (required)# Install dependencies
npm install
# Build the package
npm run build
# Watch mode
npm run watch
# Run tests
npm testMIT
Contributions are welcome! Please feel free to submit a Pull Request.
Pick your client and paste the snippet. Each one is the same server, written the way that client expects it.
claude mcp add figma -- npx -y @hapins/figma-mcp{
"mcpServers": {
"figma": {
"env": {
"FIGMA_ACCESS_TOKEN": ""
},
"args": [
"-y",
"@hapins/figma-mcp"
],
"command": "npx"
}
}
}code --add-mcp '{"name":"figma","env":{"FIGMA_ACCESS_TOKEN":""},"args":["-y","@hapins/figma-mcp"],"command":"npx"}'[mcp_servers.figma]
command = "npx"
args = ["-y", "@hapins/figma-mcp"]Runs locally on your device. Your client starts the server itself, so nothing has to be hosted.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/figma-mcp to learn what the "Figma Mcp" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
npx @hapins/figma-mcp --config=config.jsonnpm install -g @hapins/figma-mcpThis server runs locally, so we can't read its tool list over the web yet.
We could not run this server: its npm package has not answered in our offline sandbox, which usually means it needs an API key or other configuration to start. The four checks that need a live server are left out, and the grade tops out at B until we can read its tools.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/figma-mcp)Nothing comparable is listed yet.
No tagged releases on record.
Connect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "figma-mcp" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.