Azure Log Analytics MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Azure Log Analytics MCP Servershow me the top 10 errors from the last hour"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Azure Log Analytics MCP Server (Node.js)
Node.js MCP server for Azure Log Analytics with Docker support and Service Principal authentication.
Quick Start
Docker (Recommended)
Create
.envfile:
cp .env.example .env
# Edit .env with your Service Principal credentialsRun with Docker Compose:
docker-compose up --buildLocal Development
Install dependencies:
npm installSet environment variables:
export AZURE_CLIENT_ID="your-client-id"
export AZURE_CLIENT_SECRET="your-client-secret"
export AZURE_TENANT_ID="your-tenant-id"Run server:
npm startRelated MCP server: MCP KQL Server
Authentication
Service Principal (SPN):
Set
AZURE_CLIENT_ID,AZURE_CLIENT_SECRET,AZURE_TENANT_IDFallback to DefaultAzureCredential if SPN not configured
MCP Configuration
Add to Q CLI config:
{
"mcpServers": {
"azure-logs": {
"command": "docker",
"args": ["run", "-i", "--env-file", ".env", "azure-logs-mcp"]
}
}
}Tools
query_logs- Execute KQL with formattingsave_query/list_saved_queries/run_saved_query- Query managementlist_tables- List workspace tablesget_table_schema- Get table schema
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables natural language exploration of Azure environments by generating and executing KQL queries against Azure Resource Graph. Supports multi-tenant configurations, subscription scoping, and provides direct access to Azure resource information through conversational interactions.82Apache 2.0
- Alicense-qualityBmaintenanceEnables intelligent KQL query execution against Azure Data Explorer clusters with AI-powered schema caching and natural language to KQL conversion. Provides automated schema discovery and context-aware query assistance for enhanced data exploration.23MIT
- Alicense-qualityDmaintenanceEnables AI assistants to query and analyze data in Azure Data Explorer, Log Analytics, and Microsoft Sentinel using Kusto Query Language (KQL) through tools, resources, and prompts.5MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables AI agents to query Azure Log Analytics workspaces using KQL.MIT
Related MCP Connectors
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Query and retrieve information about various adversarial tactics and techniques used in cyber atta…
Find relevant security data from Sentinel data lake for building effective agents. More:aka.ms/s/de
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rasta26/azure_log_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server