azure-compliance-mcp
Enables natural-language queries about Azure resource compliance, including VM compliance, patch status, orphaned RBAC, and infrastructure health, through read-only MCP tools.
README
azure-compliance-mcp
MCP server for natural-language Azure compliance & infra-health queries
An MCP server, built with FastMCP 3.x, that exposes read-only Azure resource-compliance data — VM compliance, patch status, orphaned RBAC, and overall health — so an LLM agent can answer infrastructure questions in natural language.
⚠️ Status: scaffold. The tool surface is specified in
SPEC.mdbut not implemented yet.
Why
Asking "which VMs are non-compliant?" or "do I have orphaned role assignments?" usually means clicking through the Azure portal or hand-writing Resource Graph queries. This server turns those into tools an agent can call.
Features (planned)
Five read-only tools — see SPEC.md for full contracts:
| Tool | What it answers |
|---|---|
check_compliance |
Which resources are (non-)compliant with policy? |
query_resources |
Free-form resource lookups (KQL-style filters). |
get_patch_status |
Patch/update state across VMs. |
find_orphaned_rbac |
Role assignments pointing at deleted principals. |
summarize_health |
A rolled-up infra-health summary. |
Mock vs. live
The server runs in one of two provider modes, selected with --mode:
mock(default) — seeded, synthetic, Azure-Resource-Graph-shaped data including deliberately non-compliant resources. Runs with zero Azure setup.live— real Azure Resource Graph against your own tenant viaDefaultAzureCredential.
Quickstart
Requires uv and Python 3.12+.
# Install dependencies
uv sync
# Run locally (stdio transport, mock data)
uv run server.py
# Run as a remote server (Streamable HTTP)
uv run server.py --transport http
# Inspect with the MCP dev inspector
uv run fastmcp dev server.py
Development
uv run pytest # tests
uv run ruff check . # lint
Security
- All Azure tools are read-only — nothing in this server modifies Azure resources.
- Secrets, tenant IDs, and
.envare gitignored and must never be committed. - In stdio mode, logging goes to stderr only (stdout is reserved for the protocol).
License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.