Skip to main content
Glama

Flutter MCP

by adamsmaka
build-executables.shβ€’1.53 kB
#!/bin/bash # Build standalone executables for Flutter MCP Server set -e echo "πŸ”¨ Building Flutter MCP Server executables..." # Ensure we're in the project root cd "$(dirname "$0")/.." # Install PyInstaller if not already installed pip install pyinstaller # Clean previous builds echo "🧹 Cleaning previous builds..." rm -rf build dist # Build the executable echo "πŸ—οΈ Building executable..." pyinstaller build.spec # Create release directory mkdir -p releases # Get the platform PLATFORM=$(python -c "import platform; print(platform.system().lower())") ARCH=$(python -c "import platform; print(platform.machine())") # Move and rename based on platform if [ "$PLATFORM" = "darwin" ]; then if [ "$ARCH" = "arm64" ]; then BINARY_NAME="flutter-mcp-macos-arm64" else BINARY_NAME="flutter-mcp-macos-x64" fi elif [ "$PLATFORM" = "linux" ]; then BINARY_NAME="flutter-mcp-linux-x64" elif [ "$PLATFORM" = "windows" ]; then BINARY_NAME="flutter-mcp-windows-x64.exe" else BINARY_NAME="flutter-mcp-$PLATFORM-$ARCH" fi # Move the binary mv "dist/flutter-mcp" "releases/$BINARY_NAME" 2>/dev/null || \ mv "dist/flutter-mcp.exe" "releases/$BINARY_NAME" 2>/dev/null echo "βœ… Build complete! Binary available at: releases/$BINARY_NAME" # Test the binary echo "πŸ§ͺ Testing the binary..." "./releases/$BINARY_NAME" --version echo " πŸ“¦ Binary details:" ls -lh "releases/$BINARY_NAME" file "releases/$BINARY_NAME" echo " πŸš€ To distribute, upload releases/$BINARY_NAME to GitHub Releases"

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/adamsmaka/flutter-mcp'

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