MCP Setup

Draw your architecture from code.

The SchemaFlow MCP lets Claude Code, Codex, or any MCP-compatible assistant read a repository and produce a system-design diagram — components, connections, and plain-English descriptions, laid out and ready to edit.

⚙️
Developer preview. Today it installs as a Claude Code plugin (below). An npm package for Codex and other MCP clients is on the way.
Claude Code · fastest

Install as a Claude Code plugin

One command adds the marketplace, then one installs the plugin. The MCP server is bundled in — no clone, no npm install.

claude plugin marketplace add tom-pettit/schemaflow

Then, inside Claude Code:

/plugin install schemaflow-mcp@schemaflow

That enables the schemaflow MCP — then just ask your assistant to draw a diagram (below).

1

Generate a diagram

Open your repo in the assistant and ask:

"Read this repo and create a SchemaFlow diagram of the architecture."

It reads the code, describes the system as components and connections, and the MCP lays it out and returns an import link.

2

Open & save it

Click the link to open the diagram on the canvas — or paste it (or a .json file) into Import in the app. Sign in to save it to your account, where it's encrypted on your device before it's stored.

3

Reference

Tools

create_system_diagram{ name, components[], links[] } → an import link. Layout is automatic.
list_component_types — the available shape types.

Configuration

SCHEMAFLOW_URL — override the base URL (defaults to https://schemaflow.dev) if you self-host.

Component type is one of: service, process, gateway, balancer, database, cache, storage, queue, cloud, client, note. The model supplies the logical graph; SchemaFlow handles the layout and routing.