@drawx/mcp-server
Generates draw.io XML diagrams that can be opened and edited in diagrams.net.
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., "@@drawx/mcp-serverdesign a microservices checkout flow"
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.
@drawx/mcp-server
Generate draw.io diagrams and architecture designs from inside Claude, Cursor, or VS Code.
DrawX MCP is a Model Context Protocol server that gives your AI assistant three tools:
generate_diagram— one-shot: natural-language prompt → complete draw.io XML.architect_design— from a brief, produce a High-Level Design diagram (optionally an LLD + design doc).whoami— verify your API key + see remaining quota.
Behind the scenes it calls the DrawX public API, so output matches the DrawX web app exactly.
Requirements
Node.js 18+
A DrawX API key — create one in DrawX → Settings → API keys. Keys start with
drawx_live_. API access is a paid feature (bundled with the DrawX Pro plan).
Related MCP server: draw-io-mcp
Install
npm install -g @drawx/mcp-serverOr, if your MCP client supports npx, no install is needed — reference npx @drawx/mcp-server directly.
Configure your MCP client
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"drawx": {
"command": "npx",
"args": ["-y", "@drawx/mcp-server"],
"env": {
"DRAWX_API_KEY": "drawx_live_..."
}
}
}
}Restart Claude Desktop. In a new chat, ask "Draw me a microservices checkout flow" — Claude will call generate_diagram and show the resulting XML.
Cursor
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"drawx": {
"command": "npx",
"args": ["-y", "@drawx/mcp-server"],
"env": { "DRAWX_API_KEY": "drawx_live_..." }
}
}
}VS Code (Copilot MCP)
Add to your workspace or user settings.json:
{
"mcp": {
"servers": {
"drawx": {
"command": "npx",
"args": ["-y", "@drawx/mcp-server"],
"env": { "DRAWX_API_KEY": "drawx_live_..." }
}
}
}
}Environment variables
Variable | Required | Purpose |
| yes | Your DrawX API key ( |
| no | Override the API base URL (default |
Tools reference
generate_diagram
Turn a description into draw.io XML.
Inputs
prompt(string, required) — what to draw.mode—"flash"(default),"pro", or"ultra". Trades speed for quality.previousXml— an existing mxfile to modify.
Output — assistant text: a summary line (model, tokens, cost) followed by the full <mxfile>...</mxfile> XML in a fenced code block. Paste the XML into diagrams.net or save as .drawio.
architect_design
Run the DrawX Architect Co-Pilot on a brief. Streams intermediate progress; returns a JSON payload with hld (and optional lld, doc).
Inputs
brief(string, required, ≥ 20 chars) — what to design.depth—"hld","hld_lld"(default), or"hld_lld_doc".style—"cloud_agnostic"(default),"aws","azure", or"gcp".mode—"flash"(default),"pro", or"ultra".
whoami
No inputs. Returns your email, plan, API tier, and remaining monthly API quota.
Quota + rate limits
API usage is metered on a separate tier from your in-app usage. Pro subscribers get 200 API calls / month. The rate limit is 60 requests / minute. On the free plan, API access is not enabled — upgrade at getdrawx.com.
Local development
git clone https://github.com/SaharshPamecha/drawx-mcp-server
cd drawx-mcp-server
npm install
npm run build
DRAWX_API_KEY=drawx_live_... node dist/index.js # runs over stdio; use an MCP inspector
npm testLicense
MIT © 2026 DrawX
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceEnables AI agents to programmatically create, modify, and analyze Draw.io diagrams through the Model Context Protocol. Supports generating architectural diagrams, flowcharts, and visualizations with bidirectional communication between AI systems and Draw.io.Last updated131321,397MIT
- Alicense-qualityDmaintenanceEnables creating and editing Draw.io diagrams via natural language, supporting shapes, connectors, and multi-line text.Last updated2MIT
- Alicense-qualityDmaintenanceEnables AI assistants to create, read, and edit draw.io diagrams with live preview in VS Code.Last updated1322MIT
- Flicense-qualityFmaintenanceEnables AI assistants to create, read, and manage Draw.io diagrams programmatically through natural language interactions.Last updated1
Related MCP Connectors
Generate cloud architecture diagrams, flowcharts, and sequence diagrams.
Let Claude, Cursor, or ChatGPT author Mermaid diagrams your team can read and share.
Generate dynamic Mermaid diagrams and charts with AI assistance. Customize styles and export diagr…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/SaharshPamecha/drawx-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server