We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/subslink326/job-url-analyzer-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
setup.shβ’1.6 KiB
#!/bin/bash
# Setup script for Job URL Analyzer MCP Server
set -e
echo "π Setting up Job URL Analyzer MCP Server..."
# Check if Python 3.11+ is installed
if ! command -v python3.11 &> /dev/null; then
echo "β Python 3.11+ is required but not installed."
echo "Please install Python 3.11 or later."
exit 1
fi
# Check if Poetry is installed
if ! command -v poetry &> /dev/null; then
echo "π¦ Installing Poetry..."
curl -sSL https://install.python-poetry.org | python3 -
export PATH="$HOME/.local/bin:$PATH"
fi
# Install dependencies
echo "π Installing dependencies..."
poetry install
# Set up pre-commit hooks
echo "π§ Setting up pre-commit hooks..."
poetry run pre-commit install
# Create necessary directories
echo "π Creating directories..."
mkdir -p data logs
# Copy environment file
if [ ! -f .env ]; then
echo "βοΈ Creating .env file..."
cp .env.example .env
echo "Please edit .env file with your configuration."
fi
# Run database migrations
echo "ποΈ Setting up database..."
poetry run alembic upgrade head
# Run tests to verify setup
echo "π§ͺ Running tests..."
poetry run pytest --tb=short
echo "β Setup complete!"
echo ""
echo "Next steps:"
echo "1. Edit .env file with your configuration"
echo "2. Run 'make run' to start the development server"
echo "3. Visit http://localhost:8000/docs for API documentation"
echo "4. Run 'make test' to run the test suite"
echo ""
echo "For production deployment:"
echo "1. Use docker-compose.prod.yml"
echo "2. Configure environment variables"
echo "3. Set up SSL certificates"
echo "4. Configure monitoring dashboards"