- Enhanced `ARCHITECTURE.md` with details on LLM models for work (Llama 3.1 70B Q4) and family agents (Phi-3 Mini 3.8B Q4). - Introduced new documents: - `ASR_EVALUATION.md` for ASR engine evaluation and selection. - `HARDWARE.md` outlining hardware requirements and purchase plans. - `IMPLEMENTATION_GUIDE.md` for Milestone 2 implementation steps. - `LLM_CAPACITY.md` assessing VRAM and context window limits. - `LLM_MODEL_SURVEY.md` surveying open-weight LLM models. - `LLM_USAGE_AND_COSTS.md` detailing LLM usage and operational costs. - `MCP_ARCHITECTURE.md` describing the Model Context Protocol architecture. - `MCP_IMPLEMENTATION_SUMMARY.md` summarizing MCP implementation status. These updates provide comprehensive guidance for the next phases of development and ensure clarity in project documentation.
39 lines
839 B
Bash
Executable File
39 lines
839 B
Bash
Executable File
#!/bin/bash
|
|
# Setup script for MCP Server
|
|
|
|
set -e
|
|
|
|
echo "Setting up MCP Server..."
|
|
|
|
# Create virtual environment if it doesn't exist
|
|
if [ ! -d "venv" ]; then
|
|
echo "Creating virtual environment..."
|
|
python3 -m venv venv
|
|
fi
|
|
|
|
# Activate virtual environment
|
|
echo "Activating virtual environment..."
|
|
source venv/bin/activate
|
|
|
|
# Install dependencies
|
|
echo "Installing dependencies..."
|
|
pip install --upgrade pip
|
|
pip install -r requirements.txt
|
|
|
|
# Verify critical dependencies
|
|
echo "Verifying dependencies..."
|
|
python3 -c "import fastapi, uvicorn, pytz; print('✓ All dependencies installed')" || {
|
|
echo "✗ Dependency verification failed"
|
|
exit 1
|
|
}
|
|
|
|
echo ""
|
|
echo "Setup complete!"
|
|
echo ""
|
|
echo "To run the server:"
|
|
echo " ./run.sh"
|
|
echo ""
|
|
echo "Or manually:"
|
|
echo " source venv/bin/activate"
|
|
echo " python server/mcp_server.py"
|