-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTART_MCP_SERVER.bat
More file actions
50 lines (41 loc) · 1.25 KB
/
Copy pathSTART_MCP_SERVER.bat
File metadata and controls
50 lines (41 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
@echo off
REM Wingman MCP Server Startup Script
REM This script starts the persistent MCP server for Ableton Live integration
echo ========================================
echo Wingman MCP Server for Ableton Live
echo ========================================
echo.
REM Check if Python is installed
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo ERROR: Python is not installed or not in PATH
echo Please install Python 3.8+ from https://www.python.org/
pause
exit /b 1
)
echo [OK] Python is installed
REM Check if required Python packages are installed
echo.
echo Checking required Python packages...
python -c "import aiohttp" >nul 2>&1
if %errorlevel% neq 0 (
echo Installing required packages...
pip install aiohttp pythonosc psutil
if %errorlevel% neq 0 (
echo ERROR: Failed to install required packages
pause
exit /b 1
)
)
echo [OK] All required packages are installed
REM Start the MCP server
echo.
echo Starting MCP server on http://localhost:8080
echo Ableton OSC port: 9877
echo.
echo Press Ctrl+C to stop the server
echo ========================================
echo.
cd /d "%~dp0mcp_server"
python persistent_mcp_server.py --mcp-port 8080 --ableton-port 9877 --db-path "../mcp_server.db"
pause