Azure MCP Server
by ninefyi
This repository provides instructions and code for setting up and running the Azure MCP Server with SSE (Server-Sent Events). It's designed to be used in conjunction with the Global Azure Thailand 2025 event.
Last updated: N/A
What is Azure MCP Server?
The Azure MCP Server is a server application that likely utilizes Azure services and the MCP (Management Control Plane) to manage and control resources. This implementation uses Server-Sent Events (SSE) for real-time communication with clients.
How to use Azure MCP Server?
To use the Azure MCP Server, you need to install the Azure CLI, log in to your Azure account, configure environment variables with your Azure OpenAI API key and endpoint details, install the required Python packages, and then start both the server and a client application. Detailed steps are provided in the instructions.
Key features of Azure MCP Server
Azure Integration
Server-Sent Events (SSE)
API Key Authentication
Client-Server Architecture
Configuration via Environment Variables
Use cases of Azure MCP Server
Real-time monitoring of Azure resources
Event-driven updates from Azure services
Building interactive cloud applications
Centralized management and control of Azure infrastructure
FAQ from Azure MCP Server
What is AZURE_OPENAI_API_KEY?
What is AZURE_OPENAI_API_KEY?
Your Azure OpenAI API key is required to authenticate with the Azure OpenAI service.
What is AZURE_OPENAI_ENDPOINT?
What is AZURE_OPENAI_ENDPOINT?
Your Azure OpenAI endpoint is the URL for accessing the Azure OpenAI service.
What is AZURE_OPENAI_DEPLOYMENT?
What is AZURE_OPENAI_DEPLOYMENT?
Your Azure OpenAI deployment name identifies the specific deployment you are using.
What is AZURE_OPENAI_API_VERSION?
What is AZURE_OPENAI_API_VERSION?
Your Azure OpenAI API version specifies the version of the API you are using.
What does npx -y @azure/mcp@latest server start --transport sse
do?
What does npx -y @azure/mcp@latest server start --transport sse
do?
This command starts the Azure MCP server using the latest version of the @azure/mcp
package, specifying SSE as the transport mechanism for real-time communication.