返回 MCP 目录
public公开dns本地运行

MCP Server Kusto数据访问工具

一个MCP服务器,提供对Azure Data Explorer (ADX)集群的访问,允许用户列出表、执行查询和检索架构信息。

article

README

Kusto MCP Server

A mcp server that provides access to Azure Data Explorer (ADX) clusters.

Tools

The following tools are provided by the server:

  • list tables:
    • list_internal_tables:list all internal tables in the cluster
    • list_external_tables:list all external tables in the cluster
    • list_materialized_views:list all materialized views in the cluster
  • execute query:
    • execute_query_internal_table:execute a query on an internal table or materialized view
    • execute_query_external_table:execute a query on an external table
  • get table schema:
    • get_internal_table_schema:get the schema of an internal table or materialized view
    • get_external_table_schema:get the schema of an external table

Claude Desktop configuration

Edit claude_desktop_config.json to add the following configuration:

{
  "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}}"
      ]
    }
  }
}

When using azure data explorer emulator locally, provide the cluster url like https://localhost:8082 and not need to provide --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

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端