Skip to main content
MCP server CX Codex

openflowkit-mcp — Claude Code MCP server: diagrams and setup

Let an agent draw architecture diagrams on the OpenFlowKit canvas or work with diagram files. Useful when you want a project map or need to revise a diagram with an agent.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add openflowkit-mcp -- npx -y openflowkit
Open on GitHub

What openflowkit-mcp does

The agent can create and restyle a diagram on the OpenFlowKit canvas, then inspect a screenshot of its work. Each change is undoable on its own. The text view and canvas represent the same diagram: editing the text regenerates the drawing, and Mermaid, Structurizr, and D2 diagrams can be converted.

OpenFlowKit can map a GitHub project’s components and connections, with each connection tied to a source file and line. For a private repository, use a read-only GitHub token or map a local checkout with npx openflowkit map . --html map.html. In Claude Code, the MCP server starts through npx; the project map depends on access to the repository.

What it helps with

  • draw an architecture diagram from an agent request
  • map GitHub repository components and their connections
  • regenerate a diagram after changing its text description
  • convert Mermaid, Structurizr, or D2 diagrams

Example prompts for the agent

  • Draw this project's architecture on the OpenFlowKit canvas.
  • Map this GitHub repository and label connections with their source files and lines.
  • Convert this Mermaid diagram into an OpenFlowKit diagram.

How to install openflowkit-mcp

Platform CLI

claude mcp add openflowkit-mcp -- npx -y openflowkit

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about openflowkit-mcp

How do I install openflowkit-mcp in Claude Code?

Run claude mcp add openflowkit-mcp -- npx -y openflowkit. This registers the MCP server, which runs through npx.

What does openflowkit-mcp do?

It connects an agent to OpenFlowKit so the agent can draw architecture diagrams on the canvas and edit diagrams as text.

Which diagram formats can it convert?

OpenFlowKit can convert Mermaid, Structurizr, and D2 diagrams. Diagrams can also be exported as PNG, SVG, PDF, or JSON.

Similar MCP servers

Everything for Design →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor