#!/bin/bash set -e # Start script for Ross Ultrix MCP Server echo "Starting Ross Ultrix MCP Server..." # Check if config directory exists if [ ! -d "/app/config" ]; then echo "Creating config directory..." mkdir -p /app/config fi # Check if logs directory exists if [ ! -d "/app/logs" ]; then echo "Creating logs directory..." mkdir -p /app/logs fi # Ensure proper permissions chown -R rossuser:nodejs /app/logs # Start the MCP server echo "Starting MCP server with Node.js..." exec node dist/index.js