Rediger

Azure MCP Server tools for Azure Data Explorer

The Azure MCP Server enables you to manage Azure Data Explorer resources by using natural language prompts. You can list clusters, view databases, and query data by using natural language. You can also use specific KQL queries for targeted responses.

Azure Data Explorer is a fast, fully managed data analytics service for real-time analysis on large volumes of data streaming from applications, websites, IoT devices, and more. Azure Data Explorer helps you analyze large volumes of diverse data from any data source, such as websites, applications, IoT devices, and more.

Note

Tool parameters: The Azure MCP Server tools define parameters for data they need to complete tasks. Some of these parameters are specific to each tool and are documented here. Other parameters are global and shared by all tools. For more information, see Tool parameters.

Conditional parameters

Some of the Azure Data Explorer tools require one of the following parameter sets within the conversation context:

  • Option 1: Cluster URI
  • Option 2: Both cluster name and subscription

The subscription can resolve from your configured Azure context when you provide a cluster name. If you provide a cluster URI, the tool uses that URI; a cluster name and subscription aren't required. A resource group isn't required for these data-plane tools.

Cluster: List clusters

Example CLI command

azmcp kusto cluster list \
  [--resource-group <resource-group>]
Parameter Type Required Description
resource-group string No Limit clusters to this resource group. Omit it to list clusters across the subscription.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
❌ ✅ ❌ ✅ ❌ ❌

Cluster: Get cluster details

Example CLI command

azmcp kusto cluster get \
  --cluster <cluster>
Parameter Type Required Description
cluster string Yes The name of the Azure Data Explorer cluster.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
❌ ✅ ❌ ✅ ❌ ❌

Database: List databases

Example CLI command

azmcp kusto database list \
  [--cluster-uri <cluster-uri>] \
  [--cluster <cluster>]
Parameter Type Required Description
cluster-uri string No The URI of the Azure Data Explorer cluster.
cluster string No The name of the Azure Data Explorer cluster.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
❌ ✅ ❌ ✅ ❌ ❌

Table: List tables

Example CLI command

azmcp kusto table list \
  --database <database> \
  [--cluster-uri <cluster-uri>] \
  [--cluster <cluster>]
Parameter Type Required Description
database string Yes The name of the Azure Data Explorer database.
cluster-uri string No The URI of the Azure Data Explorer cluster.
cluster string No The name of the Azure Data Explorer cluster.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
❌ ✅ ❌ ✅ ❌ ❌

Table: Get table schema

Example CLI command

azmcp kusto table schema \
  --table <table> \
  --database <database> \
  [--cluster-uri <cluster-uri>] \
  [--cluster <cluster>]
Parameter Type Required Description
table string Yes The name of the Azure Data Explorer table.
database string Yes The name of the Azure Data Explorer database.
cluster-uri string No The URI of the Azure Data Explorer cluster.
cluster string No The name of the Azure Data Explorer cluster.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
❌ ✅ ❌ ✅ ❌ ❌

Sample data

Example CLI command

azmcp kusto sample \
  --table <table> \
  --database <database> \
  [--limit <limit>] \
  [--cluster-uri <cluster-uri>] \
  [--cluster <cluster>]
Parameter Type Required Description
table string Yes The name of the Azure Data Explorer table.
database string Yes The name of the Azure Data Explorer database.
limit string No The maximum number of results to return. Must be a positive integer between 1 and 10000. Default is 10.
cluster-uri string No The URI of the Azure Data Explorer cluster.
cluster string No The name of the Azure Data Explorer cluster.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
❌ ✅ ❌ ✅ ❌ ❌

Query

Example CLI command

azmcp kusto query \
  --query <query> \
  --database <database> \
  [--cluster-uri <cluster-uri>] \
  [--cluster <cluster>]
Parameter Type Required Description
query string Yes The Kusto Query Language (KQL) query to execute.
database string Yes The name of the Azure Data Explorer database.
cluster-uri string No The URI of the Azure Data Explorer cluster.
cluster string No The name of the Azure Data Explorer cluster.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
❌ ✅ ❌ ✅ ❌ ❌