Skip to content
Skillpedia
βœ“ Official Β· OpenFlowKit● Free and open sourceπŸ’» LocalπŸ”“ No API keyDesign and media

OpenFlowKit

Lets your AI agent draw and edit architecture diagrams on a live canvas or in diagram files, and map a codebase.

931 stars on GitHubby OpenFlowKitLicense MITUpdated 21 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add openflowkit -- npx -y openflowkit mcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Draw the architecture of this repository.
Make the boxes I selected red and add a cache in front of the API.

What it is

OpenFlowKit is a free, open-source diagram app that works from text, canvas or an AI agent. The MCP server lets your agent create a diagram, restyle it and take a screenshot to check its own work, with each change as one undo step. It can also edit diagram files in your repository and map a codebase.

What it can do

  • create_diagram: draw a diagram from text or Mermaid
  • update_diagram: change an existing diagram
  • add_shape, style, move, delete: edit what is on the canvas
  • get_document, get_diagram, list_pages: read the diagrams
  • screenshot: let the agent see its own result
  • export: SVG, PNG, PDF, JSON or animated SVG
  • discover_architecture, drift_report: map a repository and compare it to a diagram

When to use

  • β€ΊWhen you want your agent to draw the architecture of your repository
  • β€ΊWhen you want to turn a Mermaid diagram from your README into an editable one
  • β€ΊWhen you want to check whether a saved diagram still matches the code

What you need

Node.js 20.11 or newer, since it runs with npx -y openflowkit mcp. No account is needed. For a live canvas, open the app at app.openflowkit.com and click Connect agent.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. It is described as free, open source (MIT), local-first, and needing no account.

Which agents work with it?

Claude Code, Cursor, VS Code, Claude Desktop, Windsurf and Codex run it locally. Chat apps such as claude.ai and ChatGPT can use a hosted connector at https://mcp.openflowkit.com/mcp.

What diagram types does it support?

Architecture, sequence, flowchart, ERD, state, class, mind map, git graph, chart and wireframe.

Can I undo what the agent does?

Yes. Every agent change on the live canvas is one undo step.

Can it work without the app open?

Yes. With no app open, the same tools edit .openflow.json files in your repo.

How many tools does it have?

29: sixteen editor operations and thirteen for files and repositories.

If it does not work

  • β€ΊRestart the agent after adding the server, then click Connect agent in the app.
  • β€ΊCheck that Node.js 20.11 or newer is installed.
  • β€ΊSee app.openflowkit.com/#/connect for step-by-step instructions for each client.

5 new skills a week. 1 minute to read.