Kusto and Log Analytics MCP server help you execute a KQL (Kusto Query Language) query within an AI prompt, analyze, and visualize the data.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add kql -- python -m mcp_kql_server --transport http --host 127.0.0.1 --port 8000 --http-path /mcp --stateless-http~/.codex/config.toml
[mcp_servers.kql]
command = "python"
args = ["-m", "mcp_kql_server", "--transport", "http", "--host", "127.0.0.1", "--port", "8000", "--http-path", "/mcp", "--stateless-http"]
# codex mcp add kql -- python -m mcp_kql_server --transport http --host 127.0.0.1 --port 8000 --http-path /mcp --stateless-http~/.cursor/mcp.json
{
"mcpServers": {
"kql": {
"command": "python",
"args": [
"-m",
"mcp_kql_server",
"--transport",
"http",
"--host",
"127.0.0.1",
"--port",
"8000",
"--http-path",
"/mcp",
"--stateless-http"
]
}
}
}.vscode/mcp.json
{
"servers": {
"kql": {
"type": "stdio",
"command": "python",
"args": [
"-m",
"mcp_kql_server",
"--transport",
"http",
"--host",
"127.0.0.1",
"--port",
"8000",
"--http-path",
"/mcp",
"--stateless-http"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"kql": {
"command": "python",
"args": [
"-m",
"mcp_kql_server",
"--transport",
"http",
"--host",
"127.0.0.1",
"--port",
"8000",
"--http-path",
"/mcp",
"--stateless-http"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"kql": {
"command": "python",
"args": [
"-m",
"mcp_kql_server",
"--transport",
"http",
"--host",
"127.0.0.1",
"--port",
"8000",
"--http-path",
"/mcp",
"--stateless-http"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"kql": {
"command": "python",
"args": [
"-m",
"mcp_kql_server",
"--transport",
"http",
"--host",
"127.0.0.1",
"--port",
"8000",
"--http-path",
"/mcp",
"--stateless-http"
]
}
}
}