Skip to content
Cloud InfrastructureAuto-generatedScore: 34

Microsoft Insights MCP Server

The Microsoft Insights API for Azure Monitor provides a comprehensive programmatic interface for managing Scheduled Query Rules, which are the foundational components for creating intelligent, log-based alerting mechanisms across Azure resources and services.

Quick Start Summary

The Microsoft Insights MCP server is a Model Context Protocol bridge that connects AI assistants — including Claude Desktop, Cursor, Windsurf, and VS Code Copilot — to the Microsoft Insights API through natural language. It exposes 6 API endpoints as callable tools, such as ScheduledQueryRules_ListBySubscription, ScheduledQueryRules_ListByResourceGroup, ScheduledQueryRules_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-monitor-scheduledqueryrule-api. This integration is sourced from the auto Microsoft Insights OpenAPI specification (v2018-04-16) 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
v2018-04-16
Install Command
npx -y @mcp/azure-com-monitor-scheduledqueryrule-api

Environment Variables

MICROSOFT_INSIGHTS_API_KEY

Example: your_microsoft_insights_api_key

Top Endpoints

GET
/subscriptions/{subscriptionId}/providers/microsoft.insights/scheduledQueryRules

ScheduledQueryRules_ListBySubscription

GET
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/scheduledQueryRules

ScheduledQueryRules_ListByResourceGroup

GET
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/scheduledQueryRules/{ruleName}

ScheduledQueryRules_Get

PUT
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/scheduledQueryRules/{ruleName}

ScheduledQueryRules_CreateOrUpdate

DELETE
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/scheduledQueryRules/{ruleName}

ScheduledQueryRules_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 Microsoft Insights API for Azure Monitor provides a comprehensive programmatic interface for managing Scheduled Query Rules, which are the foundational components for creating intelligent, log-based alerting mechanisms across Azure resources and services. Developed by Microsoft as part of the Azure Monitor suite, this API empowers developers and DevOps engineers to automate the lifecycle of alerting rules—from creation and configuration to updates and deletion—using the standard HTTP methods GET, PUT, PATCH, and DELETE. Its core capability lies in translating complex Kusto Query Language (KQL) conditions into actionable alerts that trigger notifications, automation runbooks, or integration with ITSM tools. In enterprise environments, this API is critical for implementing proactive monitoring strategies, ensuring service-level objectives (SLOs) are met, and enabling rapid incident response by programmatically defining thresholds and conditions based on metrics and logs from any Azure resource.
🤖AI Agent Value
Exposing this API as tools within an AI coding assistant via the Model Context Protocol (MCP) unlocks significant value by transforming static infrastructure-as-code tasks into dynamic, conversational workflows. An AI agent equipped with these tools can understand developer intent and directly manipulate monitoring rules without requiring manual navigation of the Azure Portal or writing extensive script boilerplate. This integration accelerates the DevSecOps lifecycle by allowing the AI to act as a co-pilot for observability, where a developer can simply describe a monitoring intent, and the AI can handle the API calls to implement it. This reduces context switching, minimizes errors from manual configuration, and ensures consistency in alerting policies across large-scale cloud deployments by leveraging the AI's ability to understand and apply best practices contextually.
💬Example Workflows
Practical workflow examples demonstrate the transformative potential of this integration. A developer can instruct the AI agent with commands like, "Create a critical alert for any database query that runs longer than 30 seconds on my production SQL Server and send notifications to the ops Slack channel," prompting the AI to construct the appropriate KQL query, define the severity, and execute the PUT operation to create the rule. Similarly, during a cost-optimization initiative, one could say, "Update all scheduled query rules for my web app resource group to reduce alert frequency by 50% during off-peak hours," enabling the AI to parse existing rules and apply PATCH updates to their schedules. For incident management automation, a prompt like "Find and disable all alert rules related to the deprecated 'old-service' in my subscription" allows the AI to use GET to list rules, filter by name or description, and then call DELETE or PATCH to mute them, thereby streamlining operational cleanup tasks.
🛡️Security & Auth
Crucial to the secure and effective use of this API is a robust authentication and authorization framework. Although the described endpoints may use token-based authentication (contrary to a "None" setting), all production integrations must employ Azure Active Directory (Azure AD) OAuth 2.0 tokens. Developers must adhere to the principle of least privilege by assigning managed identities or service principals the minimal required role, such as "Monitoring Contributor" scoped to specific resource groups. Security best practices include storing credentials in Azure Key Vault, enabling network restrictions via Azure Private Link, and using API management layers for throttling and logging. When setting up an MCP server, developers should ensure the AI assistant operates within a sandboxed environment with audit trails for all API actions, and should implement validation logic to prevent the AI from inadvertently creating overly permissive or noisy alerting rules that could lead to alert fatigue or excessive costs.

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 →