Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 logo

Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器

Community
dminkovski

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

Publisherdminkovski
Repositoryazure-diagram-mcp
LanguagePython
Forks
14
Stars
26
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    26 stars and 14 forks from the linked repository.

Model Context Protocol (MCP) server for Microsoft Azure Diagrams

License: MIT Python Made with Diagrams

GitHub Copilot Prompt Sample

AKS App Gateway Azure SQL Architecture Diagram

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 Don’t worry — we’ll go step by step!

Setup Steps or use .devcontainer

1. Install Python

Open a terminal (Command Prompt, PowerShell, or VS Code Terminal) and run:

bash
winget install Python.Python.3.10

⚠️ Make sure the Python installation path is added to your system's environment variables so that python works in the terminal.
Typically, the installer does this automatically, but if not, you can follow this guide.

2. Install GraphViz

Download and install from: https://graphviz.org/download/ On Windows: pick the MSI installer. On Mac: use Homebrew (brew install graphviz).

3. Get the MCP Server

Clone this repository (or download the ZIP and unzip it). Then open it in VS Code.

In the VS Code terminal, run:

bash
pip install -r requirements.txt

4. MCP Configuration

Configure the MCP server in your MCP client configuration (e.g., for Visual Studio Code GitHub Copilot ~/.vscode/mcp.json):

json
{
  "mcpServers": {
    "Azure Diagram MCP Server": {
      "type": "stdio",
      "command": "python",
      "args": [
        "-m", "azure_diagram_mcp_server.server"
      ],
      "cwd": "PARENT_FOLDER_OF_CLONED_REPO",
    }
  }
}

or docker after a successful docker build -t azure-diagram-mcp-server .:

json
  {
    "mcpServers": {
      "Azure Diagram MCP Server": {
        "command": "docker",
        "args": [
          "run",
          "--rm",
          "--interactive",
          "--env",
          "azure-diagram-mcp-server:latest"
        ],
        "disabled": false,
        "autoApprove": []
      }
    }
  }

That’s it! 🎉 You now have everything installed.

Using it with GitHub Copilot

  1. Open up VS Code GitHub Copilot Agent Mode

  2. Type the following into the chat:

    Generate an Azure Architecture Diagram with an Azure Function connected to a SQL Database through a Load Balancer
  3. GitHub Copilot will want to execute the MCP Function generate_diagram. Please click on Allow to continue.

  4. A PNG image will be created in the diagrams folder. Open it and admire your Azure diagram! 🚀

Example prompt ideas

  • Generate an Azure Architecture Diagram with an Azure Function connected to a SQL Database through a Load Balancer
  • Generate an Azure Architecture Diagram for a simple web app: Azure Front Door to App Service with Azure SQL
  • Generate an Azure Architecture Diagram to show an AKS cluster with Application Gateway and Azure SQL

Example Diagram

Generate an Azure Architecture Diagram to show an AKS cluster with Application Gateway and Azure SQL

GitHub Copilot Prompt Sample

AKS App Gateway Azure SQL Architecture Diagram

Troubleshooting

  • No image appears? Make sure GraphViz is installed (see step 2).
  • Copilot doesn’t run? Make sure the GitHub Copilot extension is enabled and that you allowed it to run MCP functions. Check the MCP server too.
  • Still stuck? Restart VS Code and try again.

✨ That’s it! You can now create Azure diagrams in minutes with just a few words and GitHub Copilot.

Installation

TypingMind
{
  "mcpServers": {
    "azure-diagram-mcp": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "--interactive",
        "azure-diagram-mcp-server:latest"
      ]
    }
  }
}

Use Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "azure-diagram-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 to help me with this task?
Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器
Sure. I read it.
Here is what I found using Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器.

Frequently asked questions

What is the Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 MCP server used for?

Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 MCP to TypingMind?

Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 MCP provide in TypingMind?

Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Microsoft Azure 架构图的 Model Context Protocol (MCP) 服务器 requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇