fastcheck/MCP/duxiter-db-server/run.sh
2026-04-08 13:58:46 -04:00

18 lines
419 B
Bash
Executable File

#!/bin/bash
# Create virtual environment if it doesn't exist
if [ ! -d "venv" ]; then
echo "Creating virtual environment..."
python3 -m venv venv
fi
# Activate virtual environment
. venv/bin/activate
# Install dependencies
echo "Installing dependencies..."
pip install -r requirements.txt
# Run the server in stdio mode for MCP
echo "Starting Duxiter DB MCP server in stdio mode..."
python server.py --stdio