Azure Log Analytics Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Azure Log Analytics Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An MCP (Model Context Protocol) server for querying Azure Log Analytics using natural language. This server allows large language models to convert natural language queries into KQL (Kusto Query Language) and execute them against Azure Log Analytics.
# Clone the repository
git clone https://github.com/MananShahTR/azure-log-analytics-mcp.git
cd azure-log-analytics-mcp
# Install dependencies
npm install
# Build the project
npm run buildThe server requires the following environment variables:
ANTHROPIC_API_KEY: Your Anthropic API key for Claude AIAzure credentials are obtained through Azure CLI credentials. Ensure you're logged in with az login before running the server.
You'll need to configure the following in the azure-service.ts file:
subscriptionId: Your Azure subscription IDresourceGroup: The resource group containing your App Insights resourceappInsightsId: The name of your Application Insights resource# Run as a CLI tool
ANTHROPIC_API_KEY=your_key_here node build/index.js# Run as an MCP server
ANTHROPIC_API_KEY=your_key_here node build/mcp-server.jsAdd the following to your MCP settings configuration file:
{
"mcpServers": {
"azure-log-analytics": {
"command": "node",
"args": ["path/to/azure-log-analytics-mcp/build/mcp-server.js"],
"env": {
"ANTHROPIC_API_KEY": "your_key_here"
}
}
}
}Once connected, the MCP server provides the following tool:
query_logs: Query Azure Log Analytics using natural languagequery: Natural language query about trace logs (required)timeRange: Optional time range (e.g., "last 24 hours", "past week")limit: Maximum number of results to return// Example MCP tool use
use_mcp_tool({
server_name: "azure-log-analytics",
tool_name: "query_logs",
arguments: {
query: "Show me all errors in the authentication service from the last hour",
timeRange: "last hour",
limit: 10
}
});MIT
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.