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
publish-figma-plugin.shβ’2.59 KiB
#!/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."