Add simple Windows run script for Dolibarr MCP server

This commit is contained in:
latinogino
2025-09-21 17:54:45 +02:00
parent 14806345db
commit bd6ef1fa4e

28
run_dolibarr_mcp.bat Normal file
View File

@@ -0,0 +1,28 @@
@echo off
REM Simple script to run Dolibarr MCP Server
echo ========================================
echo Starting Dolibarr MCP Server
echo ========================================
REM Check if virtual environment exists
if not exist "venv_dolibarr\Scripts\python.exe" (
echo Virtual environment not found!
echo Please run setup.py first.
exit /b 1
)
REM Check if .env file exists
if not exist ".env" (
echo .env file not found!
echo Creating from template...
copy .env.example .env
echo Please edit .env with your Dolibarr credentials
exit /b 1
)
REM Activate virtual environment and run server
echo Running server...
venv_dolibarr\Scripts\python.exe -m dolibarr_mcp
pause