AI Diagram Maker MCP Server
Server Details
MCP server for AI Diagram Maker — generate software engineering diagrams from natural language, code, ASCII diagram, images, or Mermaid. Inline diagram rendering using MCP apps UI and diagram URL in responses. Works with Cursor, Claude Desktop, Claude Code, and any MCP-compatible AI.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.2/5 across 5 of 5 tools scored.
Each tool has a clearly distinct input source: ASCII art, images, JSON, Mermaid code, and natural language text. The descriptions explicitly differentiate when to use each tool based on the input format, with no overlap in purpose. An agent can easily select the correct tool based on the user's input type.
All tool names follow a consistent verb_noun pattern with 'generate_diagram_from_' as a prefix, followed by the specific input type (e.g., 'ascii', 'image', 'json'). This predictable naming convention makes it easy to understand the tool's function and maintain uniformity across the set.
With 5 tools, this server is well-scoped for its purpose of generating diagrams from various input formats. Each tool covers a distinct and common use case in diagram creation, ensuring the set is comprehensive without being overwhelming. The count aligns with typical MCP server ranges and avoids redundancy.
The tool surface covers all major input formats for diagram generation: ASCII art, images, JSON, Mermaid code, and natural language text. This provides complete coverage for converting diverse sources into diagrams, with no obvious gaps. Agents can handle any diagram request based on the available input type.
Available Tools
5 toolsgenerate_diagram_from_asciiInspect
Convert an ASCII art diagram into a polished visual diagram. Use this tool when the user has an existing ASCII art representation of a system, flow, or architecture and wants it rendered as a proper diagram. Accepts box-drawing characters, arrow representations (-->, ==>), and plain text layouts. Returns a link to view and edit the generated diagram in the browser.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Additional instruction for rendering. Example: "Use a dark theme and add icons" | |
| content | Yes | Raw ASCII art diagram to convert into a polished visual diagram. Include the full ASCII art as-is, with box-drawing characters, arrows, or plain text layout. Example: +--------+ +--------+ | Client | --> | Server | +--------+ +--------+ | |
| diagramType | No | Preferred diagram type. Leave blank to let the AI infer from the ASCII layout. | |
| isIconEnabled | No | Set to true when the user asks to include icons in the diagram. |
generate_diagram_from_imageInspect
Convert an image (whiteboard photo, screenshot, hand-drawn sketch) into a clean diagram. Use this tool when the user provides an image URL or base64-encoded image and wants it converted to a proper software engineering diagram. Accepts public image URLs or base64 data URIs (data:image/...;base64,...). Returns a link to view and edit the generated diagram in the browser.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Instruction describing what to extract or how to render the diagram. Example: "Convert this whiteboard photo into a clean sequence diagram" | |
| content | Yes | Either a public image URL or a base64 data URI of the image to convert. Supported formats: JPEG, PNG, GIF, WebP. For a URL: 'https://example.com/whiteboard.png'. For a data URI: 'data:image/png;base64,iVBORw0KGgo...' | |
| diagramType | No | Preferred output diagram type. Leave blank to let the AI decide based on the image content. | |
| isIconEnabled | No | Set to true when the user asks to include icons in the diagram. |
generate_diagram_from_jsonInspect
Generate a diagram from a JSON structure. Use this tool when the user wants to visualise JSON data such as API responses, database schemas, dependency trees, configuration files, or any structured data. Pass the raw JSON string as content. Returns a link to view and edit the generated diagram in the browser.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Instruction for how to interpret or render the JSON. Example: "Show as an entity relationship diagram with cardinality labels" | |
| content | Yes | A JSON string representing the structure to visualise. This can be API response data, a database schema, a config file, dependency tree, or any other structured JSON. Example: '{"users": [{"id": 1, "orders": [{"id": 101}]}]}' | |
| diagramType | No | Preferred diagram type. Defaults to 'erd' for schemas and 'flowchart' for other JSON. | |
| isIconEnabled | No | Set to true when the user asks to include icons in the diagram. |
generate_diagram_from_mermaidInspect
Convert a Mermaid diagram definition into a D2 diagram and return a PNG image. Use this tool when the user has existing Mermaid code (flowchart, sequenceDiagram, erDiagram, etc.) and wants it converted to D2 or rendered as an image. Pass the Mermaid source as content. Returns a link to view and edit the generated diagram in the browser.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Optional instruction for layout or styling of the converted diagram. | |
| content | Yes | A Mermaid diagram definition to convert to D2. Pass the raw Mermaid source (e.g. flowchart, sequenceDiagram, erDiagram). Example: "flowchart LR A --> B --> C" | |
| diagramType | No | Preferred diagram type for the converted D2 output. | |
| isIconEnabled | No | Set to true when the user asks to include icons in the diagram. |
generate_diagram_from_textInspect
Generate a software engineering diagram from a natural language description. Use this tool when: the user asks to 'create a diagram', 'show me a flowchart', 'visualise the architecture', uses the keyword 'adm' or 'ai diagram maker', or asks for any visual representation of code, systems, processes or data flows. Supported diagram types: flowchart, sequence, ERD, system architecture, network architecture, UML, mindmap, workflow. Returns a link to view and edit the generated diagram in the browser.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Additional styling or layout instruction. Example: "Use left-to-right layout with pastel colors" | |
| content | Yes | Natural language description of the diagram to generate. Be descriptive — include components, relationships, data flows, etc. Example: "Create a microservices architecture with API gateway, auth service, user service, and PostgreSQL database" | |
| diagramType | No | Preferred diagram type. Leave blank to let the AI infer the best type from your description. | |
| isIconEnabled | No | Set to true when the user asks to include icons in the diagram. |
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!