We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cmdaltctr/claude-gemini-mcp-slim'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
setup-dev.shβ’1.75 KiB
#!/bin/bash
# Development Environment Setup Script
# This script sets up the virtual environment and installs all dependencies
# for the Claude Gemini MCP Slim project
set -e # Exit on any error
echo "π Setting up development environment for Claude Gemini MCP Slim..."
# Check if Python 3 is available
if ! command -v python3 &> /dev/null; then
echo "β Python 3 is not installed. Please install Python 3.8+ first."
exit 1
fi
# Create virtual environment if it doesn't exist
if [ ! -d ".venv" ]; then
echo "π¦ Creating virtual environment..."
python3 -m venv .venv
else
echo "π¦ Virtual environment already exists"
fi
# Activate virtual environment
echo "π Activating virtual environment..."
source .venv/bin/activate
# Upgrade pip
echo "β¬οΈ Upgrading pip..."
python -m pip install --upgrade pip
# Install production dependencies
echo "π Installing production dependencies..."
pip install -r requirements.txt
# Install development dependencies
echo "π οΈ Installing development dependencies..."
pip install -r requirements-dev.txt
# Initialize Husky hooks
echo "π§ Initializing Husky hooks..."
npx husky install || echo "βΉοΈ Husky hooks already initialized or npm not available"
# Run a test to make sure everything is working
echo "π§ͺ Running a quick test..."
python -m pytest tests/unit/test_basic_operations.py -v
echo ""
echo "β Development environment setup complete!"
echo ""
echo "π To activate the virtual environment in the future, run:"
echo " source .venv/bin/activate"
echo ""
echo "π§ͺ To run all tests:"
echo " python -m pytest"
echo ""
echo "π To run code quality checks manually:"
echo " npm run lint"
echo " npm run format"
echo " npm run test"
echo ""
echo "π You're ready to start developing!"