#!/bin/bash # Run test script for MCP adapter set -e SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" cd "$SCRIPT_DIR" # Install dependencies if needed if [ ! -d "venv" ]; then echo "Creating virtual environment..." python3 -m venv venv source venv/bin/activate pip install -r requirements.txt else source venv/bin/activate fi # Run test echo "Testing MCP Adapter..." python test_adapter.py