Azure Log Analytics Server

Provide tools to retrieve and analyze Azure activity logs and run Kusto Query Language queries against Log Analytics workspaces. Enable efficient log error analysis and activity log summarization through predefined prompts. Facilitate enhanced log analysis workflows leveraging Azure Monitor services.

Installation

Installing for Claude Desktop

Manual Configuration Required

This MCP server requires manual configuration. Run the command below to open your configuration file:

npx mcpbar@latest edit -c claude

This will open your configuration file where you can add the Azure Log Analytics Server MCP server manually.

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_ID
    • AZURE_LOG_ANALYTICS_WORKSPACE_ID
Share:
Details:
  • Stars


    1
  • Forks


    1
  • Last commit


    3 months ago
  • Repository age


    3 months
  • License


    MIT
View Repository

Auto-fetched from GitHub .

MCP servers similar to Azure Log Analytics Server:

 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit