bookworm-boot/拓展/mcp-config-wizard/START.bat
bookworm 83c1e613a1 feat: 纳入拓展工具 + guide.html badges 对齐
- 拓展/: MCP配置向导、PowerShell工具、mcp-auto-loader 纳入版本管理
- guide.html: badges 从模糊 "90+" 改为精确 "92 Skills | 18 Agents | 34 Hooks"
2026-04-06 00:26:45 +08:00

65 lines
2.0 KiB
Batchfile

@echo off
chcp 65001 >nul
title MCP Configuration Wizard - Setup
echo.
echo ╔════════════════════════════════════════════════════════╗
echo ║ MCP Configuration Wizard - First Time Setup ║
echo ╚════════════════════════════════════════════════════════╝
echo.
REM 检查 Node.js 是否安装
where node >nul 2>nul
if %errorlevel% neq 0 (
echo [ERROR] Node.js is not installed!
echo.
echo Please install Node.js from: https://nodejs.org/
echo.
pause
exit /b 1
)
echo [OK] Node.js found:
node --version
echo.
REM 检查是否已安装依赖
if exist "node_modules\" (
echo [OK] Dependencies already installed
echo.
goto :run_wizard
)
echo [INFO] Installing dependencies...
echo This may take a minute...
echo.
call npm install
if %errorlevel% neq 0 (
echo.
echo [ERROR] Failed to install dependencies
echo.
pause
exit /b 1
)
echo.
echo [OK] Dependencies installed successfully
echo.
:run_wizard
echo ════════════════════════════════════════════════════════
echo Starting Configuration Wizard...
echo ════════════════════════════════════════════════════════
echo.
node wizard.js
echo.
echo ════════════════════════════════════════════════════════
echo Wizard completed
echo ════════════════════════════════════════════════════════
echo.
pause