cheng306
MCP Servercheng306public

mcp server

一个支持登录 Azure Data Explorer 并运行 KQL 查询的 MCP 服务器。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
JavaScript
Language
-
License

About This Server

一个支持登录 Azure Data Explorer 并运行 KQL 查询的 MCP 服务器。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

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

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

Quick Start

1

Clone the repository

git clone https://github.com/cheng306/mcp-server
2

Install dependencies

cd mcp-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownercheng306
Repomcp-server
LanguageJavaScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation