Skip to main content
Glama
cheng306

Azure Data Explorer MCP Server

by cheng306

Azure Data Explorer MCP Server

This is a Model Context Protocol (MCP) server that can login to Azure Data Explorer and run KQL queries.

Features

  • Login to Azure Data Explorer using service principal (client credentials)

  • Run KQL queries against an Azure Data Explorer database

  • View formatted query results

Related MCP server: kusto-mcp

Prerequisites

  • Node.js (v16 or higher)

  • npm (v7 or higher)

  • Azure Data Explorer cluster

  • Service Principal with access to Azure Data Explorer

Setup

  1. Clone or download this repository

  2. Install dependencies:

npm install
  1. Build the project:

npm run build

Running the server

Start the server:

npm start

The server will listen on standard input/output (stdio), which is the format expected by MCP clients like Claude for Desktop.

Usage with Claude for Desktop

  1. Configure Claude for Desktop to use this MCP server by editing the claude_desktop_config.json file:

{
  "mcpServers": {
    "adx-query-server": {
      "command": "node",
      "args": [
        "/absolute/path/to/this/repository/build/index.js"
      ]
    }
  }
}
  1. Restart Claude for Desktop

  2. Use the MCP server through Claude by asking it to:

    • Login to Azure Data Explorer

    • Run KQL queries

Available Tools

login-to-adx

Authenticates with Azure Data Explorer using client credentials.

Parameters:

  • cluster: The ADX cluster URL (e.g., https://mycluster.eastus.kusto.windows.net)

  • database: The database name

  • tenantId: The Azure tenant ID

  • clientId: The Azure client/application ID

  • clientSecret: The Azure client secret

run-adx-query

Runs a KQL query against the connected Azure Data Explorer database.

Parameters:

  • query: The KQL query to execute

Development

To run the server in development mode:

npm run dev

License

ISC

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables intelligent KQL query execution against Azure Data Explorer clusters with AI-powered schema caching and natural language to KQL conversion. Provides automated schema discovery and context-aware query assistance for enhanced data exploration.
    23
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables AI assistants to query Azure Data Explorer using natural language, eliminating the need to write KQL.
    7
    216
    7
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to query SQL Server databases and retrieve schema information securely through the Model Context Protocol.
    2
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to query and analyze data in Azure Data Explorer, Log Analytics, and Microsoft Sentinel using Kusto Query Language (KQL) through tools, resources, and prompts.
    5
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cheng306/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server