Skip to main content
Glama
setup.sh988 B
#!/bin/bash set -e echo "Setting up Python API tests environment..." # Create virtual environment if it doesn't exist if [ ! -d ".venv" ]; then echo "Creating Python virtual environment..." python3 -m venv .venv else echo "Virtual environment already exists." fi # Activate virtual environment echo "Activating virtual environment..." source .venv/bin/activate # Install dependencies echo "Installing dependencies..." pip install -e ".[dev]" # Create .env file if it doesn't exist if [ ! -f ".env" ]; then echo "Creating .env file from template..." cp .env.example .env echo "" echo "⚠️ Please edit .env and add your SI_WORKSPACE_ID and SI_API_TOKEN" echo " Get credentials from: https://auth.systeminit.com/workspaces/" else echo ".env file already exists." fi echo "" echo "✅ Setup complete!" echo "" echo "To activate the virtual environment, run:" echo " source .venv/bin/activate" echo "" echo "To run tests, run:" echo " pytest"

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/systeminit/si'

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