#!/bin/bash
# Georgia Tech MCP Server Startup Script
# This script activates the conda environment and starts the server
set -e
# Get the directory where this script is located
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR"
echo "🚀 Starting Georgia Tech MCP Server (Original - Course Scheduling Only)..."
# Check if conda is available
if ! command -v conda &> /dev/null; then
echo "❌ Error: Conda not found in PATH"
exit 1
fi
# Check if gtmcp environment exists
if ! conda env list | grep -q "^gtmcp "; then
echo "❌ Error: gtmcp environment not found"
echo "Please run ./setup.sh first to create the environment"
exit 1
fi
# Activate environment
echo "🐍 Activating conda environment..."
source "$(conda info --base)/etc/profile.d/conda.sh"
conda activate gtmcp
# Check if config file exists
if [ ! -f "config.json" ]; then
echo "⚠️ Warning: config.json not found, using defaults"
fi
# Parse command line arguments
CONFIG_ARG=""
if [ -f "config.json" ]; then
CONFIG_ARG="--config config.json"
fi
# Start the server
echo "🌐 Starting Original MCP server..."
echo "📡 Server will run on the configured host:port (default: 0.0.0.0:8080)"
echo ""
echo "ℹ️ This runs the original course scheduling server only."
echo "💡 For expanded features, use: ./start_server_expanded.sh"
echo ""
echo "🔄 Press Ctrl+C to stop"
echo ""
python -m gtmcp.server $CONFIG_ARG "$@"
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/wondermuttt/gtmcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server