About
This repository contains tools for automating Figma design creation and manipulation, including:
- Figma Plugin: A plugin for creating startup website components
- Direct Integration: Python scripts for direct Figma file manipulation
- MCP Integration: Tools that leverage MCP's Figma integration
Features
- Automated navigation bar creation
- Component templating
- Style management
- Direct file manipulation
Setup
Plugin Setup
cd figma-plugin
npm install
npm run build
Python Setup
cd figma-agent
python -m venv venv
source venv/bin/activate # or `venv\Scripts\activate` on Windows
pip install -r requirements.txt
Configure Figma API
- Get your Figma access token from Figma settings
- Set up the token using MCP Figma integration
Usage
Using the Plugin
- Import the plugin in Figma
- Run it from the plugins menu
- Customize the generated components
Using Direct Integration
python src/direct_figma.py
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
MIT License - see LICENSE file for details
Recommend MCP