FlowZap MCP Server
Create, validate, inspect, and modify FlowZap Code diagrams through MCP tools.
Validate FlowZap Code syntax before creating diagrams.
Create shareable playground URLs for workflow, sequence, or architecture views.
Retrieve FlowZap Code syntax documentation and examples.
Export diagrams as structured JSON graphs for analysis and querying.
Convert HTTP logs, OpenAPI specs, or code snippets into diagrams.
Compare two FlowZap Code versions with structured diffs.
Apply safe patch operations to insert, remove, or update nodes and edges.
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 "Deploy 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 Server create 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 workflow, sequence, architecture, and mind map diagrams using AI assistants like Claude, Cursor, Antigravity, and Devin Desktop, plus any other MCP-compatible tool.
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 quad-view diagrams (Workflow, Sequence, Architecture & Mind Map) 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)Lane display label must be on the same line as the opening brace:
laneName { # LabelSequence diagram quality: every cross-lane request needs a matching response edge before the next major request; define edges in chronological order; keep a strict request → response → next request rhythm; no orphaned nodes
Related MCP server: Draw.io MCP Server
Installation
The FlowZap MCP Server works with any tool that supports the Model Context Protocol (MCP):
All Compatible Coding Tools
Tool | How to Configure |
Claude Desktop | Add to |
Claude Code | Run: |
Cursor | Add to |
Antigravity (Google) | Add to |
Devin Desktop (formerly Windsurf) | Add to |
GitHub Copilot (VS Code) | Run |
OpenAI Codex | Add to |
Gemini CLI | Add to |
Warp Terminal | Settings → MCP Servers → Click "+ Add" → Paste the JSON config. |
Zed Editor | Add to |
Cline (VS Code) | Open Cline sidebar → MCP Servers icon → Edit |
Roo Code (VS Code) | Add to |
Continue.dev | Create |
Hosted agents: Replit, Lovable.dev, ChatGPT connectors and Claude web cannot run a local package. They reach the same 13 tools through the hosted transport
https://flowzap.xyz/mcp(Streamable HTTP, protocol 2025-06-18) — see below.
JSON Configuration
All tools use the same JSON configuration format:
{
"mcpServers": {
"flowzap": {
"command": "npx",
"args": ["-y", "flowzap-mcp"]
}
}
}Windows Users: If tools don't appear, use the absolute path:
"command": "C:\\Program Files\\nodejs\\npx.cmd"Find your npx path with:
where.exe npx
Available Tools
Core Tools
Tool | Description |
| Validate FlowZap Code syntax |
| Deterministically repair mechanical FlowZap Code errors (numbering, inferred handles, label syntax, missing lane labels, emoji/control chars) and return the repaired code plus the corrections applied |
| Create a shareable diagram URL |
| Get FlowZap Code syntax documentation |
Agent-Focused Tools
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) |
Compliance Tool
Tool | Description |
| Run automated SOC2, GDPR, PIPL and EU AI Act compliance analysis on a FlowZap Code data-flow diagram. Backed by Deepseek LLM with strict quotas (10 analyses per rolling 30-day period, 3/hour burst, global 5-min circuit breaker). Returns a shareable result URL kept 90 days, with the analyzed diagram deleted after 24 hours. |
Mind Map Tools
Tool | Description |
| Validate FlowZap Code syntax and mind-map readiness |
| Check if code is suitable for Mind Map rendering (diamonds/taskboxes = ERROR) |
| Generate a ready-to-extend Mind Map tree skeleton |
| Create a playground URL with |
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"
"Create an architecture diagram for a microservices API gateway"
"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:
"Here are my nginx access logs. Create a sequence diagram showing the request flow."The agent uses flowzap_artifact_to_diagram with artifactType: "http_logs".
Analyze Diagram Structure:
"Which steps in this workflow touch the database?"The agent uses flowzap_export_graph to get a JSON graph, then queries it.
Show What Changed:
"I updated the workflow. What's different from the previous version?"The agent uses flowzap_diff to compare old and new code.
Safe Incremental Updates:
"Add a logging step after the API call in this diagram."The agent uses flowzap_apply_change with a structured patch instead of regenerating.
Repair Invalid Code:
"My FlowZap Code fails validation. Fix the mechanical errors for me."The agent uses flowzap_fix to deterministically repair numbering, inferred handles, label syntax, lane labels, emoji and control characters, then validates the repaired code. Anything the repairer cannot fix is reported as-is — it never invents content.
Compliance Audit:
"Check my data flow diagram for SOC2, GDPR, PIPL and EU AI Act compliance."The agent uses flowzap_compliance_check to run an automated audit and returns a shareable result page.
Mind Map Creation:
"Create a mind map about AI agent architecture"The agent uses flowzap_mindmap_template to generate a skeleton, then validates and creates a playground with ?view=mindmap.
The assistant will:
Generate FlowZap Code based on your description
Validate the code
Create a playground URL with the appropriate view (workflow, sequence, or architecture) to view and share
FlowZap Code Example
sales { # Sales Team
n1: circle label:"Order Received"
n2: rectangle label:"Submit Order"
n5: rectangle label:"Receive decision"
n1.handle(right) -> n2.handle(left)
n2.handle(bottom) -> fulfillment.n3.handle(top) [label="Submit"]
}
fulfillment { # Fulfillment
n3: rectangle label:"Review Order"
n4: rectangle label:"Return decision"
n3.handle(right) -> n4.handle(left)
n4.handle(top) -> sales.n5.handle(bottom) [label="Approved"]
}Public API Endpoints
These endpoints are available for external integrations (no authentication required):
Endpoint | Method | Rate Limit | Description |
| POST | 30/min | Validate FlowZap Code syntax |
| POST | 30/min | Deterministically repair mechanical FlowZap Code errors and return the repaired code + applied corrections |
| POST | 5/min, 50/day | Create ephemeral playground URL (60-min TTL) |
| POST | 5/min, 30/day | Run SOC2/GDPR/PIPL/EU AI Act compliance analysis on FlowZap Code. Returns frameworks + shareable result URL kept 90 days, with the analyzed diagram deleted after 24 hours. Backed by Deepseek LLM. |
Hosted transport (Streamable HTTP)
The same 13 tools are served at https://flowzap.xyz/mcp (protocol 2025-06-18), listed in the official MCP registry. Nothing is installed, nothing runs on the user's machine — the right path for hosted agents that cannot spawn a local process:
{
"mcpServers": {
"flowzap": {
"url": "https://flowzap.xyz/mcp"
}
}
}Security
No authentication required - Uses only public FlowZap APIs
No user data access - Cannot read your diagrams or account
Two transports - The npm package runs on your machine; the hosted endpoint runs on flowzap.xyz. Both expose the same tools
SSRF protected - Only connects to flowzap.xyz
Rate limited - 30 requests/minute client-side
Input validation - 50KB max code size
Agent Skill (skills.sh)
Install the FlowZap skill for 40+ compatible coding agents via skills.sh:
npx skills add flowzap-xyz/flowzap-mcpskills.sh listing: https://skills.sh/flowzap-xyz/flowzap-mcp/flowzap-diagrams
Skill source: skills/flowzap-diagrams/
Compatible with: Claude Code, Cursor, Antigravity, Devin Desktop, Codex, Gemini CLI, GitHub Copilot, Cline, Roo Code, Augment, OpenCode, and more.
Public MCP Adoption Signals
Public MCP Usage Stats: https://flowzap.xyz/.well-known/flowzap-stats.json
MCP Calls Badge JSON: https://flowzap.xyz/.well-known/flowzap-stats-badge.json
Official Listings
Official MCP Registry: https://registry.modelcontextprotocol.io/?q=flowzap
Smithery Server: https://smithery.ai/server/@flowzap/flowzap
Smithery Skill: https://smithery.ai/skills/Flowzap/diagram-skill
PulseMCP: https://www.pulsemcp.com/servers/flowzap
MCPServers.org: https://mcpservers.org/servers/flowzap-xyz-docs-mcp
Links
License
MIT
Available Tools
7 toolsflowzap_apply_changeAInspect
Apply a structured change to FlowZap Code (insert/remove/update nodes or edges). Safer than regenerating entire diagrams - preserves existing structure.
Inputs: code (required), operations (required).
flowzap_artifact_to_diagramBInspect
Parse real artifacts (HTTP logs, OpenAPI specs, code snippets) into FlowZap Code diagrams. Use this to convert raw technical data into visual workflows that can be explained and refined.
Inputs: artifactType (required), content (required), view.
flowzap_create_playgroundAInspect
Create a FlowZap playground session with the given code and return a shareable URL. Use this after generating FlowZap Code to give the user a visual diagram. Set view to 'architecture' when user requests an architecture diagram.
Inputs: code (required), view.
flowzap_diffAInspect
Compare two versions of FlowZap Code and get a structured diff showing what changed (nodes/edges added, removed, updated). Use this to explain changes to users.
Inputs: oldCode (required), newCode (required).
flowzap_export_graphAInspect
Export FlowZap Code as a structured JSON graph (lanes, nodes, edges). Use this to inspect diagrams structurally, query relationships, or analyze workflow patterns without re-parsing DSL.
Inputs: code (required).
flowzap_get_syntaxBInspect
Get FlowZap Code syntax documentation and examples. Use this to learn how to write FlowZap Code for workflow diagrams.
Inputs: no named parameters.
flowzap_validateAInspect
Validate FlowZap Code syntax. Use this to check if FlowZap Code is valid before creating a playground.
Inputs: code (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose with no overlap: apply_change modifies diagrams, artifact_to_diagram parses data, create_playground generates URLs, diff compares versions, export_graph outputs JSON, get_syntax provides documentation, and validate checks syntax. The descriptions reinforce unique functions, eliminating confusion.
All tools follow a consistent 'flowzap_' prefix with snake_case naming and clear verb_noun patterns (e.g., apply_change, artifact_to_diagram). This uniformity makes the set predictable and easy to navigate, with no deviations in style or structure.
With 7 tools, the server is well-scoped for its diagramming and workflow domain. Each tool earns its place by covering essential operations like creation, validation, comparison, export, and parsing, without being overly sparse or bloated.
The toolset provides complete coverage for the FlowZap diagramming lifecycle: from learning syntax (get_syntax) and validating code (validate) to creating diagrams (artifact_to_diagram), applying changes (apply_change), comparing versions (diff), exporting data (export_graph), and sharing results (create_playground). No obvious gaps exist for the stated purpose.
Maintenance
Related MCP Connectors
Make editable flowcharts, process charts, funnels, timelines and data models from plain language.
Turn calls and notes into process flow diagrams in Claude, ChatGPT, VS Code, Cursor, and Teams.
Generate, inspect, and manage Flowstep UI designs directly from your AI assistant.
Draw architecture diagrams, UML, planning boards and clickable wireframes from your AI assistant.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to create, edit, and export flowcharts through a local web-based editor with visual drag-and-drop, real-time sync, and 14 MCP tools for full node/edge CRUD.2Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to create and edit draw.io diagrams programmatically, supporting a wide range of diagram types and styles.72 PyPI6MIT
- AlicenseNot gradedqualityDmaintenanceEnables creating and editing Draw.io diagrams via natural language, supporting shapes, connectors, and multi-line text.2MIT
- FlicenseNot gradedqualityFmaintenanceEnables AI assistants to create, read, and manage Draw.io diagrams programmatically through natural language interactions.1-