Skip to main content
Glama
publish-figma-plugin.shโ€ข2.66 kB
#!/bin/bash # Figma Plugin Publishing Helper Script echo "๐ŸŽจ MCP Figma Plugin Publishing Helper" echo "======================================" # Check if we're in the right directory if [ ! -f "src/mcp_plugin/manifest.json" ]; then echo "โŒ Error: manifest.json not found. Please run this script from the project root." exit 1 fi echo "โœ… Plugin files found" # Check required files echo "" echo "๐Ÿ“‹ Checking required files:" # Check manifest.json if [ -f "src/mcp_plugin/manifest.json" ]; then echo "โœ… manifest.json" else echo "โŒ manifest.json - MISSING" fi # Check code.js if [ -f "src/mcp_plugin/code.js" ]; then echo "โœ… code.js" else echo "โŒ code.js - MISSING" fi # Check ui.html if [ -f "src/mcp_plugin/ui.html" ]; then echo "โœ… ui.html" else echo "โŒ ui.html - MISSING" fi # Check icon if [ -f "src/mcp_plugin/icon.svg" ] || [ -f "src/mcp_plugin/icon.png" ]; then echo "โœ… icon file" else echo "โŒ icon file - MISSING (need icon.svg or icon.png)" fi echo "" echo "๐Ÿ“ Plugin directory contents:" ls -la src/mcp_plugin/ echo "" echo "๐ŸŽฏ Next Steps for Publishing:" echo "" echo "1. ๐Ÿ“ธ Create Assets (if missing):" echo " โ€ข Plugin icon (128x128px): src/mcp_plugin/icon.png" echo " โ€ข Cover image (1920x960px): figma-assets/cover-image.png" echo " โ€ข Screenshots: figma-assets/screenshots/" echo "" echo "2. ๐Ÿงช Test Plugin Locally:" echo " โ€ข Open Figma Desktop" echo " โ€ข Go to Plugins โ†’ Development โ†’ Import plugin from manifest" echo " โ€ข Select: src/mcp_plugin/manifest.json" echo " โ€ข Test all functionality" echo "" echo "3. ๐Ÿš€ Publish to Figma Community:" echo " โ€ข Go to: https://www.figma.com/community/publish" echo " โ€ข Click 'Publish a plugin'" echo " โ€ข Upload manifest.json (Figma will bundle all files)" echo " โ€ข Fill in plugin details and upload assets" echo " โ€ข Submit for review" echo "" echo "4. ๐Ÿ“– Read Full Guide:" echo " โ€ข See: FIGMA_PUBLISHING_GUIDE.md for detailed instructions" echo "" # Check if we can zip the plugin files for easy sharing echo "๐Ÿ’พ Creating plugin bundle for testing..." cd src/mcp_plugin if command -v zip >/dev/null 2>&1; then zip -r ../../mcp-figma-plugin.zip . -x "*.DS_Store" echo "โœ… Plugin bundle created: mcp-figma-plugin.zip" cd ../.. echo " You can share this zip file for testing or submit manifest.json directly to Figma" else echo "โ„น๏ธ Zip not available. You can manually bundle the files in src/mcp_plugin/" cd ../.. fi echo "" echo "๐ŸŽ‰ Plugin is ready for publishing!" echo " Follow the steps above to submit to Figma Community."

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/YelowFlash09/figma_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server