Atlas / MCP servers / dminkovski / Azure Diagram

Azure DiagramBLOCK

mcp/dminkovski/azure-diagram

MCP server that turns natural-language prompts into Microsoft Azure architecture diagrams (PNG) using Python Diagrams + Graphviz.

Verdict
BLOCK
Grade
D
Trust score
63 /100
Exposed tools
1 1r · 0w · 0d
Transport
—
License
MIT
Stars
26
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](#license) []() [](https://diagrams.mingrammer.com/)

This tool lets you create Microsoft Azure architecture diagrams automatically. You write a short description (using GitHub Copilot in Visual Studio Code to generate it), and the server will turn it into a diagram image. It’s perfect for anyone who wants to quickly draw cloud diagrams without dragging shapes around.

What's included

This MCP server seamlessly creates diagrams using the Python diagrams package DSL. This server allows you to generate Microsoft Azure diagrams, sequence diagrams, flow diagrams, and class diagrams using Python code.

What it does

  • Turn a short plain-English sentence into a clean Azure architecture diagram (PNG).
  • Uses the Python diagrams package and Azure icons behind the scenes.
  • Saves images into the diagrams/ folder in this project.

Features

The Diagrams MCP Server provides the following capabilities:

  1. Generate Diagrams: Create Azure diagrams using Python code
  2. Multiple Diagram Types: Support for Azure architecture, sequence diagrams, flow charts, class diagrams, and more
  3. Customization: Customize diagram appearance, layout, and styling

What you’ll need

  1. Visual Studio Code installed → Download here
  2. GitHub Copilot → Enable here
  3. Python → we’ll install this in the steps below
  4. GraphViz (a small program that actually draws the diagrams) → [Download here](https://graphviz.org/downl
Read from source at commit d5aca3f612beOBSERVED · 2026-10-09
Advertisement
02

Exposed tools (1)

1 read · 0 write · 0 destructive.

ToolRiskDescription
get_diagram_examplesreadGet example code for different types of diagrams (Azure only).
03

Trust audit

BLOCKgrade D · trust 63/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
UNDECLARED (1 observation(s))
Network
declared (2 observation(s))
Shell
declared (7 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (10)

HIGHCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
azure_diagram_mcp_server/scanner.py:190
'B506': 'Use of yaml.load() can result in arbitrary code execution. Use yaml.safe_load() instead.',
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
azure_diagram_mcp_server/diagrams_tools.py:144
exec(code, namespace)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
azure_diagram_mcp_server/scanner.py:80
('exec(', 'Code execution detected'),
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
azure_diagram_mcp_server/scanner.py:81
('eval(', 'Code evaluation detected'),
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
azure_diagram_mcp_server/scanner.py:152
'exec(',
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
azure_diagram_mcp_server/scanner.py:153
'eval(',
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHNetwork egress · net.tls_off · CWE-200, CWE-319
azure_diagram_mcp_server/scanner.py:189
'B501': 'Request with verify=False disables SSL certificate verification and is not secure.',
Why it matters. certificate verification is disabled
Fix. leave verification on
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
azure_diagram_mcp_server/diagrams_tools.py:276
service_module = importlib.import_module(module_path)
MEDIUMFilesystem / path · fs.destructive · CWE-22, CWE-59
.devcontainer/Dockerfile:8
&& rm -rf /var/lib/apt/lists/*
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
diagrams, mcp, pydantic, bandit, setuptools, starlette, urllib3
Why it matters. 7 requirement(s) not pinned with ==
Fix. pin exact versions

Gates applied: no_behavioural_pass.

Audited 2026-10-09 · audit v0.4.1 · source sha d5aca3f612befull audit observations/trust-audit/mcp-server/dminkovski__azure-diagram.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-09d5aca3f612beBLOCKD63first audit
05

Questions

What is the Azure Diagram MCP server?

MCP server that turns natural-language prompts into Microsoft Azure architecture diagrams (PNG) using Python Diagrams + Graphviz.

What tools does Azure Diagram expose?

1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Azure Diagram safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (63/100) and found 7 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does Azure Diagram need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (d5aca3f612be), read on 2026-10-09. The repository is watched and re-audited when it changes.

Advertisement