Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
npx claudepluginhub os-tack/fcp --plugin fcp-drawioMCP server for creating and editing draw.io diagrams through intent-level commands.
fcp-drawio lets LLMs build architecture diagrams, flowcharts, and system maps by describing what they want -- not how to draw it. The LLM sends high-level operations like add svc AuthService theme:blue and connect AuthService -> UserDB, and fcp-drawio renders them into fully styled draw.io XML with automatic layout via ELK. Built on the FCP framework.
Multiplayer game backend — 20 nodes, 5 swim lanes, auto-layout (open in draw.io)
drawio([
'add svc AuthService theme:blue',
'add db UserDB theme:green near:AuthService dir:right',
'connect AuthService -> UserDB label:queries',
])
Response:
+svc AuthService @(200,200 140x60) blue
+db UserDB @(400,200 120x80) green
~AuthService->UserDB "queries" solid
digest: 3s 1e 0g
This produces a draw.io diagram with a blue rounded-rectangle service node, a green database cylinder, and a labeled edge between them -- all positioned automatically.
| Tool | Purpose |
|---|---|
drawio(ops) | Batch mutations -- add shapes, connect, style, group, layout |
drawio_query(q) | Inspect the diagram -- map, list, describe, connections, find |
drawio_session(action) | Lifecycle -- new, open, save, checkpoint, undo, redo |
drawio_help() | Full reference card |
| Type | Shape | Use For |
|---|---|---|
svc | Rounded rect | Services, components |
db | Cylinder | Databases, storage |
api | Hexagon | APIs, gateways |
queue | Parallelogram | Queues, streams |
cloud | Cloud | External services |
actor | Person | Users, personas |
doc | Document | Files, reports |
box | Rectangle | Generic |
decision | Diamond | Decisions, conditions |
circle | Ellipse | States, events |
process | Double-bordered rect | Predefined processes |
triangle | Triangle | Warnings, deltas |
Apply color themes to any shape: blue, green, red, orange, purple, yellow, gray, dark.
Requires Node >= 22.
npm install @ostk-ai/fcp-drawio
{
"mcpServers": {
"drawio": {
"command": "node",
"args": ["node_modules/@ostk-ai/fcp-drawio/dist/index.js"]
}
}
}
4-layer architecture:
MCP Server (Intent Layer)
src/server/ -- Parses op strings, resolves refs, dispatches
|
Semantic Model (Domain Brain)
src/model/ -- In-memory entity graph, event sourcing
|
Layout (ELK)
Auto-layout via elkjs -- flow:TB, flow:LR, near/dir positioning
|
Serialization (XML)
src/serialization/ -- Semantic model <-> mxGraphModel XML
Supporting modules:
src/parser/ -- Operation string parsersrc/lib/ -- Component library, themes, stencils, draw.io CLI integrationSee docs/examples/ for example diagrams (including the multiplayer game backend) and docs/ for design documents.
npm install
npm run build # tsc
npm test # vitest, 465 tests
npm run test:watch
npm run dev # tsc --watch
MIT
Share bugs, ideas, or general feedback.
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Generate professional draw.io diagrams from natural language — flowcharts, architecture diagrams, comparisons, and more.
Intelligent draw.io diagramming plugin with AI-powered diagram generation, multi-platform embedding (GitHub, Confluence, Azure DevOps, Notion, Teams, Harness), conditional formatting, live data binding, and MCP server integration for programmatic diagram creation and management.
AI-powered draw.io diagram generator with browser preview. Generate flowcharts, architecture diagrams, mind maps, and technical illustrations from natural language descriptions.
Claude Code skill for generating high-quality draw.io diagrams with proper font settings, arrow placement, and Japanese text support
MCP server for previewing Mermaid diagrams in Claude Code
Diagram generation for Claude Code via UML-MCP (PlantUML, Mermaid, D2, Graphviz, and more) over HTTP MCP.
Query and refactor Rust codebases through intent-level commands
Create and edit PowerPoint presentations through semantic commands
Semantic spreadsheet operations for LLMs
Build regexes via named fragment composition — no raw syntax, no escaping burden
Query and refactor Python codebases through intent-level commands
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim