flowzap_validate, flowzap_create_playground and flowzap_compliance_check return machine-readable structuredContent. isError now means the tool produced no output at all, never that a diagram was rejected, and invalid input is reported as INVALID_PAYLOAD instead of an upstream failure. Version 2.1.0 added flowzap_fix, a deterministic repair pass over POST /api/fix that returns corrected code and never invents content, plus the remote Streamable HTTP transport (https://flowzap.xyz/mcp) listed in the official MCP registry, so hosted agents (Replit, Lovable.dev, ChatGPT connectors, Claude web) connect by URL without npx. 13 tools total. See the Mind Map announcement for the v2.0.0 details.
π Quick Start (Recommended)
For Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"flowzap": {
"command": "npx",
"args": ["-y", "flowzap-mcp"]
}
}
}
Config file locations:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
For Cursor
Add the same configuration to ~/.cursor/mcp.json globally, or to .cursor/mcp.json in a project.
For Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json on macOS and Linux, or %APPDATA%\devin\mcp_config.json on Windows:
{
"mcpServers": {
"flowzap": {
"command": "npx",
"args": ["-y", "flowzap-mcp"]
}
}
}
{
"mcpServers": {
"flowzap": {
"command": "C:\Program Files\nodejs\npx.cmd",
"args": ["-y", "flowzap-mcp"]
}
}
}
Find your npx path with: where.exe npx
Legacy path: existing Devin Desktop (formerly Windsurf) builds still read ~/.codeium/windsurf/mcp_config.json; new installs use the paths above, and the old file is only a fallback.
For Google Antigravity
Antigravity reads a global config at ~/.gemini/config/mcp_config.json and a per-workspace config at .agents/mcp_config.json, both under the root key mcpServers. For the hosted server, use the serverUrl field instead of command/args:
{
"mcpServers": {
"flowzap": {
"serverUrl": "https://flowzap.xyz/mcp"
}
}
}
All Compatible Coding Tools
The FlowZap MCP Server works with any tool that supports the Model Context Protocol (MCP). Here is the complete list:
| Tool | How to Configure |
|---|---|
| Claude Desktop | Add to claude_desktop_config.json:macOS: ~/Library/Application Support/Claude/claude_desktop_config.jsonWindows: %APPDATA%\Claude\claude_desktop_config.json |
| Claude Code | Run: claude mcp add --transport stdio flowzap -- npx -y flowzap-mcpHosted server instead: claude mcp add --transport http flowzap https://flowzap.xyz/mcpOr add to .mcp.json in your project root. |
| Cursor | Open Settings β Features β MCP Servers β Add Server, or edit ~/.cursor/mcp.json directly. Use the same JSON config. |
| Devin Desktop (formerly Windsurf) | Add to ~/.config/devin/mcp_config.json (macOS/Linux) or %APPDATA%\devin\mcp_config.json (Windows). The old ~/.codeium/windsurf/mcp_config.json is still read by existing builds. |
| Google Antigravity | Global config ~/.gemini/config/mcp_config.json, workspace config .agents/mcp_config.json, root key mcpServers. Remote server: {"serverUrl": "https://flowzap.xyz/mcp"} |
| Gemini CLI | Add to ~/.gemini/settings.json under the mcpServers key. |
| GitHub Copilot (VS Code) | Run the command palette entry "MCP: Open User Configuration" and edit mcp.json under the servers key. |
| OpenAI Codex | Add to ~/.codex/config.toml:[mcp_servers.flowzap]command = "npx"args = ["-y", "flowzap-mcp"]Or run: codex mcp add flowzap -- npx -y flowzap-mcp |
| Warp Terminal | Settings β MCP Servers β Click "+ Add" β Paste the JSON config. |
| Zed Editor | Add 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.dev | Create .continue/mcpServers/flowzap.yaml with:name: FlowZapmcpServers: - name: flowzap command: npx args: ["-y", "flowzap-mcp"] |
| Sourcegraph Cody | Add to VS Code settings.json via openctx.providers configuration. |
https://flowzap.xyz/mcp β no npm installation needed. Local coding tools use the npm package below.
For Comet Browser / Other AI Assistants
Comet and similar AI browsers don't support custom MCP servers directly. Instead, they can:
- Generate FlowZap Code using the syntax documentation at flowzap.xyz/flowzap-code
- Create playground URLs via the public API:
curl -X POST https://flowzap.xyz/api/playground/create -H "Content-Type: application/json" -d '{"code": "sales { n1: circle label:"Start" }"}'
Available Tools (v2.2.1)
Core Tools
| Tool | Description |
|---|---|
flowzap_validate | Validate FlowZap Code syntax |
flowzap_fix | Deterministic repair of rejected FlowZap Code (renumbering, inferred handles, label syntax, lane labels, emoji) β returns the corrected code, never invents content |
flowzap_create_playground | Create a shareable diagram URL |
flowzap_get_syntax | Get FlowZap Code syntax documentation |
Agent-Focused Tools
| Tool | Description |
|---|---|
flowzap_export_graph | Export FlowZap Code as structured JSON graph (lanes, nodes, edges) for AI reasoning |
flowzap_artifact_to_diagram | Parse HTTP logs, OpenAPI specs, or code into FlowZap diagrams (auto-creates playground URL) |
flowzap_diff | Compare two versions of FlowZap Code and get structured diff |
flowzap_apply_change | Apply structured patch operations (insert/remove/update nodes/edges) - auto-creates playground URL |
Compliance Tool
| Tool | Description |
|---|---|
flowzap_compliance_check | Run automated SOC2, GDPR, PIPL, and EU AI Act compliance analysis on a FlowZap Code data-flow diagram. Backed by DeepSeek (external processor based in Hangzhou) with strict rate limits: 10 analyses per rolling 30-day period, a 3-per-hour burst, and a global 5-minute circuit breaker. The shareable report is retained for 90 days and the analysed code is purged after 24 hours. |
Mind Map Tools
| Tool | Description |
|---|---|
flowzap_mindmap_validate | Validate FlowZap Code syntax and check mind-map readiness (no diamonds/taskboxes, needs root circle + branches) |
flowzap_mindmap_approve | Structured audit for Mind Map rendering (ERROR/WARNING/INFO verdict) β 100% client-side, no API call |
flowzap_mindmap_template | Generate a ready-to-extend Mind Map tree skeleton (central circle root, rectangle branches) |
flowzap_mindmap_create_playground | Create a playground session with ?view=mindmap |
Usage Examples
Ask your AI assistant:
- "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"
- "Run a SOC2/GDPR/PIPL/EU AI Act compliance check on my app's data flow"
- "Create a mind map for root cause analysis of a production incident"
The assistant will:
- Generate FlowZap Code based on your description
- Validate the code
- Create a playground URL you can view and share
- For compliance requests: also run an automated SOC2/GDPR/PIPL/EU AI Act audit and return a shareable result page
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: rectangle label:"Ship Items"
n6: circle label:"Complete"
n4.handle(right) -> n5.handle(left)
n5.handle(right) -> n6.handle(left)
}
Security
The flowzap-mcp package implements comprehensive security measures:
- 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 limiting β 30 requests/minute client-side protection
- Input validation β 50KB max code size, sanitization
- Request timeout β 30-second timeout prevents hanging
Public API Endpoints
These endpoints are available for external integrations (no authentication required):
| Endpoint | Method | Rate Limit | Description |
|---|---|---|---|
/api/validate |
POST | 120/min (1200/min identified) | Validate FlowZap Code syntax |
/api/fix |
POST | 120/min (1200/min identified) | Repair rejected FlowZap Code deterministically and return the corrected code with the corrections applied |
/api/playground/create |
POST | 5/min, 50/day | Create ephemeral playground URL (60-minute TTL) |
/api/compliance-check |
POST | 10 / rolling 30 days, 3/hour burst | Run SOC2/GDPR/PIPL/EU AI Act compliance analysis on FlowZap Code. Returns frameworks + a shareable report retained 90 days; the analysed code is purged after 24 hours. Backed by DeepSeek (external processor, Hangzhou). |
/api/ai-generate) requires authentication and is only available to logged-in FlowZap users.
Links
- npm: https://www.npmjs.com/package/flowzap-mcp
- FlowZap: https://flowzap.xyz
- Documentation: https://flowzap.xyz/flowzap-code
- Mind Map Guide: /blog/flowzap-mind-map-agentic-architecture
- API Docs: https://flowzap.xyz/docs/agent-api
Remote MCP (Streamable HTTP)
https://flowzap.xyz/mcp (Streamable HTTP, protocolVersion 2025-06-18) is listed in the official MCP registry. Hosted agents connect directly by URL β no installation.
https://flowzap.xyz/mcp URL β they cannot run npx, so the npm package is for local coding tools only.
FlowZap MCP v2.2.1: 13 tools for workflow, sequence, architecture, and mind map diagrams β plus deterministic code repair. Build the diagrams you need, the way you want.
