Enables creation and validation of workflow diagrams using FlowZap's visual diagramming tool and FlowZap Code DSL, generating shareable playground URLs for workflow visualizations.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FlowZap MCP Servercreate a flowchart for user login with forgot password option"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FlowZap MCP Server
Create sequence and workflow diagrams using AI assistants like Claude, Cursor, and Windsurf.
FlowZap is a visual workflow diagramming tool with a text-based DSL called FlowZap Code. This MCP server lets AI assistants create diagrams for you.
What is FlowZap?
FlowZap turns text prompts into dual-view diagrams (Flowchart & Sequence diagrams) using FlowZap Code DSL. It is NOT Mermaid, NOT PlantUML - it is a unique domain-specific language designed for simplicity and AI generation.
Key Facts:
Only 4 shapes:
circle,rectangle,diamond,taskboxNode attributes use colon:
label:"Text"Edge labels use equals:
[label="Text"]Handles required:
n1.handle(right) -> n2.handle(left)
Installation
For Claude Desktop
Add to your claude_desktop_config.json:
Config file locations:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
For Cursor
Add the same configuration to your Cursor MCP settings.
For Windsurf IDE
Add to ~/.codeium/windsurf/mcp_config.json:
Windows Users: If tools don't appear, use the absolute path:
"command": "C:\\Program Files\\nodejs\\npx.cmd"
Available Tools
Core Tools
Tool | Description |
| Validate FlowZap Code syntax |
| Create a shareable diagram URL |
| Get FlowZap Code syntax documentation |
Agent-Focused Tools (v1.1.0+)
Tool | Description |
| Export FlowZap Code as structured JSON graph (lanes, nodes, edges) for reasoning |
| Parse HTTP logs, OpenAPI specs, or code into FlowZap diagrams |
| Compare two versions of FlowZap Code and get structured diff |
| Apply structured patch operations (insert/remove/update nodes/edges) |
Usage Examples
Basic Diagram Creation
Ask your AI assistant:
"Generate a Sequence diagram of the current Sign In flow implemented in this App"
"Create a workflow diagram for an order processing system"
"Make a flowchart showing user registration flow"
"Diagram a CI/CD pipeline with build, test, and deploy stages"
Agent-Focused Workflows
Parse HTTP Logs into Diagrams:
The agent uses flowzap_artifact_to_diagram with artifactType: "http_logs".
Analyze Diagram Structure:
The agent uses flowzap_export_graph to get a JSON graph, then queries it.
Show What Changed:
The agent uses flowzap_diff to compare old and new code.
Safe Incremental Updates:
The agent uses flowzap_apply_change with a structured patch instead of regenerating.
The assistant will:
Generate FlowZap Code based on your description
Validate the code
Create a playground URL to view the diagrams and share
FlowZap Code Example
Security
No authentication required - Uses only public FlowZap APIs
No user data access - Cannot read your diagrams or account
Runs locally - The MCP server runs on your machine
SSRF protected - Only connects to flowzap.xyz
Rate limited - 30 requests/minute client-side
Input validation - 50KB max code size
Links
License
MIT