Skip to content
Cloud InfrastructureAuto-generatedScore: 34

Guest Diagnostic Settings MCP Server

The Guest Diagnostic Settings API, provided by Azure Monitor under the Microsoft Insights resource provider, is a comprehensive management interface designed for configuring guest-level diagnostic data collection on Azure virtual machines and other supported resources.

Quick Start Summary

The Guest Diagnostic Settings MCP server is a Model Context Protocol bridge that connects AI assistants — including Claude Desktop, Cursor, Windsurf, and VS Code Copilot — to the Guest Diagnostic Settings API through natural language. It exposes 6 API endpoints as callable tools, such as guestDiagnosticsSettings_List, guestDiagnosticsSettings_ListByResourceGroup, guestDiagnosticsSettings_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-guestdiagnosticsettings-api. This integration is sourced from the auto Guest Diagnostic Settings OpenAPI specification (v2018-06-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
v2018-06-01-preview
Install Command
npx -y @mcp/azure-com-monitor-guestdiagnosticsettings-api

Environment Variables

GUEST_DIAGNOSTIC_SETTINGS_API_KEY

Example: your_guest_diagnostic_settings_api_key

Top Endpoints

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

guestDiagnosticsSettings_List

GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings

guestDiagnosticsSettings_ListByResourceGroup

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

guestDiagnosticsSettings_Get

PUT
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings/{diagnosticSettingsName}

guestDiagnosticsSettings_CreateOrUpdate

DELETE
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings/{diagnosticSettingsName}

guestDiagnosticsSettings_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 Guest Diagnostic Settings API, provided by Azure Monitor under the Microsoft Insights resource provider, is a comprehensive management interface designed for configuring guest-level diagnostic data collection on Azure virtual machines and other supported resources. It enables cloud architects and DevOps engineers to define, at a granular level, which performance counters, event logs, and other diagnostic telemetry should be collected from within the guest operating system of an Azure resource. This configuration is distinct from the VM's agent configuration, allowing for centralized, API-driven management of monitoring agents deployed across a fleet. The core capabilities include creating, updating, retrieving, and deleting diagnostic settings, which specify the target Log Analytics workspace or Storage Account for data ingestion, the specific categories of metrics and logs to capture, and optional filtering rules. Typical enterprise use cases involve enforcing compliance by ensuring all production VMs collect specific security event logs, troubleshooting intermittent performance issues by dynamically enabling verbose tracing, and establishing holistic monitoring across a complex environment without manual agent configuration on each instance.
🤖AI Agent Value
When this API is exposed as a set of tools via the Model Context Protocol (MCP) to an AI coding assistant, it unlocks powerful automation and contextual reasoning capabilities for developers and infrastructure-as-code practitioners. The value proposition lies in transforming the AI from a code generator into an active participant in the operational lifecycle of monitoring configurations. An AI assistant with MCP access to these endpoints can not only generate the required ARM templates, Bicep files, or Terraform HCL for a diagnostic setting but also directly interact with the live Azure environment. It can verify current configurations, detect drift from a desired state, and suggest or execute precise updates, significantly reducing the cognitive load and context-switching for the developer. This direct interaction enables the AI to provide real-time, context-aware guidance, such as identifying which log categories are missing from a specific VM's configuration that are necessary for a particular security audit.
💬Example Workflows
Practical workflow examples highlight the dynamic tasks an AI agent can perform. For instance, a developer could instruct the AI to query all diagnostic settings within a subscription to find any resources not collecting the "Security" log category and then automatically update those configurations to enable it, ensuring compliance with organizational policy. Another task could involve having the AI agent create a new diagnostic setting for a resource group named "Staging-Env" that targets a specific Log Analytics workspace, collects only CPU and disk performance counters, and is named according to a standard naming convention, all based on a natural language request. The AI could also be directed to list all diagnostic settings, cross-reference the target storage accounts with current retention policies, and generate a report or even execute a PATCH to adjust retention periods for settings linked to cost-sensitive workspaces.
🛡️Security & Auth
Critical to the implementation of this MCP server is the handling of authentication and security. Despite the initial description noting "None," the actual API requires Azure Active Directory authentication. The MCP server must be configured to use a service principal or managed identity with appropriate Azure Role-Based Access Control permissions on the target subscriptions and resource groups. The principle of least privilege is paramount; the identity should be granted only the "Monitoring Reader" role for read-only operations, or "Monitoring Contributor" if write operations (PUT, PATCH, DELETE) are necessary for the AI's intended functions. Developers should also implement safeguards such as requiring human-in-the-loop approval for any destructive or write-intensive operations initiated by the AI agent to prevent unintended configuration changes across the environment.

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 →