drawio-engineering-mcp
Generates engineering diagrams in draw.io from structured prompts, providing tools for creating RF block diagrams, PCB stackups, EMC test setups, and more.
Allows opening draw.io with diagrams described in Mermaid syntax.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@drawio-engineering-mcpcreate an RF receiver signal chain with antenna, LNA, mixer, and ADC"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Engineering diagrams in draw.io — RF block diagrams, PCB stackups, and EMC test setups generated from structured prompts. Drive it from your IDE, terminal, or AI agent and skip the manual stencil-dragging.
Quick start · Tools · Workflows · Documentation
What is drawio-engineering-mcp?
drawio-engineering-mcp is a Node.js MCP server that gives an AI agent
the ability to create, view, and analyze engineering diagrams in
draw.io. It extends the
official draw.io MCP (@drawio/mcp)
with 10 tools and 269 drag-and-drop engineering symbols across RF,
PCB, EMC, wireless, electrical, and general engineering.
Where the upstream MCP gives you a diagram editor, this one gives you a diagram generator: an RF receiver signal chain with Friis-cascade annotations, a CISPR 25 / ISO 11452 test setup, a 6-layer PCB stackup with material-property labels — all from a one-sentence prompt or structured JSON input.
What it does well:
🤖 AI-native via MCP. First-class Model Context Protocol server with 10 tools wired into the draw.io browser app.
🎨 269 engineering stencils. RF blocks, amplifiers, filters, antennas, PCB stackup vias, EMC test equipment, wireless protocol badges, connectors, power ICs — all auto-loaded into the draw.io sidebar.
⚡ Auto-layout generators.
create_rf_block_diagramruns Friis gain/NF cascade math;create_pcb_stackuprenders cross-sections with material properties;create_emc_test_setupuses CISPR / ISO templates.✅ Round-trip.
read_drawioparses.drawioXML into structured JSON (shapes, edges, styles) so an agent can analyze an existing diagram.export_drawiorenders to SVG / PNG.🔒 AGPL-3.0-or-later. Built on the official draw.io MCP foundation (Apache-2.0); this server's engineering extensions are AGPL-3.0-or-later.
Quick start
Install
git clone https://github.com/RFingAdam/drawio-engineering-mcp.git
cd drawio-engineering-mcp
npm installThree surfaces, same answer
Claude Code
claude mcp add drawio-engineering -s user -- \
node /path/to/drawio-engineering-mcp/src/index.jsClaude Desktop
{
"mcpServers": {
"drawio-engineering": {
"command": "node",
"args": ["/path/to/drawio-engineering-mcp/src/index.js"]
}
}
}Any MCP client — first prompt
Start a new session and ask:
"Create an RF receiver signal chain with antenna, SAW filter, LNA, mixer with PLL LO, IF filter, and ADC. Show cumulative gain and noise figure."
The agent calls create_rf_block_diagram and opens draw.io with a
color-coded, auto-laid-out diagram annotated with Friis cascade values.
Tools
10 MCP tools across 3 categories. Full reference in docs/tools.md.
Viewer / editor
Tool | Purpose | Key arguments |
| Open draw.io with raw XML content |
|
| Open draw.io with CSV data |
|
| Open draw.io with Mermaid syntax |
|
| Open draw.io with the 269 engineering stencils loaded in the sidebar |
|
Generators
Tool | Purpose | Key arguments |
| Auto-layout RF signal chain from JSON (Friis gain/NF cascade) |
|
| CISPR 25 / ISO 11452 EMC test setup diagrams from templates |
|
| PCB cross-section stackup diagrams (4-layer / 6-layer / custom) |
|
| Annotate schematic screenshots with redlines, revision clouds, callouts |
|
Analysis
Tool | Purpose | Key arguments |
| Parse |
|
| Export diagrams to SVG (or PNG with puppeteer) |
|
Stencil libraries
269 engineering symbols across 13 libraries, automatically loaded by
open_drawio_engineering into the draw.io sidebar:
Library | Symbols | Contents |
| 30 | Core RF blocks (LNA, PA, mixer, filter, switch, antenna, …) |
| 16 | Amplifier variants (LNA, PA, VGA, driver, buffer, log, limiting) + mixers |
| 17 | BPF, LPF, HPF, notch, cavity, SAW, BAW, DSA, step / variable atten |
| 14 | Circulators, isolators, directional couplers, Wilkinson, hybrid, balun |
| 10 | Crystal, TCXO, OCXO, VCO, PLL, DDS, synthesizer |
| 15 | SPDT, SP4T, transfer, T/R, power detector, ADC, DAC |
| 20 | Dipole, patch, horn, array, MIMO, coax, microstrip, waveguide |
| 20 | LDO, buck, boost, flyback, battery, SoC, FPGA, MCU, QFN, BGA |
| 14 | SMA, U.FL, N-type, BNC, USB-C, RJ45, pin header, B2B |
| 18 | Spectrum analyzer, VNA, scope, LISN, CDN, anechoic chamber |
| 30 | Copper / prepreg / core layers, through / blind / buried / micro vias, impedance traces |
| 27 | Wi-Fi, BLE, LTE, 5G NR, LoRa, Zigbee, Thread, protocol badges, OFDM, QAM |
| 38 | System blocks, rack diagrams, cables, thermal management, R/L/C/transformer |
By default all libraries load. To load only specific ones:
{
"stencils": ["rf-blocks", "ee-connectors", "pcb-stackup-vias"]
}Workflows
drawio-engineering-mcp fits in the following eng-mcp-suite
workflow bundles:
emc-compliance— paircreate_emc_test_setupwithmcp-emc-regulationsto generate the test setup diagram for the exact CISPR / ISO method the limit lookup returned.pcb-review— generatecreate_pcb_stackupcross-sections during amcp-pcb-emcopilotdesign review.rf-design— usecreate_rf_block_diagramto visualize the cascade an LNA / mixer / filter chain produces — Friis numbers annotated automatically.
Part of eng-mcp-suite.
Use in the emc-compliance, pcb-review, or rf-design workflow bundles.
See the suite manifest for the full list of sibling MCPs and bundle definitions.
Documentation
📘 Quick Start — install through first call.
🛠️ Tool reference — every MCP tool, every argument.
📐 Usage examples — practical end-to-end walkthroughs.
🏗️ Architecture — how this MCP fits in eng-mcp-suite.
Part of eng-mcp-suite
This MCP server is part of
An open umbrella for engineering MCP servers across RF, EMC, PCB, signal integrity, EM simulation, and lab test. Same brand, same docs structure, designed to compose. See the full catalog or jump to a sibling:
Domain | Sibling MCPs |
RF / Transmission lines | |
EMC regulatory | |
PCB / SI | mcp-pcb-emcopilot (private — public soon) |
EM simulation | mcp-openems, mcp-nec2-antenna (private — public soon) |
Diagrams | drawio-engineering-mcp (this repo) |
3D / rendering | |
Remote access | |
Lab gear | copper-mountain-vna-mcp, mcp-rs-spectrum-analyzer, mcp-rs-siggen, mcp-rs-cmw500 |
Based on
Extended from the official draw.io MCP server
(@drawio/mcp) by JGraph Ltd.
Contributing
Contributions are welcome.
Pick a GitHub issue.
Fork + branch (
feature/your-thingorfix/your-bug).Run tests (
npm test) if present.Open a PR — link the issue, request review.
License
AGPL-3.0-or-later. Relicensed from Apache-2.0 in v1.1.0 to align with the eng-mcp-suite toolkit-wide AGPL move. The upstream draw.io MCP foundation remains Apache-2.0; this server's engineering extensions and added tooling are AGPL-3.0-or-later.
Acknowledgments
JGraph Ltd / draw.io — for the upstream
@drawio/mcpand the underlying diagram editor.The MCP working group — for the Model Context Protocol specification.
Part of eng-mcp-suite — built for RF engineers, PCB designers, EMC labs, and AI agents.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RFingAdam/drawio-engineering-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server