Skip to main content
Glama
gedin-eth

College Football MCP

by gedin-eth
deploy_to_vps.sh2.26 kB
#!/bin/bash # Deploy script - Run this locally to deploy to VPS # Usage: VPS_PASSWORD=yourpass ./deploy_to_vps.sh VPS_HOST="82.180.161.161" VPS_USER="root" VPS_PASS="${VPS_PASSWORD:-}" echo "=== Deploying CFB MCP to VPS ===" # Commands to run on VPS ssh_commands=$(cat << 'ENDSSH' # Update system and install dependencies apt-get update -y apt-get install -y git docker.io docker-compose-plugin curl # Start Docker service systemctl start docker systemctl enable docker # Clone or update repository cd /root if [ -d "cfb-mcp" ]; then echo "Updating existing repository..." cd cfb-mcp git pull else echo "Cloning repository..." git clone https://github.com/gedin-eth/cfb-mcp.git cd cfb-mcp fi # Create .env file template (user must add API keys) if [ ! -f ".env" ]; then echo "Creating .env file template..." cat > .env << 'ENVEOF' ODDS_API_KEY=your_odds_api_key_here CFB_API_KEY=your_cfbd_api_key_here APP_TOKEN=choose-a-long-random-string-here OPENAI_API_KEY=your_openai_api_key_here ENVEOF echo "⚠️ IMPORTANT: Edit .env file and add your API keys before starting services!" echo " Run: nano .env" else echo ".env file already exists, skipping creation" fi # Build and start services echo "Building Docker images..." docker compose build echo "Starting services..." docker compose up -d echo "Waiting for services to start..." sleep 10 # Check service status echo "=== Service Status ===" docker compose ps echo "" echo "=== Setup Complete ===" echo "Access your application at: https://prompt80.com/cfb-mcp" echo "View logs with: cd /root/cfb-mcp && docker compose logs -f" ENDSSH ) # Try to connect and run commands if command -v sshpass &> /dev/null; then if [ -z "$VPS_PASS" ]; then echo "VPS_PASSWORD environment variable not set." echo "Usage: VPS_PASSWORD=yourpass ./deploy_to_vps.sh" exit 1 fi echo "Using sshpass to connect..." sshpass -p "$VPS_PASS" ssh -o StrictHostKeyChecking=no "$VPS_USER@$VPS_HOST" "$ssh_commands" else echo "sshpass not found. Please run these commands manually on your VPS:" echo "" echo "SSH to your VPS:" echo " ssh root@82.180.161.161" echo "" echo "Then run the commands from the script." fi

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/gedin-eth/cfb-mcp'

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