What is MCP-Server-Azure-Impact-Reporting?
MCP-Server-Azure-Impact-Reporting is a server that enables large language models (LLMs) to report impacts to Azure resources, allowing for automated reporting of issues related to Azure infrastructure.
How to use MCP-Server-Azure-Impact-Reporting?
To use the MCP server, clone the repository, install the required dependencies, set up Azure authentication, and configure your MCP client to run the impact-reporter script.
Key features of MCP-Server-Azure-Impact-Reporting?
- Automatic parsing of user requests to report resource impacts to Azure.
- Supports multiple impact categories such as connectivity, performance, and availability issues.
- Utilizes Azure Management API for creating workload impact reports.
Use cases of MCP-Server-Azure-Impact-Reporting?
- Reporting connectivity issues with Azure virtual machines.
- Notifying Azure about performance degradation in SQL databases.
- Reporting downtime of Azure App Services.
FAQ from MCP-Server-Azure-Impact-Reporting?
- Can this tool report all types of Azure resource issues?
Yes, it supports various impact categories including connectivity, performance, and availability.
- What are the requirements to run this server?
You need Python 3.8+, the MCP package, and Azure authentication set up.
- How does the tool handle missing parameters in requests?
The tool will prompt for additional details if the request lacks necessary information.
MCP-Server-Azure-Impact-Reporting
Overview
The Azure Impact Reporting MCP (Model Context Protocol) server enables large language models (LLMs) to report impacts to Azure resources. This tool allows LLMs to automatically parse user requests, understand the required parameters, and submit reports to Azure when customers are facing issues with Azure infrastructure.
Functionality
The impact-reporter.py
script provides a Model Context Protocol server that:
- Exposes a tool to report resource impacts to Azure
- Automatically authenticates with Azure using DefaultAzureCredential
- Creates workload impact reports via the Azure Management API
- Handles parameter extraction from natural language requests
- Can ask for additional details if the request is missing required information
Impact Categories
The tool supports the following impact categories:
Resource.Connectivity
- For connectivity issues with Azure resourcesResource.Performance
- For performance degradation issuesResource.Availability
- For availability or downtime issuesResource.Unknown
- When the specific issue type is not known
Requirements
- Python 3.8+
mcp[cli]
- Model Context Protocol package with CLI supportazure-identity
- For Azure authenticationhttpx
- For making HTTP requests to Azure API
Setup Instructions
1. Clone the repository
git clone https://github.com/yourusername/MCP-Server-Azure-Impact-Reporting.git
cd MCP-Server-Azure-Impact-Reporting
2. Install dependencies
pip install -r requirements.txt
Or install them manually:
pip install mcp[cli] azure-identity httpx
3. Azure Authentication Setup
The tool uses DefaultAzureCredential
for authentication. Ensure you're logged in to Azure with one of the following methods:
- Azure CLI (
az login
) - Visual Studio Code Azure Account extension
- Azure PowerShell (
Connect-AzAccount
) - Environment variables for service principal authentication
4. Configure your MCP client
Add the following configuration to your MCP client configuration file (e.g., claude_desktop_config.json
):
"impactreporter": {
"command": "uv",
"args": [
"--directory",
"ABSOLUTE_PATH_TO_ROOT_FOLDER",
"run",
"impact-reporter.py"
]
}
Replace ABSOLUTE_PATH_TO_ROOT_FOLDER
with the absolute path to where you cloned this repository.
For example:
"impactreporter": {
"command": "uv",
"args": [
"--directory",
"C:\\Users\\username\\source\\repos\\MCP-Server-Azure-Impact-Reporting",
"run",
"impact-reporter.py"
]
}
5. Running the MCP Server
If you're using Claude with Desktop or another MCP-enabled client, the server will start automatically when needed.
Usage Examples
Once configured, your LLM can report impacts with natural language requests like:
- "Report connectivity issues with my VM named 'web-server' in resource group 'production-rg'"
- "Let Azure know my SQL database 'customer-db' in 'data-rg' is experiencing performance issues"
- "Report that my App Service 'api-service' is down"
The MCP server will automatically parse these requests and ask for any missing parameters before submitting the report to Azure.
Example Converstations:
When additional information is required
-
Request for additional details
-
Infer the details and report impact
API Details
The impact reporting tool uses the Azure Management API (2023-12-01-preview) to create workload impact reports.
Troubleshooting
- Authentication issues: Ensure you're logged into Azure and have proper permissions
- Missing parameters: The tool will ask for additional details if needed
- API errors: Check Azure portal to ensure your subscription and resources exist