About Figma Augmentcode Integration
Figma Augmentcode Integration is an MCP server published by shedytee in the Developer Tools category: example integration of a Figma MCP server with Augment Code, using Node.js and figma-js.
The repository has 9 stars and 5 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/shedytee/mcp-figma-augmentcode-integrationThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Figma Augmentcode Integration
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
🚀 Figma MCP Server + Augment Code Integration
Easier option now available here: https://github.com/shedytee/Figma-MCP-Augment-Code-Guide-Local-HTTP-mode-/blob/main/README.md
This project shows how to connect a Model Context Protocol (MCP) server to the Figma API and integrate it with Augment Code to supercharge your development workflow.
✨ Features
✅ Builds an MCP server that:
- Queries Figma files
- Exposes Figma data to an MCP-compatible interface
- Integrates into Augment Code as a custom tool
✅ Uses:
📦 Setup Instructions
-
Clone the repository
git clone https://github.com/shedytee/mcp-figma-augmentcode-integration.git cd mcp-figma-augmentcode-integration -
Install dependencies
Install the required NPM packages:
npm install @modelcontextprotocol/sdk figma-js zod dotenv -
Configure environment variables
cp .env.example .envFill in:
FIGMA_TOKEN→ your Figma API tokenFIGMA_FILE_ID→ your Figma file IDMCP_PORT→ usually3000
-
Update
package.jsonIn your
package.json, add"type": "module"at the top level and astart:mcpscript under"scripts":{ "name": "mcp-figma-augmentcode-integration", "version": "1.0.0", + "type": "module", "scripts": { "start:mcp": "node figma-mcp-server.js" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.17.1", "figma-js": "^1.16.1-0", "zod": "^3.25.76", "dotenv": "^17.2.1" } } -
Add startup log to
figma-mcp-server.jsEnsure your script ends with a console message so you see startup success. For example, after connecting:
const transport = new StdioServerTransport(); await server.connect(transport); + console.log(`MCP Server running on port ${MCP_PORT}`); -
Run the MCP server
npm run start:mcpYou should see:
MCP Server running on port 3000
⚙️ Connect to Augment Code
-
Open Augment Code → Workspace Settings → MCP
-
Add a new MCP server:
- Name:
figma - Command:
(runs from your workspace root)node figma-mcp-server.js
- Name:
-
Under Environment Variables, add:
FIGMA_TOKENFIGMA_FILE_IDMCP_PORT
-
Save and toggle ON the “figma” server.
Look for this in the logs:[dotenv@…] injecting env … MCP Server running on port 3000Once you see it, the icon will turn green.
💬 Example Prompts
See prompts.md for ready-to-use chat prompts. Examples:
- Ask figma to get the full file data.
- Use figma to fetch the latest file from the Figma API.
- Ask figma for details about the component named
ButtonPrimary. - Use the figma tool to show all components in the design file.
🗂 Example Code
This repo includes figma-mcp-server.js, a working example of the MCP server wired to the Figma API.
To run locally:
npm run start:mcp
⚠ Important Notes
🛡️ Directories with spaces
If your workspace path includes spaces (e.g. My Projects), wrap the command argument in quotes:
node "figma-mcp-server.js"
—or—
Move your project to a path without spaces to avoid quoting:
C:/Users/yourname/Dev/NoSpacesRepo/
🔧 Troubleshooting
See troubleshooting.md for common issues and fixes.
🤝 Contributing
Got ideas, improvements, or questions?
Please open an issue or submit a pull request — contributions are welcome!
See CONTRIBUTING.md for guidelines.
📄 License
This project is licensed under the MIT License.
🌐 Links
README fetched from the repository 6 days ago. The original is authoritative.