Skip to content
Cloud InfrastructureAuto-generatedScore: 34

Azure Log Analytics MCP Server

The Azure Log Analytics API, provided by Microsoft as part of its comprehensive cloud management suite, serves as the programmatic backbone for interacting with and managing Log Analytics workspaces deployed as Dedicated Clusters.

Quick Start Summary

The Azure Log Analytics MCP server is a Model Context Protocol bridge that connects AI assistants — including Claude Desktop, Cursor, Windsurf, and VS Code Copilot — to the Azure Log Analytics API through natural language. It exposes 6 API endpoints as callable tools, such as Clusters_List, Clusters_ListByResourceGroup, Clusters_Get, and more. No authentication is required — setup takes approximately 30 seconds. The server uses STDIO transport and can be installed by running npx -y @mcp/azure-com-operationalinsights-clusters. This integration is sourced from the auto Azure Log Analytics OpenAPI specification (v2019-08-01-preview) and has a quality score of 34/99 (fair documentation coverage).

6Endpointstools mapped
NoneAuthopen access
34/99Qualityfair
~30 secSetupno auth

Server Details

Category
Cloud Infrastructure
Authentication
None
Endpoints
6 operations
Transport
STDIO
Spec Version
v2019-08-01-preview
Install Command
npx -y @mcp/azure-com-operationalinsights-clusters

Environment Variables

AZURE_LOG_ANALYTICS_API_KEY

Example: your_azure_log_analytics_api_key

Top Endpoints

GET
/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters

Clusters_List

GET
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters

Clusters_ListByResourceGroup

GET
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}

Clusters_Get

PUT
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}

Clusters_CreateOrUpdate

DELETE
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}

Clusters_Delete

Own this API?

Verify ownership of this listing to control the description, configuration details, and documentation links. Choose between free manual verification or instant premium placement.

Option 1: Free Verification

Slow manual review. Requires creating a GitHub issue with verified documentation or domain verification.

  • • Verified badge on page
  • • Standard search sorting
  • • 2-3 business days review
Start Free Claim →
Instant & Boosted

Option 2: Featured Upgrade($9/mo)

Instant verification plus premium styling, featured badges, and directory placement boost.

  • • ★ Featured star & amber highlight border
  • • Top of directory search placement
  • • Instant activation via claim token

📖 Detailed MCP Integration Guide

A technical breakdown of capabilities, agent workflows, and security/configuration best practices.

Capabilities & Use Cases
The Azure Log Analytics API, provided by Microsoft as part of its comprehensive cloud management suite, serves as the programmatic backbone for interacting with and managing Log Analytics workspaces deployed as Dedicated Clusters. This RESTful API enables platform engineers, cloud architects, and DevOps practitioners to automate the lifecycle management of Log Analytics cluster resources—from provisioning and configuration to ongoing governance and decommissioning. At its core, the API facilitates administrative control over the underlying infrastructure that powers Azure Monitor Logs, allowing users to define cluster capacity, manage data retention policies, and organize log data within scalable, enterprise-grade environments. Typical use cases include large-scale enterprises requiring centralized log management across hybrid and multi-cloud deployments, organizations with strict data residency needs that mandate dedicated compute, and managed service providers needing to create isolated Log Analytics environments for individual clients. By enabling infrastructure-as-code patterns, the API empowers teams to version control their monitoring configurations and integrate cluster management into CI/CD pipelines, ensuring consistency and auditability across deployments.
🤖AI Agent Value
Exposing these endpoints through the Model Context Protocol (MCP) unlocks significant value when integrated with AI coding assistants like Claude Desktop, Cursor, or Cline. The API's resource-oriented design and clear CRUD (Create, Read, Update, Delete) operations make it an ideal candidate for tool integration, allowing an AI agent to transition seamlessly from understanding infrastructure state to executing precise modifications. Within an MCP server context, the API's endpoints become a set of well-defined tools that the AI can invoke, moving beyond mere code generation to active infrastructure orchestration. This transforms the assistant from a passive knowledge source into an active participant in cloud operations, capable of reasoning about and directly manipulating Azure resources through natural language commands. The contextual richness of the API—its use of subscription IDs, resource groups, and cluster names—provides the necessary structure for the AI to construct accurate API calls based on high-level user intent, bridging the gap between abstract goals and concrete implementation.
💬Example Workflows
A developer can leverage this integrated system for a variety of dynamic, automated tasks. For instance, instructing the AI agent to "audit all Log Analytics clusters in our subscription and report their current pricing tiers and data retention settings" would trigger the agent to sequentially call the relevant GET endpoints, aggregate the data, and synthesize a report. More proactive workflows are possible, such as directing the agent to "provision a new Log Analytics cluster named 'SecurityLogs-Prod' in the 'Monitoring-RG' resource group, configure it with a 500 GB/day capacity, and set the data retention to 365 days," which would involve a coordinated sequence of PUT or PATCH calls. The agent can also perform maintenance tasks, like "find the cluster 'LegacyLogs' and update its tag 'Environment' to 'Decommissioned' to flag it for review," executing a precise PATCH operation. These examples illustrate how the AI, armed with API tools, can perform audit, provisioning, configuration, and update tasks that are typically manual and error-prone, thereby accelerating operations and reducing administrative overhead.
🛡️Security & Auth
While the listed authentication method is noted as "None," this is likely a placeholder for the actual requirement. In practice, securing access to this API is critical and mandates the use of Azure Active Directory (Azure AD) authentication with properly scoped bearer tokens. Developers integrating this API via an MCP server must enforce robust security practices. The most fundamental guideline is the principle of least privilege: service principals or user accounts used for authentication should be granted only the specific role permissions needed (such as 'Monitoring Reader' for read-only tasks or 'Log Analytics Contributor' for management), scoped to the minimal necessary resource group or subscription. The MCP server implementation itself must handle token lifecycle securely, avoid caching sensitive credentials, and ensure all communication is encrypted via HTTPS. Furthermore, developers should leverage Azure Policy and RBAC to prevent unauthorized or unintended modifications, and all API actions should be logged via Azure Activity Log for auditing purposes, creating a full traceability chain from the AI agent's command to the resource modification.

Similar APIs

Other APIs in the Cloud Infrastructure category.

Related MCP Server Integrations

Supabase API MCP Setup

Manage Supabase projects, databases, authentication, and storage through your AI agent.

Cloud InfrastructureConfigure →

Cloudflare API MCP Setup

Manage Cloudflare DNS, CDN, Workers, and security settings through your AI agent.

Cloud InfrastructureConfigure →

Vercel API MCP Setup

Deploy projects, manage domains, and monitor deployments through your AI agent.

Cloud InfrastructureConfigure →

DigitalOcean API MCP Setup

The DigitalOcean API is a comprehensive, RESTful interface provided by DigitalOcean, a leading cloud infrastructure provider focused on simplifying cloud computing for developers, startups, and enterprises. It serves as the programmatic backbone for managing the entire DigitalOcean ecosystem, enabling users to provision, configure, and control cloud resources such as Droplets (virtual private servers), Kubernetes clusters, managed databases, networks, storage volumes, and application platforms. Core capabilities include full lifecycle management of these resources, from creation and scaling to monitoring and deletion, mirroring the functionality available in the DigitalOcean control panel. Its primary use cases range from automating infrastructure setup for CI/CD pipelines and enabling infrastructure-as-code practices to supporting dynamic application scaling and resource optimization for SaaS products, e-commerce sites, and development environments. The API is designed for both developers seeking to automate their cloud operations and businesses that require programmable, scalable cloud infrastructure without the complexity of larger hyperscale providers.

Cloud InfrastructureConfigure →

Access Analyzer MCP Setup

The AWS Identity and Access Management Access Analyzer API provides a powerful, policy-as-code service that automatically identifies resources accessible from outside your AWS account or organization. At its core, the service continuously evaluates resource-based policies—such as Amazon S3 bucket policies, AWS Identity and Access Management (IAM) roles, Amazon KMS key policies, and AWS Lambda function policies—using logic-based reasoning to determine which resources grant access to unknown external principals. Its primary use case is for security and compliance teams within enterprises to proactively detect unintended data exposure, enforce least privilege principles, and audit cross-account and cross-service access. The API endpoints allow programmatic control to create, configure, and query analyzers, manage archive rules for storing findings, and generate custom policy documents, making it a foundational tool for automating cloud security posture management at scale.

Cloud InfrastructureConfigure →