Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"drawio-mcp-server": {
"url": "http://localhost:5000/mcp/sse"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server implementation for draw.io (diagrams.net) diagrams. This server allows AI agents (via IDE plugins or codegen tools) to read, generate, and edit .drawio diagram files.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in design / developer-tools
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Workspace template + MCP server for Claude Code, Codex CLI, Cursor & Windsurf. Multi-agent knowledge engine (ag-refresh / ag-ask) that turns any codebase into a queryable AI assistant.
MCP server for accessing Figma plugin console logs and screenshots via Cloudflare Workers or local mode
MCP server for using the GitLab API
MCP Security Weekly
Get CVE alerts and security updates for Draw IO MCP CSharp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server implementation for draw.io (diagrams.net) diagrams. This server allows AI agents (via IDE plugins or codegen tools) to read, generate, and edit .drawio diagram files.
.drawio files via API├── src
│ ├── DrawIO.MCP.Core # F# core library for DrawIO file manipulation
│ ├── DrawIO.MCP.STDIO # C# STDIO implementation for command-line MCP
│ └── DrawIO.MCP.SSE # C# SSE Web API implementation for Cursor integration
├── tests
│ ├── DrawIO.MCP.Core.Tests
│ ├── DrawIO.MCP.STDIO.Tests
│ └── DrawIO.MCP.SSE.Tests
├── diagrams # Directory for storing diagram files
└── learning # Documentation of lessons learned and best practices
dotnet build
# Run with default settings
dotnet run --project src/DrawIO.MCP.STDIO/DrawIO.MCP.STDIO.csproj
# Run with custom diagrams directory
dotnet run --project src/DrawIO.MCP.STDIO/DrawIO.MCP.STDIO.csproj -- --diagrams-dir /path/to/diagrams
# Run with verbose logging
dotnet run --project src/DrawIO.MCP.STDIO/DrawIO.MCP.STDIO.csproj -- --verbose
# Run with default settings (http://localhost:5000)
dotnet run --project src/DrawIO.MCP.SSE/DrawIO.MCP.SSE.csproj
# Run with custom settings via environment variables
DIAGRAMS_DIR=/path/to/diagrams ASPNETCORE_URLS="http://localhost:8000" dotnet run --project src/DrawIO.MCP.SSE/DrawIO.MCP.SSE.csproj
To use the SSE server with Cursor:
dotnet run --project src/DrawIO.MCP.SSE/DrawIO.MCP.SSE.csproj
.cursor/mcp.json file in your project directory or in your home directory:{
"mcpServers": {
"drawio-mcp-server": {
"url": "http://localhost:5000/mcp/sse"
}
}
}
Create a diagram showing a client-server architecture
The STDIO server can be used by any MCP client that supports the STDIO transport method, like the MCP CLI:
mcp connect stdio --command "dotnet run --project /path/to/DrawIO.MCP.STDIO/DrawIO.MCP.STDIO.csproj"
The server exposes the following MCP resources:
diagram://{diagram_name} - Retrieve a diagram's content as JSONdiagram-list://all - List all available diagramsThe server exposes the following MCP tools:
create_new_diagram - Create a new empty diagram fileadd_shape - Add a new shape to a diagramconnect_shapes - Connect two shapes with an arrowdelete_shape - Delete a shape from a diagramupdate_shape - Update properties of an existing shapestyle_shape - Apply styles to shapes (colors, borders, etc.)arrange_diagram - Automatically organize shapes in a diagram (horizontal, vertical, or grid layout)generate_vpc - Generate a sample AWS VPC layout diagramget_diagram_image - Export a diagram as an image (requires draw.io CLI)move_shape - Move a shape to a new posi