Skip to main content
Glama

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.

MCP client
Glama
MCP server

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.

100% free. Your data is private.
Tool DescriptionsA

Average 4.2/5 across 5 of 5 tools scored.

Server CoherenceA
Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness5/5

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 tools
generate_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.

ParametersJSON Schema
NameRequiredDescriptionDefault
promptNoAdditional instruction for rendering. Example: "Use a dark theme and add icons"
contentYesRaw 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 | +--------+ +--------+
diagramTypeNoPreferred diagram type. Leave blank to let the AI infer from the ASCII layout.
isIconEnabledNoSet 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
promptNoInstruction describing what to extract or how to render the diagram. Example: "Convert this whiteboard photo into a clean sequence diagram"
contentYesEither 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...'
diagramTypeNoPreferred output diagram type. Leave blank to let the AI decide based on the image content.
isIconEnabledNoSet 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
promptNoInstruction for how to interpret or render the JSON. Example: "Show as an entity relationship diagram with cardinality labels"
contentYesA 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}]}]}'
diagramTypeNoPreferred diagram type. Defaults to 'erd' for schemas and 'flowchart' for other JSON.
isIconEnabledNoSet 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
promptNoOptional instruction for layout or styling of the converted diagram.
contentYesA Mermaid diagram definition to convert to D2. Pass the raw Mermaid source (e.g. flowchart, sequenceDiagram, erDiagram). Example: "flowchart LR A --> B --> C"
diagramTypeNoPreferred diagram type for the converted D2 output.
isIconEnabledNoSet 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
promptNoAdditional styling or layout instruction. Example: "Use left-to-right layout with pastel colors"
contentYesNatural 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"
diagramTypeNoPreferred diagram type. Leave blank to let the AI infer the best type from your description.
isIconEnabledNoSet to true when the user asks to include icons in the diagram.

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources