drawio-mcp-server
The Draw.io MCP server allows AI agents to create and manipulate diagrams using Draw.io.
The Draw.io MCP server enhances diagramming capabilities by enabling AI agents to programmatically create, read, update, and delete diagram elements. This functionality allows for the automatic generation of architectural diagrams, flowcharts, and visual documentation, streamlining the process of visual communication. With features such as edge geometry control, parent-child relationships for nested shapes, and layer management for complex diagrams, the server provides a robust environment for both developers and non-technical users. It can be accessed through a built-in editor hosted by the server or via a browser extension, making it versatile for various use cases.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"drawio-mcp-server": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-drawio-mcp-server"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions