rasta26/azure_log_mcp
3.2
If you are the rightful owner of azure_log_mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
Azure Log Analytics MCP Server is a Node.js-based server designed for managing and querying Azure Log Analytics data, with support for Docker and Service Principal authentication.
Tools
6
Resources
0
Prompts
0
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 credentials
- Run with Docker Compose:
docker-compose up --build
Local Development
- Install dependencies:
npm install
- Set 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 start
Authentication
Service Principal (SPN):
- Set
AZURE_CLIENT_ID,AZURE_CLIENT_SECRET,AZURE_TENANT_ID - Fallback 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