global-az-thailand-25
4
This project focuses on setting up an Azure MCP Server and provides step-by-step instructions for installation, configuration, and usage. It supports activities such as running Python examples to interact with the server.
Global Azure Thailand 2025
- Date: Sat, 10 May 2025
- Topic: Introduction to the Azure MCP Server
- Event type: Online
Instruction
- Install Azure CLI
sudo apt-get update && sudo apt-get install -y azure-cli
- Login Azure with Azure CLI
az login
- Click URL link and copy code
- Pasted code to the URL link.
- create
.env
AZURE_OPENAI_API_KEY=your_api_key
AZURE_OPENAI_ENDPOINT=your_api_key_endpoint
AZURE_OPENAI_DEPLOYMENT=your_deployment_name
AZURE_OPENAI_API_VERSION=your_api_version
OPENAI_API_VERSION=your_api_version
- Install Python dependencies
pip install -r requirements.txt
- Start Azure MCP Server with SSE
npx -y @azure/mcp@latest server start --transport sse
- Run Python Example no 1
python mcp_sse_simple.py
- Run Python Example no 2
python mcp_sse_gradio.py