
AI Diagram Maker
io.github.erajasekarPublished by GitHub account erajasekarv1.0.0Updated Oct 24, 2026
Generate software diagrams from natural language, code, ASCII, images, Mermaid.
The publisher's own server: Diagram
Overview
Turns natural language, JSON, ASCII, images or Mermaid into software diagrams (flowchart, sequence, ERD, architecture, UML) via the AI Diagram Maker service.
- What you can do
- Generate diagrams from a plain-English description, with an optional diagram type and styling prompt
- Convert JSON structures such as API responses, schemas or config files into a diagram
- Turn ASCII art or a whiteboard photo, screenshot or image URL into a clean diagram
- Convert Mermaid source into D2 and return a PNG image
- Return a diagram URL and render diagrams inline in the chat
- When to use it
- Useful when you want an assistant to sketch architecture, sequence, ERD or UML diagrams while you work in Cursor, Claude Desktop, Claude Code or another MCP client, including turning existing Mermaid, JSON or whiteboard images into polished diagrams.
- Requirements
- Either the hosted HTTP endpoint (no install) or the local npm package run with npx, which needs Node.js 18+. An AI Diagram Maker account and API key are required: sent as the X-ADM-API-Key or Authorization Bearer header for HTTP, or as the ADM_API_KEY environment variable for stdio. Network access to the service is needed.
Installation
In SourceWeft
- Open AI Diagram Maker in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
AI Diagram Maker MCP Server
MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent.
- ai-diagram-maker-mcp 🌐 ☁️ - Generate professional software diagrams from plain English descriptions. [erajasekar/ai-diagram-maker-mcp MCP server]
Features
- 5 tools covering every input type: natural language text, code, ASCII diagram, images, and Mermaid
- Inline rendering — diagrams appear directly in the chat using MCP Apps UI, no downloads
- Diagram URL in responses — open it in your browser to view and edit the diagram
- 5 diagram types: flowchart, sequence, ERD, system architecture, UML
- Supports both stdio (local) and HTTP/Streamable HTTP (remote) transports
Contents
- Prerequisites
- Hosted MCP server
- Installation
- MCP client configuration
- Environment variables
- Tools
- Trigger keywords
- Local developer setup
- License
Prerequisites
- Node.js 18+
- An AI Diagram Maker account and API key
Hosted MCP server
The public MCP endpoint is https://mcp.aidiagrammaker.com/mcp (Streamable HTTP). Nothing to install for this option.
Authentication (HTTP)
For remote HTTP clients, send your API key on every request — not via environment variables:
X-ADM-API-Key: <your_api_key>(recommended), orAuthorization: Bearer <your_api_key>
Use the API key from your AI Diagram Maker account (see Prerequisites).
Remote server JSON example
Merge this into your client’s MCP config (replace the API key placeholder):
Installation
Option A — hosted server (recommended)
Use the remote server JSON example above and wire it into your client using MCP client configuration. No global install.
Option B — run locally with npx
Nothing to install permanently — npx runs the package on demand. The package name is ai-diagram-maker-mcp; append @latest if you want every invocation to resolve the newest release (recommended for one-off runs and claude mcp add).
MCP client configuration
Cursor
Remote (recommended)
Add to ~/.cursor/mcp.json or Settings → MCP using the remote server JSON example. No environment variables are required for this setup.
Local (stdio)
Optional: add "ADM_DEBUG": "1" to env for debug logging — see Environment variables.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Claude Code
macOS
Windows
HTTP transport (local or self-hosted)
To run an HTTP server yourself (same header-based auth as Authentication (HTTP)):
The server listens on $PORT or 3001. Point clients at /mcp and send the API key with each request using the headers above.
Environment variables
Tools
generate_diagram_from_text
Generate a diagram from a natural language description.
Example prompts:
- "Create a microservices architecture with API gateway, auth service, user service, and PostgreSQL database"
- "Draw a sequence diagram for user login flow with JWT token generation"
- "adm show the CI/CD pipeline for a Next.js app deployed to Vercel"
generate_diagram_from_json
Convert a JSON structure into a diagram (great for API responses, database schemas, config files).
generate_diagram_from_ascii
Convert ASCII art into a polished diagram.
generate_diagram_from_image
Convert a whiteboard photo, screenshot, or any image into a clean diagram.
generate_diagram_from_mermaid
Convert a Mermaid diagram definition to D2 and return a PNG image.
Trigger keywords
The AI agent will automatically select the right tool when you use phrases like:
adm ...ai diagram maker ...create a diagram of ...show me a flowchart / sequence diagram / ERD / architecture ...visualise / draw / diagram ...
Local developer setup
Use these steps to clone the repo, build locally, and run the MCP server with Node.
1. Clone the repository
2. Install dependencies
3. (Optional) Regenerate API client
If you change the AI Diagram Maker OpenAPI spec or config, regenerate the client:
4. Build
This compiles TypeScript and builds the MCP app UI into dist/. The server entrypoint is dist/index.js.
5. Run the local MCP server
stdio (default) — for use with Cursor, Claude Desktop, etc.:
Or use the npm script:
HTTP transport — for remote clients or testing (same headers as Authentication (HTTP)):
Or:
The HTTP server listens on $PORT (default 3001).
6. Use the local server in Cursor
Point Cursor at your built server via Settings → MCP (or ~/.cursor/mcp.json):
Replace /absolute/path/to/ai-diagram-maker-mcp with the actual path to your cloned repo. After changing the config, restart Cursor or reload the MCP servers.
For debug logging, add "ADM_DEBUG": "1" to env — see Environment variables.
License
MIT
Source: README.md at commit f24e513
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Diagram integrations

Diagram
la.diagramOfficial publisher
Saves diagrams drawn by the assistant and returns a shareable link that stays current as the diagram is edited.
NativeDiagram
Published by GitHub account ChanMo
A remote MCP server that lets an assistant create native, editable SmartArt diagrams for Microsoft Word and PowerPoint.

Network Diagram Mcp
Published by GitHub account den-indance
Local bridge that lets an AI assistant build and edit network topology diagrams in the NetMap browser app, including nmap and CSV imports.
VoltPlan Wiring Diagrams
Published by GitHub account YUZU-Hub
Sizes 12V/24V/48V electrical systems for boats, vans and off-grid builds and generates wiring diagrams an assistant can show and open in an editor.

Vaults Diagram Tools
Published by GitHub account Malnati
A local stdio MCP server that lets an assistant render Mermaid diagrams to SVG/JPEG assets and generate Mermaid diagrams from source code.