Azure Log Analytics MCP Server
This project implements an MCP server in Python that leverages Azure services to provide tools and prompts for log analysis. The server performs the following functions:
- Azure Activity Logs Retrieval: Uses the Azure Monitor Management client to obtain Azure activity logs within a specified time range.
- Log Analytics Query: Uses the Azure Monitor Query client to run Kusto Query Language (KQL) queries against a Log Analytics workspace.
- LLM Prompts: Exposes two prompts to help with common log analysis tasks:
- Analyze Log Errors: Generates a prompt for an LLM to analyze error patterns in raw log data.
- Summarize Activity Logs: Creates a prompt for summarizing the activity logs.
Prerequisites
- Python 3.8+
- An Azure subscription with appropriate permissions
- Azure credentials (using any method supported by
DefaultAzureCredential) - Environment variables set for:
AZURE_SUBSCRIPTION_IDAZURE_LOG_ANALYTICS_WORKSPACE_ID
Azure Log Analytics Server
Project Details
- DominicBut/mcp-azure-loganalytics
- MIT License
- Last Updated: 4/22/2025
Recomended MCP Servers
Inkeep MCP Server
MCP Server for Gmail and Calendar
Model Context Protocol Servers
A Model Context Protocol Server for AI models to interface with the Tesla Fleet API.
Python MCP server for MySQL
An MCP server built with Node.js/TypeScript that allows AI agents to securely read PDF files (local or URL)...
MCP server providing secure code execution (Python, Go, JS) via containers.
Create AI generated memes using MCP Meme Sticky. Can converted generated memes into stickers for Telegram or WhatsApp...
A VMware ESXi/vCenter management server based on MCP (Model Control Protocol), providing simple REST API interfaces for virtual...
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and...
An MCP server for Apache Doris & VeloDB





