Azure Data Explorer MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Azure Data Explorer MCP Serverrun a KQL query to show the top 10 events from the last hour"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Clone or download this repository
Install dependencies:
npm installBuild the project:
npm run buildRunning the server
Start the server:
npm startThe 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
Configure Claude for Desktop to use this MCP server by editing the
claude_desktop_config.jsonfile:
{
"mcpServers": {
"adx-query-server": {
"command": "node",
"args": [
"/absolute/path/to/this/repository/build/index.js"
]
}
}
}Restart Claude for Desktop
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 nametenantId: The Azure tenant IDclientId: The Azure client/application IDclientSecret: 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 devLicense
ISC
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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