JK

johnib/kusto-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

8 stars 6 forks 质量 87 趋势 36MIT

MCP server for Azure Data Explorer (Kusto), enabling AI agents to explore, query, and understand telemetry using KQL.

概览

Connect Cline, Cursor, Claude Desktop, or any AI tool to Azure Data Explorer. Ask questions in plain English, get insights from your data instantly - no KQL knowledge required. - → Get instant insights from telemetry data - → Analyze business metrics effortlessly - → Investigate security incidents with AI help - → Get automated analysis of monitoring data No more writing complex KQL queries. Just ask your AI assistant natural questions about your data. Or add this to ~/.copilot/mcp-config.json: Add this to .vscode/mcp.json in your workspace, or to your user mcp.json (Command Palette → ): Add this to your cline_mcp_settings.json file: Add this to your Claude Desktop configuration file: Some hosts have their own per-server tool timeout that can cut a slow query off before kusto-mcp does. Where the host supports it, raise it — e.g. copilot mcp add --timeout in Copilot CLI, or the timeout field (seconds) in Cline.

README

以下为原文 README 节选,完整内容请查看原文。

🔍 Kusto MCP Server

Turn your AI assistant into a data analyst in 2 minutes.

Connect Cline, Cursor, Claude Desktop, or any AI tool to Azure Data Explorer. Ask questions in plain English, get insights from your data instantly - no KQL knowledge required.

What You Can Do

  • “Show me error logs from the last hour” → Get instant insights from telemetry data
  • “Which customers generated the most revenue this month?” → Analyze business metrics effortlessly
  • “Find all failed authentication attempts” → Investigate security incidents with AI help
  • “Summarize system performance trends” → Get automated analysis of monitoring data

No more writing complex KQL queries. Just ask your AI assistant natural questions about your data.

Quick Setup

For Claude Code Users

Run this terminal command to install:

claude mcp add kusto-mcp -- npx -y kusto-mcp@latest

For GitHub Copilot CLI Users

Run this terminal command to install:

copilot mcp add kusto-mcp -- npx -y kusto-mcp@latest

Or add this to ~/.copilot/mcp-config.json:

{
  "mcpServers": {
    "kusto-mcp": {
      "type": "local",
      "command": "npx",
      "args": ["-y", "kusto-mcp@latest"],
      "env": {},
      "tools": ["*"]
    }
  }
}

For VS Code Users (Copilot Chat)

Add this to .vscode/mcp.json in your workspace, or to your user mcp.json (Command Palette → MCP: Open User Configuration):

{
  "servers": {
    "kusto-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "kusto-mcp@latest"]
    }
  }
}

For Cline Users

Add this to your cline_mcp_settings.json file:

{
  "mcpServers": {
    "github.com/johnib/kusto-mcp": {
      "command": "npx",
      "args": ["-y", "kusto-mcp@latest"],
      "env": {},
      "disabled": false,
      "autoApprove": [
        "initialize-connection",
        "show-tables",
        "show-table",
        "execute-query",
        "report-issue"
      ]
    }
  }
}

For Cursor Users

Add this to your VS Code settings.json:

{
  "mcp": {
    "servers": {
      "github.com/johnib/kusto-mcp": {
        "type": "stdio",
        "command": "npx",
        "args": ["-y", "kusto-mcp@latest"]
      }
    }
  }
}

For Claude Desktop Users

Add this to your Claude Desktop configuration file:

{
  "mcpServers": {
    "kusto-mcp": {
      "command": "npx",
      "args": ["-y", "kusto-mcp@latest"]
    }
  }
}
在 GitHub 查看完整 README

安装

npx -y kusto-mcp@latest
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "kusto-mcp": { "type": "local", "command": "npx", "args": ["-y", "kusto-mcp@latest"], "env": {}, "tools": ["*"] } } }