@echo off REM Obsidian MCP Server Launcher REM Edit VAULTS_ROOT below to match your setup, or set OBSIDIAN_VAULTS_ROOT env var. setlocal REM ── Adjust this to your Obsidian vaults folder ── set VAULTS_ROOT=D:\Obsidian REM ── Restart if it crashes (basic resilience) ── :loop echo. echo ============================================ echo Obsidian MCP Server echo Vaults: %VAULTS_ROOT% echo Port: 8765 echo Ctrl+C to stop echo ============================================ echo. python server.py --vaults-root "%VAULTS_ROOT%" --port 8765 echo. echo Server stopped. Restarting in 5 seconds... timeout /t 5 /nobreak >nul goto loop