Skip to main content
Glama

MCP Unit Test Sensei

by kourtni
build_optimized.sh1.29 kB
#!/bin/bash set -e echo "Building optimized executable..." # Clean previous builds rm -rf build dist # Set Python optimization flags export PYTHONOPTIMIZE=2 # Build with the optimized spec pyinstaller mcp_testing_sensei_optimized.spec \ --clean \ --onefile \ --log-level WARN # Get the executable name based on OS if [[ "$OSTYPE" == "linux-gnu"* ]] || [[ "$OSTYPE" == "darwin"* ]]; then EXEC_NAME="mcp-testing-sensei" elif [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == "cygwin" ]] || [[ "$OSTYPE" == "win32" ]]; then EXEC_NAME="mcp-testing-sensei.exe" else echo "Error: Unsupported operating system: $OSTYPE" exit 1 fi # Show size if [ -f "dist/$EXEC_NAME" ]; then echo "Build complete!" ls -lh "dist/$EXEC_NAME" # Additional compression with UPX if available and not on macOS if command -v upx &> /dev/null && [[ "$OSTYPE" != "darwin"* ]]; then echo "Applying additional UPX compression..." if upx --best --lzma "dist/$EXEC_NAME"; then echo "UPX compression successful!" echo "After UPX:" ls -lh "dist/$EXEC_NAME" else echo "Warning: UPX compression failed, but executable is still usable" echo "Continuing with uncompressed executable" fi fi fi

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/kourtni/mcp-testing-sensei'

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