Openflowkit Mcp
io.github.vrun-design/openflowkit-mcp · 597 stars · TypeScript · MIT
MCP server 100% Free, Open-source local-first AI diagramming for architecture diagrams and flowcharts with animated exports.
Install
The repo has no one-line install. Follow its README.
Files
OpenFlowKit MCP Server
Give Claude Desktop, Cursor, Windsurf, or any MCP client first-class diagramming tools.
OpenFlowKit MCP is local-first by design — it runs on your machine over stdio with no API key and no cloud round-trip, and its tools return deterministic output. Your MCP client already has an LLM; this server just gives it diagram-specific tools.
Instead, it gives the agent diagram-specific powers:
- read the OpenFlow DSL reference
- inspect starter templates
- analyze local codebases
- find exact cloud and developer icon slugs
- validate agent-authored DSL
- create shareable OpenFlowKit viewer URLs
No API keys, no telemetry, no account, no server-side storage.
You: Create a checkout flow with a promo-code branch
Claude: reads openflowkit://docs/dsl-cheatsheet
writes OpenFlow DSL itself
calls validate_openflow_dsl
fixes any issues
calls create_viewer_url
returns DSL + viewer link
Install
# No install required; npx fetches the latest published version
npx -y @vrun-design/openflowkit-mcp
# Or install globally
npm install -g @vrun-design/openflowkit-mcp
openflowkit-mcp
Requires Node 18+.
Claude Desktop setup
Edit your Claude Desktop config:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"openflowkit": {
"command": "npx",
"args": ["-y", "@vrun-design/openflowkit-mcp"]
}
}
}
Restart Claude Desktop. You should see openflowkit in the tool picker.
Cursor / Windsurf / other MCP clients
Point the client at the same command:
- command:
npx - args:
["-y", "@vrun-design/openflowkit-mcp"]
The server speaks the standard MCP stdio protocol. Client UIs differ, but the command shape is the same.
Tools
All tools run locally and require no provider key.
Resources
Agents can read these directly:
Provider packs are aws, azure, gcp, cncf, and developer.
Prompts
Clients can surface three prompt templates:
flowchart_from_description— agent writes, validates, and links a flowchartconvert_mermaid_to_openflow— agent converts Mermaid into OpenFlow DSL, validates it, and links itarchitecture_from_codebase— agent scans a local repo, picks icon slugs, validates DSL, and links the result
Recommended agent workflow
Ask your MCP client:
Using the openflowkit MCP server: read openflowkit://docs/dsl-cheatsheet, then write an OpenFlow DSL flowchart for checkout with cart, shipping, promo-code decision, payment, Stripe webhook, and confirmation. Call validate_openflow_dsl, fix any issues, then call create_viewer_url. Return the final DSL and viewer URL.
For architecture diagrams:
Using openflowkit: call analyze_codebase on /path/to/project, read openflowkit://docs/dsl-cheatsheet, use find_icon for exact architecture icons, write OpenFlow DSL, validate it, then create a viewer URL.
Privacy model
- No telemetry. The server never phones home.
- No provider keys. The MCP client model authors diagrams directly.
- No OpenFlowKit account. Viewer URLs encode the DSL locally in the URL hash.
- Local filesystem access only when requested. Codebase analysis only reads the path passed to
analyze_codebase.
Development
This package lives in the openflowkit monorepo.
# From the repo root
npm install --workspace=mcp-server
npm run --workspace=mcp-server build
npm run --workspace=mcp-server test:run
# Run locally against the MCP Inspector
npx @modelcontextprotocol/inspector dist/index.js
The MCP Inspector gives you a UI to manually call every tool, browse every resource, and verify client behavior before publishing.
Facts
- Kind
- MCP server
- Repo
- io.github.vrun-design/openflowkit-mcp
- Group
- Uncategorized
- Stars
- 597
- License
- MIT
- Language
- TypeScript
- Last push
- 2026-10-09
- Forks
- 172
- Homepage
- openflowkit.com
- Topics
- ai, architecture-diagrams, code-to-diagram, design-tool, developer-tools, diagramming, flowchart, local-first, mermaid, open-source, react, self-hosted, system-design, typescript
- 1Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 2Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k
- 3Gitmodelcontextprotocol/serversA Model Context Protocol server for Git repository interaction and automation. This server provides tools to read, search, and manipulate Git repositories via Large Language Models.85.8k
- 4Memorymodelcontextprotocol/serversA basic implementation of persistent memory using a local knowledge graph. This lets Claude remember information about the user across chats.85.8k
- 5Sequential Thinkingmodelcontextprotocol/serversAn MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.85.8k
- 6Timemodelcontextprotocol/serversA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.85.8k