figma mcp server
A Model Context Protocol server that integrates with Figma's API, allowing interaction with Figma files, comments, components, projects, and webhook management.
A Model Context Protocol server that integrates with Figma's API, allowing interaction with Figma files, comments, components, projects, and webhook management.
A Model Context Protocol (MCP) server that provides integration with Figma's API, allowing you to interact with Figma files, comments, components, and more.
Get file components
Comment Management
Delete comments
Project & Team Features
Get published styles
Webhook Management
npm install
npm run build
Configure the server in your MCP settings file with your Figma access token:
{
"mcpServers": {
"figma": {
"command": "node",
"args": ["path/to/figma-server/build/index.js"],
"env": {
"FIGMA_ACCESS_TOKEN": "your-access-token-here"
},
"disabled": false,
"alwaysAllow": []
}
}
}
Get information about a Figma file
{
"file_key": "string"
}
Get version history of a file
{
"file_key": "string"
}
Get components in a file
{
"file_key": "string"
}
Get comments from a file
{
"file_key": "string"
}
Post a comment to a file
{
"file_key": "string",
"message": "string"
}
Delete a comment from a file
{
"file_key": "string",
"comment_id": "string"
}
Get projects for a team
{
"team_id": "string"
}
Get files in a project
{
"project_id": "string"
}
Get published styles
{
"team_id": "string"
}
Create a webhook
{
"team_id": "string",
"event_type": "string",
"callback_url": "string"
}
List webhooks
{
"team_id": "string"
}
Delete a webhook
{
"webhook_id": "string"
}
// Example using the MCP tool to get file information
<use_mcp_tool>
<server_name>figma</server_name>
<tool_name>get_file</tool_name>
<arguments>
{
"file_key": "your-file-key"
}
</arguments>
</use_mcp_tool>
MIT