@echo off
title MCP Quoting System Launcher
color 0A
:menu
cls
echo ╔════════════════════════════════════════════════════════════╗
echo ║ MCP QUOTING SYSTEM - MAIN LAUNCHER ║
echo ╚════════════════════════════════════════════════════════════╝
echo.
echo [1] First Time Setup (Install & Configure)
echo [2] Start Development Server (with auto-reload)
echo [3] Start Production Server
echo [4] Quick Test (Start server & run test)
echo [5] Stop Server
echo.
echo [6] Build/Rebuild Project
echo [7] View Historical Quotes Database
echo [8] Reset Database to Sample Data
echo.
echo [W] Open Web Interface (Browser) ⭐
echo [H] Help - What Do I Do With This?
echo [9] View API in Browser
echo [0] Exit
echo.
echo ════════════════════════════════════════════════════════════
echo.
choice /C 123456789WH0 /N /M "Select option: "
if errorlevel 12 goto :exit
if errorlevel 11 goto :help
if errorlevel 10 goto :web
if errorlevel 9 goto :browser
if errorlevel 8 goto :reset
if errorlevel 7 goto :view
if errorlevel 6 goto :build
if errorlevel 5 goto :stop
if errorlevel 4 goto :test
if errorlevel 3 goto :prod
if errorlevel 2 goto :dev
if errorlevel 1 goto :setup
:setup
cls
call setup.bat
goto :menu
:dev
cls
call start-dev.bat
goto :menu
:prod
cls
call start-prod.bat
goto :menu
:test
cls
call quick-test.bat
goto :menu
:stop
cls
call stop.bat
goto :menu
:build
cls
call build.bat
goto :menu
:view
cls
call view-quotes.bat
goto :menu
:reset
cls
call reset-database.bat
goto :menu
:browser
start http://localhost:3789/mcp/utility/historicalQuotes
echo.
echo Opening API endpoint in browser...
echo If server is not running, start it first (option 2 or 3)
timeout /t 2 > nul
goto :menu
:web
cls
echo.
echo ═══════════════════════════════════════════════════════════
echo Opening Web Interface
echo ═══════════════════════════════════════════════════════════
echo.
echo IMPORTANT: Make sure the server is running!
echo.
echo If server is NOT running yet:
echo 1. Press any key to return to menu
echo 2. Choose option [2] to start the server
echo 3. Then choose option [W] again
echo.
echo If server IS running:
echo Your browser will open automatically...
echo.
pause
start http://localhost:3789
echo.
echo ✓ Browser opened to http://localhost:3789
echo.
echo The web interface includes:
echo - New Quote form
echo - Historical Quotes viewer
echo - Dashboard with statistics
echo.
timeout /t 3 > nul
goto :menu
:help
cls
type NOW-WHAT.md
echo.
echo ════════════════════════════════════════════════════════════
echo Press any key to return to menu...
echo ════════════════════════════════════════════════════════════
pause > nul
goto :menu
:exit
cls
echo.
echo Thank you for using MCP Quoting System!
echo.
timeout /t 2 > nul
exit
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/r-long/mcp-quoting-system'
If you have feedback or need assistance with the MCP directory API, please join our Discord server