openflowkit
v0.2.4
Published
The OpenFlowKit CLI: render Mermaid, D2, Structurizr or OpenFlow DSL to SVG, validate diagrams in CI, map a repo. Same as @openflowkit/openflowkit-mcp.
Maintainers
Readme
openflowkit
The OpenFlowKit command line. Turn diagram text into SVG, check diagrams in CI, and map a repository.
npx openflowkit render flow.mmd -o flow.svg # Mermaid, D2, Structurizr or OpenFlow DSL → SVG
npx openflowkit convert flow.mmd -o flow.openflow.json # → a file you can open and edit in the app
npx openflowkit validate flow.ofk # line-by-line errors; exit 1 on a broken diagram
npx openflowkit discover . # propose an architecture model from the repo
npx openflowkit map . --html map.html # what the repo is made of, as a page
npx openflowkit --help # every command
npx -y openflowkit mcp # the MCP server for Claude Code, Cursor and other agentsInstall it once with npm i -g openflowkit, then run openflowkit ….
For Claude Code: claude mcp add openflowkit -- npx -y openflowkit mcp. The engine is @openflowkit/openflowkit-mcp; both names run the same thing. Docs: docs.openflowkit.com/cli.
MIT licensed.
