Drawio MCP Server

Diagramming capabilities for AI agents using Draw.io native tools.

Data last scanned last week · Reviewed last month

501,364TypeScriptMIT

Overview

The Draw.io MCP server enables AI agents to programmatically create, modify, and inspect diagrams directly through the Draw.io engine. It supports complex operations such as layer management, edge geometry control with waypoint routing, and parent-child grouping for nested shapes. The server facilitates multi-document and multi-page workflows, allowing agents to target specific diagrams or pages for editing. Built to integrate with any MCP-compliant client, the server includes features for importing and exporting diagrams in XML, SVG, and PNG formats. It also supports Mermaid diagram expansion and provides auto-discovery for major cloud and network stencils. The system utilizes per-document FIFO serialization to manage concurrent operations when multiple agents interact with the same files.

Our verdict

With a security score of 50/100, this server is classified as high risk. This rating reflects the fact that its authentication methods, OAuth support, and read-only mode capabilities remain unreviewed. As a community-maintained project that lacks an official vendor relationship, users should exercise caution when deploying it in sensitive environments until the security posture of its interaction layer is more clearly defined.

  • Supports Mermaid diagram import and expansion
  • Auto-discovers cloud and network stencils at runtime
  • Zero direct dependencies reduce supply-chain surface
  • Per-document FIFO serialization for multi-agent safety
  • Security score of 50/100 indicates high risk
  • Authentication and OAuth support remain unreviewed
  • Community-maintained rather than official vendor support
  • Read-only mode and security controls not yet audited

Compatibility

No compatibility data yet.

Frequently asked questions

What are the core system requirements for running the Draw.io MCP server?

The server requires Node.js version 22 or higher and an MCP-compatible client such as Claude Desktop, Claude Code, Zed, or others.

What are the two primary ways to interact with the Draw.io MCP server?

You can use the built-in editor provided by the server via the --editor flag, or connect the server to a Draw.io instance running in your browser using the Draw.io browser extension.

How can I access the built-in Draw.io editor?

Once the MCP server is configured and running with the --editor flag, you can access the interface by navigating to http://localhost:3000/ in your web browser.

Does the server support managing multiple files or pages simultaneously?

Yes, it supports multi-document targeting with list-documents and selector tools, as well as multi-page targeting that requires specific target_page selectors for page-scoped operations.

Is TLS support available for this server?

Yes, the server supports TLS mode and includes the capability to optionally generate self-signed certificates, which is necessary for Firefox support.

Badge

Drawio MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.