@echo off
REM MCP Energy Server - Setup Script for Windows
REM This script helps you get started quickly
echo.
echo ========================================
echo MCP Energy Server Setup
echo ========================================
echo.
REM Check Python version
echo Checking Python version...
python --version >nul 2>&1
if errorlevel 1 (
echo Error: Python not found. Please install Python 3.10 or higher.
pause
exit /b 1
)
echo Python found
echo.
REM Create virtual environment
echo Creating virtual environment...
if not exist "venv" (
python -m venv venv
echo Virtual environment created
) else (
echo Virtual environment already exists
)
echo.
REM Activate virtual environment and install dependencies
echo Installing dependencies...
call venv\Scripts\activate.bat
python -m pip install --upgrade pip >nul 2>&1
pip install -e . >nul 2>&1
echo Dependencies installed
echo.
REM Setup environment file
if not exist ".env" (
echo Setting up environment file...
copy .env.example .env >nul
echo .env file created from template
) else (
echo .env file already exists
)
echo.
echo ========================================
echo Setup Complete!
echo ========================================
echo.
echo Next steps:
echo 1. To test: python server.py
echo 2. For Claude Desktop: See QUICKSTART.md
echo 3. For GitHub: See DEPLOYMENT.md
echo.
echo Quick test command:
echo python server.py
echo.
echo To activate the virtual environment in the future:
echo venv\Scripts\activate.bat
echo.
pause
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/ebarros23/mcp-energy'
If you have feedback or need assistance with the MCP directory API, please join our Discord server