Azure Log Analytics MCP Server

by MananShahTR

392 downloads
Not rated
GitHub

About

MCP server for querying Azure Log Analytics using natural language

Details

Author
MananShahTR
Downloads
392
Categories
Search

- Converts natural language to KQL using Claude AI
- Executes KQL queries against Azure Log Analytics
- Formats results for easy consumption by LLMs
- Supports both CLI and MCP server modes
- Provides optional time range and result limit parameters

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Azure Log Analytics MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install Node.js 18+, clone the repo, install dependencies, build, and set ANTHROPIC_API_KEY and Azure CLI credentials. Run node build/index.js for CLI mode or node build/mcp-server.js for MCP server mode. Then configure MCP settings to add the azure-log-analytics server and use the query_logs tool.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "azure log analytics mcp server": {
            "azure-log-analytics-mcp": {
                "command": "node",
                "args": [
                    "build/index.js"
                ],
                "env": {
                    "ANTHROPIC_API_KEY": "your_key_here"
                }
            }
        }
    }
}

McpServers

{
    "azure-log-analytics-mcp": {
        "command": "node",
        "args": [
            "build/index.js"
        ],
        "env": {
            "ANTHROPIC_API_KEY": "your_key_here"
        }
    }
}

Azure Log Analytics MCP Server

An MCP (Model Context Protocol) server for querying Azure Log Analytics using natural language. This server allows large language models to convert natural language queries into KQL (Kusto Query Language) and execute them against Azure Log Analytics.

Features

- Convert natural language queries to KQL using Claude AI
- Execute KQL queries against Azure Log Analytics
- Format results for easy consumption by LLMs
- CLI mode for direct interactions and MCP server mode for LLM integrations

Prerequisites

- Node.js 18.x or higher
- An Azure subscription with Log Analytics workspace
- An Anthropic API key for Claude AI
- Azure CLI configured with appropriate credentials

Installation

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.