MCP Kql Server MCP Server

A Model Context Protocol (MCP) server that transforms natural language questions into optimized KQL queries with intelligent schema discovery

Local serverstdioPython

What is the MCP Kql Server MCP server?

Mcp kql server mcp server lets Claude, Cursor and other MCP clients work with MCP Kql Server directly. A Model Context Protocol (MCP) server that transforms natural language questions into optimized KQL queries with intelligent schema discovery, AI-powered caching, and seamless Azure Data Explorer integration. Simply ask questions in plain English and get instant, accurate KQL queries with.

What MCP Kql Server does

A Model Context Protocol (MCP) server that transforms natural language questions into optimized KQL queries with intelligent schema discovery, AI-powered caching, and seamless Azure Data Explorer integration. Simply ask questions in plain English and get instant, accurate KQL queries with context-aware results.

Installing the mcp kql server mcp server

The server is distributed via PyPI as mcp-kql-server, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

The server reads 8 environment variables: FASTMCP_TRANSPORT, MCP_KQL_AUTH_ON_STARTUP, MCP_KQL_CHECK_FOR_UPDATES, MCP_KQL_DEFER_AUTH, MCP_KQL_SKIP_STARTUP_VERSION_CHECK, MCP_KQL_AUTH_CHECK_TIMEOUT_SECONDS, MCP_KQL_AUTH_LOGIN_TIMEOUT_SECONDS, MCP_KQL_SQLITE_BUSY_TIMEOUT_MS. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Cloud and DevOps servers put infrastructure on speaking terms with your assistant, so "why is this broken?" is answered from real state rather than a generic checklist. MCP Kql Server sits in that group. Worth comparing against the other cloud devops servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by 4R9UN, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the mcp kql server mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

How to install the MCP Kql Server MCP server

{
  "mcpServers": {
    "kql-server": {
      "command": "uvx",
      "args": ["mcp-kql-server"],
      "env": {
        "FASTMCP_TRANSPORT": "your-value",
        "MCP_KQL_AUTH_ON_STARTUP": "your-value",
        "MCP_KQL_CHECK_FOR_UPDATES": "your-value",
        "MCP_KQL_DEFER_AUTH": "your-value",
        "MCP_KQL_SKIP_STARTUP_VERSION_CHECK": "your-value",
        "MCP_KQL_AUTH_CHECK_TIMEOUT_SECONDS": "your-value",
        "MCP_KQL_AUTH_LOGIN_TIMEOUT_SECONDS": "your-value",
        "MCP_KQL_SQLITE_BUSY_TIMEOUT_MS": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
FASTMCP_TRANSPORTConfiguration value read at startup.Optional
MCP_KQL_AUTH_ON_STARTUPConfiguration value read at startup.Optional
MCP_KQL_CHECK_FOR_UPDATESConfiguration value read at startup.Optional
MCP_KQL_DEFER_AUTHConfiguration value read at startup.Optional
MCP_KQL_SKIP_STARTUP_VERSION_CHECKConfiguration value read at startup.Optional
MCP_KQL_AUTH_CHECK_TIMEOUT_SECONDSConfiguration value read at startup.Optional
MCP_KQL_AUTH_LOGIN_TIMEOUT_SECONDSConfiguration value read at startup.Optional
MCP_KQL_SQLITE_BUSY_TIMEOUT_MSConfiguration value read at startup.Optional

Frequently asked questions

It connects MCP Kql Server to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with MCP Kql Server directly.