# flowzap

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add Flowzap/flowzap

# Browse available tools
npx -y @smithery/cli@latest tool list Flowzap/flowzap

# Get full schema for a tool
npx -y @smithery/cli@latest tool get Flowzap/flowzap flowzap_validate

# Call a tool
npx -y @smithery/cli@latest tool call Flowzap/flowzap flowzap_validate '{}'
```

## Direct MCP Connection

Endpoint: `https://flowzap--flowzap.run.tools`

## Tools (7)

- `flowzap_validate` — Validate FlowZap Code syntax. Returns errors and stats.
- `flowzap_create_playground` — Create a shareable FlowZap playground URL from FlowZap Code. Set view to 'architecture' or 'sequence' when appropriate.
- `flowzap_get_syntax` — Get FlowZap Code syntax documentation and examples.
- `flowzap_export_graph` — Parse FlowZap Code into a structured JSON graph (lanes, nodes, edges).
- `flowzap_artifact_to_diagram` — Convert HTTP logs, OpenAPI specs, or code snippets into a FlowZap diagram.
- `flowzap_diff` — Compare two FlowZap Code versions and return a structured diff.
- `flowzap_apply_change` — Apply structured patch operations (insert/remove/update nodes or edges) to FlowZap Code.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get Flowzap/flowzap <tool-name>
```
