
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@imazhar101/mcp-figma-server
Advanced tools
A Model Context Protocol (MCP) server that provides tools for interacting with the Figma API. This server enables you to retrieve files, components, styles, comments, and more from your Figma workspace.
Clone or download this server
Install dependencies:
npm install
Build the server:
npm run build
Get your Figma Personal Access Token:
Set the environment variable:
export FIGMA_ACCESS_TOKEN="your_figma_token_here"
Add this server to your MCP settings:
{
"mcpServers": {
"figma": {
"command": "node",
"args": ["/path/to/figma-server/build/index.js"],
"env": {
"FIGMA_ACCESS_TOKEN": "your_figma_token_here"
}
}
}
}
{
"name": "get_file",
"arguments": {
"file_key": "ABC123DEF456"
}
}
{
"name": "get_images",
"arguments": {
"file_key": "ABC123DEF456",
"ids": "1:2,1:3",
"format": "png",
"scale": 2
}
}
{
"name": "post_comment",
"arguments": {
"file_key": "ABC123DEF456",
"message": "This looks great!",
"client_meta": {
"x": 100,
"y": 200,
"node_id": "1:2"
}
}
}
{
"name": "get_team_components",
"arguments": {
"team_id": "123456789",
"page_size": 50
}
}
The file key is found in the Figma URL:
https://www.figma.com/file/ABC123DEF456/My-Design-File
The file key is ABC123DEF456
node-id=
https://www.figma.com/files/team/123456789/
This server implements the Figma REST API v1. For detailed information about request/response formats, see the official Figma API documentation.
The server provides detailed error messages for common issues:
npm run build
npm run watch
npm run inspector
This project is licensed under the MIT License.
FAQs
Figma MCP server for design file management and API integration
The npm package @imazhar101/mcp-figma-server receives a total of 1 weekly downloads. As such, @imazhar101/mcp-figma-server popularity was classified as not popular.
We found that @imazhar101/mcp-figma-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.