Best diagram tools for AI assistants: six MCP servers compared

Flowgraph Studio, Mermaid Chart, Eraser, Lucid, Miro and draw.io all let Claude, Cursor and other assistants work with diagrams over MCP. How each signs in, what it can change, and what you can undo.

Roundups · · 6 min read

Flowgraph Studio is our product. We've tried to describe the other tools fairly, from their own documentation as of December 2026.

Most diagram tools can now be reached from an AI assistant. Each publishes an MCP server, and Claude, Claude Code, Cursor or VS Code connect to it. Drawing a first diagram from a prompt works in all of them. The differences show up on the second request, when the assistant changes a diagram someone else depends on.

So we weigh three things most:

  • Signing in. Can you connect without handing over a long-lived secret, and see and revoke the connection afterwards?
  • Checking before saving. Can the assistant validate and preview its work before it overwrites anything?
  • Undo. If the change is wrong, or collides with someone else's edit, is the earlier version safe?
A Flowgraph Studio diagram of an assistant's edit loop: write Mermaid, validate it, render a preview to review, update with the version last read, and keep the previous state in version history
The loop we look for: check, preview, save with the version you read, keep the old one.

At a glance

Tool Signs in with Works in Checks before saving Assistant saves and edits on a free plan
Flowgraph Studio OAuth, or an API key Mermaid Validate and render tools No: Pro and Pro Max (Free keeps 25 diagrams, edited in the app)
Mermaid Chart OAuth, or a token Mermaid A validate-and-render tool A free account works, per its docs
Eraser OAuth, or an API key Eraser diagrams Not described Yes, within free-tier limits
Lucid OAuth; API key on Team and Enterprise Lucid documents Not described Yes
Miro OAuth Miro boards Not described Yes
draw.io No account (hosted app) draw.io XML, Mermaid, PlantUML, CSV Shows the diagram in chat Doesn't store diagrams

"Not described" means the tool's MCP documentation doesn't mention it, not that the tool can't do it.

1. Flowgraph Studio: best for diagram changes you can review and undo

Flowgraph Studio's server, at https://flowgraph.studio/mcp, works in Mermaid. Its tools are:

  • validate_mermaid, render_diagram and search_icons, on every plan;
  • list_diagrams, get_diagram, create_diagram and update_diagram, for saved diagrams on Pro and Pro Max.

The assistant checks its Mermaid before saving: validate_mermaid returns the error and its line, and render_diagram shows a preview with the editor's themes and icons. An update must send the version the assistant last read. If the diagram changed since, nothing is saved, and the assistant is told the current version. Either way the previous state stays in version history. There is no delete tool.

Assistants connect by signing in with OAuth: an approval page names the app, the account and what it may do. The connection is then listed in Account settings with your API keys, where you can revoke it. A key still works for CI and for clients that can't sign in. Checking and rendering use your monthly API renders: 50 on Free, 5,000 on Pro.

Connect by signing in · The MCP tools · Pricing

2. Mermaid Chart: best for Mermaid in Claude's chat, on a free account

Mermaid Chart, from the team behind Mermaid, runs two servers:

  • The MCP server, at https://mcp.mermaid.ai/mcp, signs in with OAuth 2.1 and dynamic client registration, or with a token you paste. Its tools validate and render Mermaid to PNG or SVG, list projects and diagrams, and create, read and update diagrams. Its docs say authentication is free, with no paid plan required.
  • A separate Claude app shows an interactive diagram widget in the chat and adds a repair_diagram tool, which uses AI credits when it succeeds. That app's update tool is marked as overwriting the existing diagram.

The docs don't mention a version check on updates, or how to undo one. Choose it when your team already works in Mermaid Chart.

MCP server · Claude app · Flowgraph vs Mermaid Chart for AI assistants

3. Eraser: best for generating and exporting in many formats

Eraser's server, at https://app.eraser.io/api/mcp, signs in with OAuth or takes an API key for pipelines. It has the broadest set of tools in this list:

  • generate and edit diagrams from natural language, or create them by hand;
  • manage documents, files, folders and presets, and search;
  • export to PNG, SVG, PDF, draw.io, Visio, PowerPoint and more;
  • delete diagrams.

AI generation uses Eraser's AI credits, and the free tier's limits apply. Diagrams made through OAuth are private to you by default. Its MCP page doesn't describe undoing a change.

Eraser MCP · Flowgraph vs Eraser for AI diagram edits

4. Lucid: best for searching and editing an existing Lucid library

Lucid's server, at https://mcp.lucid.app/mcp, searches your Lucid documents, creates diagrams, edits them and exports them as PNG. It signs in with OAuth; Team and Enterprise accounts can use an API key instead.

There's also a read-only address, /mcp/readonly, for assistants that should only search and view. That's a sensible option when you're unsure what an assistant might change. The server works on every Lucid plan, including Free, though Team and Enterprise admins must turn it on first. An assistant can open any document you can, except ones owned by people outside your account.

Lucid MCP server · Flowgraph vs Lucidchart

5. Miro: best when the diagram lives on a team board

Miro's server, at https://mcp.miro.com, signs in with OAuth 2.1 and dynamic client registration. It works with a curated set of board objects (frames, sticky notes, shapes, text, cards, tables and images) and generates architecture, sequence and ER diagrams on the board. It can also summarise boards and act on comments.

It follows your existing board permissions and works on every Miro plan. A connection covers one team at a time, and on Enterprise it may be off until an admin enables it.

Miro MCP · FAQ · Flowgraph vs Miro

6. draw.io: best for a quick diagram with no account

draw.io's hosted server, at https://mcp.draw.io/mcp, needs no account and doesn't store your diagrams. It draws the diagram in the chat, from draw.io XML, Mermaid, PlantUML or CSV. A local server (npx @drawio/mcp) opens the result in the draw.io editor instead, and a Docker image lets you host the server yourself. Since nothing is saved for you, there's nothing to sign in to, and nothing to revoke. Keep the file wherever you keep your diagrams.

draw.io MCP server · Flowgraph vs draw.io

Try them with the same two requests

Connect two of these to the same assistant, and ask each:

Draw our checkout flow: a page calls the Payments API, which charges a card provider and writes to a ledger. Save it.

Then, after editing the diagram yourself in the tool's own editor:

Add a fraud check before the card provider, with a manual review path. Keep everything else.

The second request shows the most. Does the assistant work from the version you just edited, or from the one it remembers? Can you see what it changed? Can you get the earlier version back?

More from the blog

Follow the blog by RSS