@drawx/mcp-server
Generate draw.io diagrams and architecture designs from inside Claude, Cursor, or VS Code.
Power your agent
पब्लिशर की अपनी कमांड। PlugMCP एंडपॉइंट नहीं।
Host a copy with our keys and logs.
npx -y @drawx/[email protected]Claude Code में लोकल कमांड के लिए इंस्टॉल लिंक नहीं है। नीचे दी गई कमांड कॉपी करें और टर्मिनल में चलाएँ।
DRAWX_API_KEY=<secret> DRAWX_API_BASE=<value> claude mcp add io.github.saharshpamecha-drawx-mcp-server -- npx -y @drawx/mcp-server@0.1.1टर्मिनल में चलाएँ।
{ "mcpServers": { "io.github.saharshpamecha-drawx-mcp-server": { "command": "npx", "args": [ "-y", "@drawx/[email protected]" ], "env": { "DRAWX_API_KEY": "<secret>", "DRAWX_API_BASE": "<value>" } } }}claude_desktop_config.json
रिमोट URL या आपकी मशीन पर कमांड? दोनों इंस्टॉल में क्या अंतर है
PlugMCP पर चलाएँ
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
लॉन्च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.
drawx_live_. API access is a paid feature (bundled with the DrawX Pro plan).npm install -g @drawx/mcp-server
Or, if your MCP client supports npx, no install is needed — reference npx @drawx/mcp-server directly.
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.
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"drawx": {
"command": "npx",
"args": ["-y", "@drawx/mcp-server"],
"env": { "DRAWX_API_KEY": "drawx_live_..." }
}
}
}
Add to your workspace or user settings.json:
{
"mcp": {
"servers": {
"drawx": {
"command": "npx",
"args": ["-y", "@drawx/mcp-server"],
"env": { "DRAWX_API_KEY": "drawx_live_..." }
}
}
}
}
generate_diagramTurn 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_designRun 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".whoamiNo inputs. Returns your email, plan, API tier, and remaining monthly API quota.
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.
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 test
MIT © 2026 DrawX
Generate draw.io diagrams and architecture designs from natural language, via the DrawX API.
{ "mcpServers": { "io.github.saharshpamecha-drawx-mcp-server": { "command": "npx", "args": [ "-y", "@drawx/[email protected]" ], "env": { "DRAWX_API_KEY": "<secret>", "DRAWX_API_BASE": "<value>" } } }}टूल
अभी टूल सूची नहीं है। रिमोट सर्वर को पहले हेल्थ चेक के बाद सूची मिलती है।
FAQ
इस पेज पर Cursor, Claude Desktop, Claude Code या VS Code के लिए stdio कॉन्फ़िग कॉपी करें। यह पब्लिशर का इंस्टॉल इस्तेमाल करता है, PlugMCP प्रॉक्सी नहीं।
पब्लिशर ने ये एनवायरनमेंट वेरिएबल बताए हैं: DRAWX_API_KEY, DRAWX_API_BASE।
Drawx stdio पर लोकल चलता है।
पिछली जाँच 2026-11-09 को हुई। Generate draw.io diagrams and architecture designs from natural language, via the DrawX API.