🏁 Getting Started
Prerequisites
- Python 3.11+
- pip
Installing
- Clone repository:
git clone https://github.com/Nikita2150/McProtect.git
cd McProtect
- Create and fill
.envfile inside themcp_clientdirectory, as follows:
AZURE_OPENAI_ENDPOINT=ENTER_ENDPOINT
AZURE_OPENAI_API_KEY=ENTER_API_KEY
AZURE_OPENAI_CHAT_DEPLOYMENT_NAME=ENTER_DEPLOYMENT_NAME
AZURE_OPENAI_API_VERSION=ENTER_OPENAI_API_VERSION
- To setup client/servers:
cd ENTER_DIR_NAME_HERE
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
replace the ENTER_DIR_NAME_HERE with the relevant directory name (mcp_client, weather_server or verify_server)
🎈 Usage
To use the system, you have to run your wanted servers (using their virtual environments),
python weather.py
python verify.py
and then run the client,
python mcp_client.py
