← Home

Docs

Wire drawxyz into your IDE, agents, or backend. Below is the minimum to be productive; the product UI is the source of truth for anything that moves fast.

MCP

Give Cursor, Claude Desktop, or any MCP client tools to read and write diagram source, list templates, swap themes, and export PNG. Run the server from this repo with pnpm mcp:dev, register it in your client, and you’re done.

REST API

OpenAPI lives at /api/openapi.json. Authenticate with Authorization: Bearer fc_… API keys from Settings after you sign in. Same exports and automation paths the app uses—no special casing.

Diagram text that survives export

Start from flowchart LR. Use subgraphs for numbered stages, classDef for phase color, and verbs on edges so the diagram reads left-to-right like a pipeline. That pattern maps cleanly to our stage-style themes and social crops.