AI Diagram Prototype Generator

v1.0.0Developer Toolsstable

AI Diagram & Prototype File Generator (MCP Server)

ai-diagram-prototype-generator-mcp-servermcpai-integration
Share:
70
Stars
0
Downloads
0
Weekly
0/5

What is AI Diagram Prototype Generator?

AI Diagram Prototype Generator is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ai diagram & prototype file generator (mcp server)

AI Diagram & Prototype File Generator (MCP Server)

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • AI Diagram & Prototype File Generator (MCP Server)

Use Cases

Generate professional diagrams from natural language descriptions.
Create interactive prototypes automatically.
Design visual interfaces through AI.
SimonUTD

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx ai-diagram-prototype-generator-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use AI Diagram Prototype Generator

AI Diagram Prototype Generator MCP Server provides AI assistants with the ability to generate professional diagrams and interactive prototype files directly from natural language descriptions, saving outputs to disk. It supports over a dozen diagram types including system architecture diagrams in draw.io XML format, HTML web prototypes, and styled mobile UI mockups following Apple HIG or WeChat Mini Program guidelines. The server connects to ZhipuAI, OpenAI, or Google Gemini as the backend AI provider for generation tasks.

Prerequisites

  • Python 3.10 or higher with pip or uv package manager installed
  • An API key from at least one supported provider: ZhipuAI (zhipuai.cn), OpenAI, or Google Gemini
  • An MCP-compatible client such as Claude Desktop, Coze, or Dify
  • Output directory created and writable for generated files
1

Clone the repository and create a virtual environment

Clone the project and set up an isolated Python environment.

git clone https://github.com/SimonUTD/AI-Diagram-Prototype-Generator-MCP-Server-.git
cd AI-Diagram-Prototype-Generator-MCP-Server-
python -m venv .venv
source .venv/bin/activate
2

Install dependencies

Install the required Python packages from requirements.txt.

pip install -r requirements.txt
3

Set up environment variables for your AI provider

Copy the example .env file and configure your chosen AI provider and API key.

cp .env.example .env
# Edit .env — for Gemini:
# PROVIDER=gemini
# GEMINI_API_KEY=AIzaSyXXXXXXXXXXXXXXX
# GEMINI_MODEL=gemini-1.5-pro
4

Create an output directory for generated files

The server writes generated diagrams and prototypes to the path you provide. Create the output directory in advance.

mkdir -p output
5

Configure your MCP client

Add the server to your Claude Desktop configuration file, pointing to the virtual environment's Python binary.

{
  "mcpServers": {
    "diagram-generator": {
      "command": "/path/to/.venv/bin/python",
      "args": ["/path/to/AI-Diagram-Prototype-Generator-MCP-Server-/server.py"],
      "env": {
        "PROVIDER": "gemini",
        "GEMINI_API_KEY": "AIzaSyXXXXXXXXXXXXXXX",
        "GEMINI_MODEL": "gemini-1.5-pro"
      }
    }
  }
}

AI Diagram Prototype Generator Examples

Client configuration

Claude Desktop configuration for AI Diagram Prototype Generator using Google Gemini as the backend provider.

{
  "mcpServers": {
    "diagram-generator": {
      "command": "/Users/you/projects/AI-Diagram-Prototype-Generator-MCP-Server-/.venv/bin/python",
      "args": ["/Users/you/projects/AI-Diagram-Prototype-Generator-MCP-Server-/server.py"],
      "env": {
        "PROVIDER": "gemini",
        "GEMINI_API_KEY": "AIzaSyXXXXXXXXXXXXXXX",
        "GEMINI_MODEL": "gemini-1.5-pro"
      }
    }
  }
}

Prompts to try

Example prompts using the generate_diagram and list_support_diagram_types tools.

- "List all supported diagram types and output formats"
- "Generate a flowchart for the user registration process and save it as ./output/register-flow.drawio"
- "Create an Apple HIG-styled mobile app prototype for a task management app and save as ./output/tasks-app.html"
- "Generate a service blueprint for an online food delivery platform and save to ./output/delivery-blueprint.html"

Troubleshooting AI Diagram Prototype Generator

generate_diagram returns an error about an unsupported prompt_id

Use list_support_diagram_types first to see valid prompt_id values (e.g. 'architecture', 'flowchart', 'apple_mobile'). Diagram type identifiers are case-sensitive and must match exactly.

Server fails to start — ModuleNotFoundError

Make sure you activated the virtual environment (source .venv/bin/activate) before installing dependencies, and that the command in your MCP config points to .venv/bin/python, not the system Python.

Generated draw.io file appears blank when opened

Ensure the output path in output_file uses an absolute path or a path relative to the server's working directory. Verify the output/ directory exists and is writable before calling generate_diagram.

Frequently Asked Questions about AI Diagram Prototype Generator

What is AI Diagram Prototype Generator?

AI Diagram Prototype Generator is a Model Context Protocol (MCP) server that ai diagram & prototype file generator (mcp server) It connects AI assistants to external tools and data sources through a standardized interface.

How do I install AI Diagram Prototype Generator?

Follow the installation instructions on the AI Diagram Prototype Generator GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with AI Diagram Prototype Generator?

AI Diagram Prototype Generator works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is AI Diagram Prototype Generator free to use?

Yes, AI Diagram Prototype Generator is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "ai-diagram-prototype-generator-mcp-server": { "command": "npx", "args": ["-y", "ai-diagram-prototype-generator-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use AI Diagram Prototype Generator?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides