Flowzap

io.github.flowzap-xyz由 GitHub 帳號 flowzap-xyz 發布v2.1.0更新於 Oct 24, 2026

Create workflow, sequence, architecture, and mind map diagrams via AI assistants.

已驗證Streamable HTTP可網頁執行開發者工具安全與監控媒體與設計

概覽

AI 產生的概覽

FlowZap 讓助理撰寫、驗證、修復並分享 FlowZap Code 圖表(工作流程、時序、架構與心智圖),可透過本機 npm 程序或遠端端點使用。

可以做什麼
撰寫與檢查圖表:驗證 FlowZap Code 語法、以確定性方式修復機械性錯誤,並取得語法文件與範例及錯誤統計。心智圖:驗證心智圖可用性、審核轉譯適配性、產生樹狀骨架,並開啟心智圖檢視的 playground。分享與解析:建立工作流程、時序、架構或心智圖檢視的可分享 playground 連結,並將程式碼匯出為含泳道、節點與邊的結構化 JSON 圖。編輯與比較:比對兩個程式碼版本的結構化差異,並套用插入、刪除或更新節點與邊的結構化修補。轉換與稽核:將 HTTP 記錄、OpenAPI 規格或程式碼片段轉為圖表,並對資料流圖執行 SOC2、GDPR、PIPL 或 EU AI Act 架構合規審查。
適用情境
當你希望助理把描述、記錄、規格或程式碼轉成可分享的圖表,讓現有圖表保持有效並做增量修改,或對資料流圖做一次快速的架構合規審查時,適合使用。
執行需求
可使用遠端端點,或透過 npx flowzap-mcp 在本機執行(需要 Node.js 與 npx)。未宣告任何身分驗證、API 金鑰或環境變數。驗證、建立 playground 與合規檢查需要連線至 flowzap.xyz 的網路存取。
安裝前請注意
playground 連結為臨時連結(15 分鐘有效),合規結果頁面 60 分鐘後過期。合規檢查會將圖表程式碼傳送給第三方大型語言模型(Deepseek),且有速率限制,免費額度為 10 次審查。提交的圖表程式碼會離開本機傳送至 flowzap.xyz。此伺服器無法讀取你既有的圖表或帳戶。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Flowzap,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.flowzap-xyz%2Fflowzap/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "flowzap": {
      "type": "http",
      "url": "https://flowzap.xyz/mcp"
    }
  }
}

README

FlowZap MCP Server

[npm version] [MCP]

Create workflow, sequence, architecture, and mind map diagrams using AI assistants like Claude, Cursor, Windsurf, and 8 other MCP-compatible tools.

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, taskbox
  • Node 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 { # Label
  • Sequence 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

Installation

The FlowZap MCP Server works with any tool that supports the Model Context Protocol (MCP):

All Compatible Coding Tools

ToolHow to Configure
Claude DesktopAdd to claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Claude CodeRun: claude mcp add --transport stdio flowzap -- npx -y flowzap-mcp
Or add to .mcp.json in your project root.
CursorOpen Settings → Features → MCP Servers → Add Server. Use the same JSON config.
Windsurf IDEAdd to ~/.codeium/windsurf/mcp_config.json
OpenAI CodexAdd to ~/.codex/config.toml:
[mcp_servers.flowzap]
command = "npx"
args = ["-y", "flowzap-mcp"]
Or run: codex mcp add flowzap -- npx -y flowzap-mcp
Warp TerminalSettings → MCP Servers → Click "+ Add" → Paste the JSON config.
Zed EditorAdd to settings.json:
{"context_servers": {"flowzap": {"command": "npx", "args": ["-y", "flowzap-mcp"]}}}
Cline (VS Code)Open Cline sidebar → MCP Servers icon → Edit cline_mcp_settings.json
Roo Code (VS Code)Add to .roo/mcp.json in project or global settings.
Continue.devCreate .continue/mcpServers/flowzap.yaml with:
name: FlowZap
mcpServers:
- name: flowzap
command: npx
args: ["-y", "flowzap-mcp"]
Sourcegraph CodyAdd to VS Code settings.json via openctx.providers configuration.

Not Compatible: Replit and Lovable.dev only support remote MCP servers via URL. Use the Public API instead.

JSON Configuration

All tools use the same JSON configuration format:

json
{  "mcpServers": {    "flowzap": {      "command": "npx",      "args": ["-y", "flowzap-mcp"]    }  }}

Windows Users: If tools don't appear, use the absolute path:

json
"command": "C:\\Program Files\\nodejs\\npx.cmd"

Find your npx path with: where.exe npx

Available Tools

Core Tools

ToolDescription
flowzap_validateValidate FlowZap Code syntax
flowzap_fixDeterministically 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
flowzap_create_playgroundCreate a shareable diagram URL
flowzap_get_syntaxGet FlowZap Code syntax documentation

Agent-Focused Tools

ToolDescription
flowzap_export_graphExport FlowZap Code as structured JSON graph (lanes, nodes, edges) for reasoning
flowzap_artifact_to_diagramParse HTTP logs, OpenAPI specs, or code into FlowZap diagrams
flowzap_diffCompare two versions of FlowZap Code and get structured diff
flowzap_apply_changeApply structured patch operations (insert/remove/update nodes/edges)

Compliance Tool

ToolDescription
flowzap_compliance_checkRun automated SOC2, GDPR, and PIPL compliance analysis on a FlowZap Code data-flow diagram. Backed by Deepseek LLM with strict rate limits (3/day per IP, 1/hour burst, global 5-min circuit breaker). Returns a shareable ephemeral result URL (60-min TTL).

Mind Map Tools

ToolDescription
flowzap_mindmap_validateValidate FlowZap Code syntax and mind-map readiness
flowzap_mindmap_approveCheck if code is suitable for Mind Map rendering (diamonds/taskboxes = ERROR)
flowzap_mindmap_templateGenerate a ready-to-extend Mind Map tree skeleton
flowzap_mindmap_create_playgroundCreate a playground URL with ?view=mindmap

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, and PIPL 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:

  1. Generate FlowZap Code based on your description
  2. Validate the code
  3. 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):

EndpointMethodRate LimitDescription
/api/validatePOST30/minValidate FlowZap Code syntax
/api/fixPOST30/minDeterministically repair mechanical FlowZap Code errors and return the repaired code + applied corrections
/api/playground/createPOST5/min, 50/dayCreate ephemeral playground URL (15-min TTL)
/api/compliance-checkPOST5/min, 30/dayRun SOC2/GDPR/PIPL compliance analysis on FlowZap Code. Returns frameworks + shareable result URL (60-min TTL). Backed by Deepseek LLM.

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

Agent Skill (skills.sh)

Install the FlowZap skill for 40+ compatible coding agents via skills.sh:

bash
npx skills add flowzap-xyz/flowzap-mcp

Public MCP Adoption Signals

Official Listings

Links

License

MIT

來源:README.md,提交 b23b4b4

工具

13

flowzap_validate

Validate FlowZap Code syntax. Returns errors and stats.

輸入參數lngcode必填

flowzap_fix

Deterministically repair mechanical FlowZap Code errors: non-sequential node numbering, inferred edge handles, node/edge label syntax, missing lane display labels, emoji and non-printable characters. Returns the repaired code plus the list of corrections that were applied. Errors that cannot be repaired are reported as-is — the repairer never invents content.

輸入參數lngcode必填

flowzap_mindmap_validate

Validate FlowZap Code syntax specifically for Mind Map diagrams. Checks syntax validity and whether the code is mind-map-ready (no diamonds, no taskboxes, at least one circle for the root, at least one rectangle for branches). Use this before flowzap_mindmap_approve and flowzap_mindmap_create_playground.

輸入參數code必填

flowzap_mindmap_approve

Check if valid FlowZap Code is suitable for Mind Map rendering. Returns structured verdict with errors (blocking), warnings (advisory), and info. Rules: diamonds and taskboxes are ERROR (not rendered in mind maps), multiple circles produce WARNING (only the first is the root), edge directions are INFO (ignored by renderer), large/deep diagrams produce advisory warnings. Uses local parsing only - no API call.

輸入參數code必填

flowzap_mindmap_template

Generate a ready-to-extend FlowZap Code skeleton for a Mind Map. Returns a tree structure with a central circle root, rectangle branches and sub-branches, and optional cross-links between branches. Use this to bootstrap a new mind map.

輸入參數depthtopicbranches

flowzap_mindmap_create_playground

Create a FlowZap playground session that opens directly in Mind Map view (?view=mindmap). Validates the code first, then creates a shareable URL. Use this after flowzap_mindmap_validate and flowzap_mindmap_approve have passed.

輸入參數code必填

flowzap_create_playground

Create a shareable FlowZap playground URL. Set view to 'architecture', 'sequence', or 'mindmap' when appropriate.

輸入參數lngcode必填view

flowzap_get_syntax

Get FlowZap Code syntax documentation and examples.

無需輸入參數。

flowzap_export_graph

Parse FlowZap Code into a structured JSON graph (lanes, nodes, edges).

輸入參數code必填

flowzap_artifact_to_diagram

Convert HTTP logs, OpenAPI specs, or code snippets into a FlowZap diagram.

輸入參數viewcontent必填artifactType必填

flowzap_diff

Compare two FlowZap Code versions and return a structured diff.

輸入參數newCode必填oldCode必填

flowzap_apply_change

Apply structured patch operations (insert/remove/update nodes or edges) to FlowZap Code.

輸入參數code必填operations必填

flowzap_compliance_check

Run an automated SOC2 / GDPR / PIPL / EU AI Act architectural compliance review of a FlowZap Code data flow. Returns a Markdown summary of findings (control · status · detail · recommendation) for each framework whose elements are detectable in the diagram. Free quota: 10 free compliance reviews per client per rolling 30-day period. For unlimited manual reviews, paste your code at https://flowzap.xyz/soc2-gdpr-pipl-compliance-checker. Processor disclosure (GDPR Art. 13): analysis powered by Deepseek (Hangzhou DeepSeek AI, China) — see https://flowzap.xyz/legal/subprocessors. This is an advisory architectural review, not legal advice.

輸入參數lngcode必填

版本歷史

2
  1. v2.1.0最新Sep 20, 2026
  2. v2.0.0Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分