Figma MCP Server
An MCP server for interacting with the Figma API. Manage files, comments, components, projects, and more.
Figma MCP Server
A Model Context Protocol (MCP) server that provides integration with Figma's API, allowing you to interact with Figma files, comments, components, and more.
Features
-
File Operations
- Get file information
- Get file version history
- Get file components
-
Comment Management
- List comments in files
- Add new comments
- Delete comments
-
Project & Team Features
- List team projects
- Get project files
- Get published styles
-
Webhook Management
- Create webhooks
- List existing webhooks
- Delete webhooks
Installation
Installing via Smithery
To install Figma MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @deepsuthar496/figma-mcp-server --client claude
Manual Installation
- Clone the repository
- Install dependencies:
npm install
- Build the server:
npm run build
Configuration
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": []
}
}
}
Available Tools
File Operations
get_file
Get information about a Figma file
{
"file_key": "string"
}
get_file_versions
Get version history of a file
{
"file_key": "string"
}
get_file_components
Get components in a file
{
"file_key": "string"
}
Comment Management
get_file_comments
Get comments from a file
{
"file_key": "string"
}
post_comment
Post a comment to a file
{
"file_key": "string",
"message": "string"
}
delete_comment
Delete a comment from a file
{
"file_key": "string",
"comment_id": "string"
}
Project & Team Operations
get_team_projects
Get projects for a team
{
"team_id": "string"
}
get_project_files
Get files in a project
{
"project_id": "string"
}
get_component_styles
Get published styles
{
"team_id": "string"
}
Webhook Management
create_webhook
Create a webhook
{
"team_id": "string",
"event_type": "string",
"callback_url": "string"
}
get_webhooks
List webhooks
{
"team_id": "string"
}
delete_webhook
Delete a webhook
{
"webhook_id": "string"
}
Usage Example
// 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>
License
MIT
Contributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
Máy chủ liên quan
Alpha Vantage MCP Server
nhà tài trợAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Airflow MCP Server
MCP server for Airflow
PHP MCP Server
A server-side implementation of the Model Context Protocol (MCP) for PHP applications, allowing exposure of application parts as standardized MCP Tools, Resources, and Prompts.
Thirdweb
Read/write to over 2k blockchains, enabling data querying, contract analysis/deployment, and transaction execution, powered by Thirdweb.
Frappe MCP Server
An MCP server for the Frappe Framework, enabling AI assistants to interact with Frappe's REST API for document management and schema operations.
AgentOps MCP
An MCP server for AgentOps, providing observability and evaluation tools for AI agents.
MCP LLaMA
An MCP server with weather tools and LLaMA integration.
PromptOT
Manage, version, and publish LLM prompts via PromptOT. Build structured prompts from blocks, add variables, save drafts, publish versions, and deliver via API — all from chat.
Figma Context MCP
Provides Figma layout information to AI coding agents like Cursor.
MCP Hot-Reload
A Hot Module Replacement (HMR) proxy server for MCP servers that automatically restarts on file changes, buffers messages, and manages connections.
DevBrain
Finds relevant code snippets, developer articles, and blog posts based on your queries.