MCP server for FlowZap - Create workflow, sequence, and architecture diagrams via AI assistants. Works with Claude Desktop, Claude Code, Cursor, Windsurf, OpenAI Codex, Warp, Zed, Cline, Roo Code, Continue.dev, and Sourcegraph Cody.
npm install flowzap-mcpcircle, rectangle, diamond, taskbox
label:"Text"
[label="Text"]
n1.handle(right) -> n2.handle(left)
claude_desktop_config.json:~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json |
claude mcp add --transport stdio flowzap -- npx -y flowzap-mcp.mcp.json in your project root. |
~/.codeium/windsurf/mcp_config.json |
~/.codex/config.toml:[mcp_servers.flowzap]command = "npx"args = ["-y", "flowzap-mcp"]codex mcp add flowzap -- npx -y flowzap-mcp |
settings.json:{"context_servers": {"flowzap": {"command": "npx", "args": ["-y", "flowzap-mcp"]}}} |
cline_mcp_settings.json |
.roo/mcp.json in project or global settings. |
.continue/mcpServers/flowzap.yaml with:name: FlowZapmcpServers: - name: flowzap command: npx args: ["-y", "flowzap-mcp"] |
settings.json via openctx.providers configuration. |
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
$3
| Tool | Description |
|------|-------------|
| flowzap_validate | Validate FlowZap Code syntax |
| flowzap_create_playground | Create a shareable diagram URL |
| flowzap_get_syntax | Get FlowZap Code syntax documentation |
$3
| Tool | Description |
|------|-------------|
| flowzap_export_graph | Export FlowZap Code as structured JSON graph (lanes, nodes, edges) for reasoning |
| flowzap_artifact_to_diagram | Parse HTTP logs, OpenAPI specs, or code into FlowZap diagrams |
| flowzap_diff | Compare two versions of FlowZap Code and get structured diff |
| flowzap_apply_change | Apply structured patch operations (insert/remove/update nodes/edges) |
Usage Examples
$3
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"
$3
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.
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:"Validate Order"
n3: diamond label:"Valid?"
n1.handle(right) -> n2.handle(left)
n2.handle(right) -> n3.handle(left)
n3.handle(right) -> fulfillment.n4.handle(left) [label="Yes"]
}
fulfillment { # Fulfillment
n4: rectangle label:"Process Order"
n5: circle label:"Complete"
n4.handle(right) -> n5.handle(left)
}
``