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:
Run with Docker Compose:
Local Development
Install dependencies:
Set environment variables:
Run 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:
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