archflow-mcp
v0.9.9MCP server for ArchFlow: lets AI assistants (Claude and other MCP clients) build isometric architecture diagrams
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_icons List icons
Icons available for nodes. Search by words in any language (matches ids and names), or filter by category. Without arguments: the categories and all icons.
| Parameter | Type | Description |
|---|---|---|
category | string | Category id, e.g. af-network |
lang | string | Language of the names: en, pl, de, fr, es, it, pt, cs, nl, uk |
query | string |
list_diagrams List diagrams
Diagrams in ArchFlow storage: id, name, last change.
get_diagram Read a diagram
A diagram as nodes (with ids and slot positions), zones, connectors and texts.
| Parameter | Type | Description |
|---|---|---|
diagram * | string | Diagram id or name (see list_diagrams) |
build_diagram Build a diagram
Creates a whole diagram in one go and saves it. Group nodes into zones (laid out left to right, a higher "row" goes below); nodes and zones are placed automatically unless a node has a position. Returns where the diagram was saved.
| Parameter | Type | Description |
|---|---|---|
nodes * | array | |
title * | string | |
connectors | array | |
description | string | |
layout | string | How to place nodes without zone or position (default: row, grid for many) |
replace | string | Overwrite this existing diagram instead of creating a new one |
texts | array | |
zones | array |
add_nodes Add nodes
Adds nodes to a diagram. Place each one with "near" (next to a node), "zone" (inside a zone, which grows if needed) or "position"; otherwise it goes to the right of everything.
| Parameter | Type | Description |
|---|---|---|
diagram * | string | Diagram id or name (see list_diagrams) |
nodes * | array |
update_node Change a node
Changes the name, icon, description or position of a node. An empty description removes it.
| Parameter | Type | Description |
|---|---|---|
diagram * | string | Diagram id or name (see list_diagrams) |
node * | string | Node id |
description | string | |
icon | string | |
name | string | |
position | object | Position in slots (1 slot = normal distance between nodes) |
remove_node Remove a node
Removes a node and the connectors attached to it.
| Parameter | Type | Description |
|---|---|---|
diagram * | string | Diagram id or name (see list_diagrams) |
node * | string | Node id |
add_connectors Connect nodes
Adds arrows between nodes, optionally with a label and a line style.
| Parameter | Type | Description |
|---|---|---|
connectors * | array | |
diagram * | string | Diagram id or name (see list_diagrams) |
remove_connector Remove a connector
Removes a connector by its id, or the connector(s) going from one node to another.
| Parameter | Type | Description |
|---|---|---|
diagram * | string | Diagram id or name (see list_diagrams) |
from | string | |
id | string | |
to | string |
add_zone Add a zone
Adds a coloured area under the given nodes (fitted around them), with an optional title.
| Parameter | Type | Description |
|---|---|---|
diagram * | string | Diagram id or name (see list_diagrams) |
nodes * | array | Node ids |
color | string | |
margin | integer | Extra tiles around the nodes (default 0) |
name | string |
remove_zone Remove a zone
Removes a zone (the coloured area and its title). Its nodes stay.
| Parameter | Type | Description |
|---|---|---|
diagram * | string | Diagram id or name (see list_diagrams) |
zone * | string | Zone id |
add_text Add a text
Adds a text on the canvas, at a position or under a node.
| Parameter | Type | Description |
|---|---|---|
diagram * | string | Diagram id or name (see list_diagrams) |
text * | string | |
near | string | Node id |
position | object | Position in slots (1 slot = normal distance between nodes) |
size | string |
rename_diagram Rename a diagram
Changes the title of a diagram (its file or id follows the new name).
| Parameter | Type | Description |
|---|---|---|
diagram * | string | Diagram id or name (see list_diagrams) |
title * | string |
export_json Export to a file
Writes a diagram to a JSON file, which can be opened in ArchFlow with ☰ → Open from file (JSON) or shared.
| Parameter | Type | Description |
|---|---|---|
diagram * | string | Diagram id or name (see list_diagrams) |
path * | string | File path; ".json" is added if missing |