Back to MCP directory
publicPublicdnsLocal runtime

mcp-server-kusto

一个提供访问Azure Data Explorer集群的MCP服务,支持查询执行、表结构查看等功能

article

README

🚀 Kusto MCP 服务器

Kusto MCP 服务器可提供对 Azure 数据探索器(ADX)集群的访问,帮助用户更便捷地操作和管理集群数据。

✨ 主要特性

该服务器提供了一系列实用工具,具体如下:

  • 列出表
    • list_internal_tables:可列出集群中的所有内部表格。
    • list_external_tables:用于列出集群中的所有外部表格。
    • list_materialized_views:能够列出集群中的所有实化视图。
  • 执行查询
    • execute_query_internal_table:可在内部表或实化视图上执行查询。
    • execute_query_external_table:用于在外部表上执行查询。
  • 获取表结构
    • get_internal_table_schema:可获取内部表或实化视图的架构信息。
    • get_external_table_schema:用于获取外部表的架构信息。

📦 安装指南

此部分文档未提及安装步骤,故跳过。

💻 使用示例

基础用法

Claude Desktop 配置

编辑 claude_desktop_config.json 文件以添加以下配置:

{
  "mcpServers": {
    "kusto": {
      "command": "uv",
      "args": [
        "--directory",
        "{{PATH_TO_PROJECT}}\\mcp-server-kusto\\src\\mcp_server_kusto",
        "run",
        "mcp-server-kusto",
        "--cluster",
        "{{ADX_CLUSTER_URL}}",
        "--authority_id",
        "{{TENANT_ID}}",
        "--client_id",
        "{{CLIENT_ID}}",
        "--client_secret",
        "{{CLIENT_SECRET}}"
      ]
    }
  }
}

高级用法

当使用 azure 数据探索器 emulator 进行本地开发时,提供集群 url 如 https://localhost:8082 即可,不需要提供 --authority_id--client_id--client_secret

{
  "mcpServers": {
    "kusto": {
      "command": "uv",
      "args": [
        "--directory",
        "{{PATH_TO_PROJECT}}\\mcp-server-kusto\\src\\mcp_server_kusto",
        "run",
        "mcp-server-kusto",
        "--cluster",
        "{{ADX_CLUSTER_URL}}"
      ]
    }
  }
}

📚 详细文档

此部分文档未提供详细说明,故跳过。

🔧 技术细节

此部分文档未提供技术实现细节,故跳过。

📄 许可证

此部分文档未提供许可证信息,故跳过。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client