Azure Log Analytics MCP Config
This API exposes Azure Log Analytics query capabilities
Config URL
Use this URL in any MCP-compatible client to fetch the config automatically.
https://mcp-bridge.pages.dev/config/azure-com-operationalinsights-swagger.jsonConfiguration JSON
Use curl https://mcp-bridge.pages.dev/config/azure-com-operationalinsights-swagger.json to fetch programmatically.
{
"mcpServers": {
"azure-com-operationalinsights-swagger": {
"command": "npx",
"args": ["-y","@mcp/azure-com-operationalinsights-swagger"],
"env": {
"AZURE_LOG_ANALYTICS_API_KEY": "your_azure_log_analytics_api_key"
}
}
}
}How to Use
Cursor
Go to Cursor Settings → MCP Servers → Add with the JSON above.
CLI / curl
Fetch the config programmatically:
curl https://mcp-bridge.pages.dev/config/azure-com-operationalinsights-swagger.jsonEnvironment Variables
AZURE_LOG_ANALYTICS_API_KEYReplace your_azure_log_analytics_api_key with your actual azure log analytics api key
Endpoints
GET
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/queryExecute an Analytics query
POST
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/queryExecute an Analytics query