Skip to main content
Glama

ALA API MCP Server

Official
setup.shโ€ข2.29 kB
#!/bin/bash # Development environment setup script for ALA MCP Server set -e # Exit on error echo "๐Ÿš€ Setting up ALA MCP Server development environment..." # Check Python version echo "๐Ÿ“‹ Checking Python version..." python_version=$(python3 --version 2>&1 | awk '{print $2}') required_version="3.10" if [ "$(printf '%s\n' "$required_version" "$python_version" | sort -V | head -n1)" != "$required_version" ]; then echo "โŒ Error: Python $required_version or higher is required. Found: $python_version" exit 1 fi echo "โœ… Python $python_version detected" # Create virtual environment if [ ! -d "venv" ]; then echo "๐Ÿ“ฆ Creating virtual environment..." python3 -m venv venv echo "โœ… Virtual environment created" else echo "โœ… Virtual environment already exists" fi # Activate virtual environment echo "๐Ÿ”Œ Activating virtual environment..." source venv/bin/activate # Upgrade pip echo "โฌ†๏ธ Upgrading pip..." pip install --upgrade pip > /dev/null # Install dependencies echo "๐Ÿ“ฅ Installing dependencies..." pip install -e ".[dev]" > /dev/null echo "โœ… Dependencies installed" # Install pre-commit hooks echo "๐Ÿช Installing pre-commit hooks..." pre-commit install > /dev/null echo "โœ… Pre-commit hooks installed" # Create .env file if it doesn't exist if [ ! -f ".env" ]; then echo "๐Ÿ“ Creating .env file from template..." cp .env.example .env echo "โœ… .env file created (please customize as needed)" else echo "โœ… .env file already exists" fi # Run tests to verify setup echo "๐Ÿงช Running tests to verify setup..." if pytest > /dev/null 2>&1; then echo "โœ… All tests passed" else echo "โš ๏ธ Some tests failed (this might be expected for a new setup)" fi echo "" echo "๐ŸŽ‰ Setup complete! Your development environment is ready." echo "" echo "Next steps:" echo " 1. Activate the virtual environment: source venv/bin/activate" echo " 2. Review and customize .env file if needed" echo " 3. Run tests: make test" echo " 4. Start development!" echo "" echo "Available commands:" echo " make help - Show all available commands" echo " make test - Run tests" echo " make format - Format code" echo " make lint - Run linting" echo " make run - Run the server" echo ""

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/AtlasOfLivingAustralia/ala-mcp'

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