-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
102 lines (86 loc) · 2.26 KB
/
setup.bat
File metadata and controls
102 lines (86 loc) · 2.26 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
@echo off
REM Quick setup script for Windows
echo ==========================================
echo Unified MCP Client - Quick Setup
echo ==========================================
echo.
REM Check prerequisites
echo Checking prerequisites...
python --version >nul 2>&1
if errorlevel 1 (
echo X Python is not installed. Please install Python 3.8 or higher.
exit /b 1
)
echo + Python found
python --version
node --version >nul 2>&1
if errorlevel 1 (
echo X Node.js is not installed. Please install Node.js 16 or higher.
exit /b 1
)
echo + Node.js found
node --version
npm --version >nul 2>&1
if errorlevel 1 (
echo X npm is not installed. Please install npm.
exit /b 1
)
echo + npm found
npm --version
echo.
echo Setting up Python environment...
REM Create virtual environment
python -m venv .venv
echo + Virtual environment created
REM Activate virtual environment
call .venv\Scripts\activate.bat
echo + Virtual environment activated
REM Install Python dependencies
pip install -r requirements.txt
echo + Python dependencies installed
echo.
echo Setting up Filesystem MCP Server...
REM Setup filesystem server
cd filesystem-mcp-server
call npm install
call npm run build
cd ..
echo + Filesystem server ready
echo.
echo Setting up Browser MCP Server...
REM Setup browser server (if requirements.txt exists)
cd mcp-server-browser-use-ollama
if exist requirements.txt (
pip install -r requirements.txt
echo + Browser server dependencies installed
) else (
echo ! No requirements.txt found for browser server
)
cd ..
echo.
echo Creating Sandbox directory...
if not exist Sandbox mkdir Sandbox
echo + Sandbox directory created
echo.
echo ==========================================
echo Setup Complete!
echo ==========================================
echo.
echo Next steps:
echo 1. Activate the virtual environment:
echo .venv\Scripts\activate
echo.
echo 2. (Optional) Set up API keys in .env file:
echo echo GEMINI_API_KEY=your_key ^> .env
echo echo GROQ_API_KEY=your_key ^>^> .env
echo.
echo 3. (Optional) Install Ollama for local LLM:
echo Visit https://ollama.ai
echo Then run: ollama pull qwen2.5-coder:14b
echo.
echo 4. Test the client:
echo python client/main.py "Create a file test.txt"
echo.
echo For more information, see README.md
echo.
pause