global-az-thailand-25

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

  1. Install Azure CLI sudo apt-get update && sudo apt-get install -y azure-cli
  2. Login Azure with Azure CLI az login
  3. Click URL link and copy code
  4. Pasted code to the URL link.
  5. 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
  1. Install Python dependencies pip install -r requirements.txt
  2. Start Azure MCP Server with SSE
npx -y @azure/mcp@latest server start --transport sse
  1. Run Python Example no 1
python mcp_sse_simple.py
  1. Run Python Example no 2
python mcp_sse_gradio.py