Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

drawx-mcp-server

MCP server by SaharshPamecha Community

Generates draw.io diagrams and architecture designs from natural language inside Claude, Cursor, or VS Code, using the DrawX API. Useful for people who want diagrams without leaving their AI assistant.

  • Score 67
  • 0 stars
  • 42 a week
  • MIT
  • Updated

Install drawx-mcp-server

Built from the published package, never by AI.

claude mcp add drawx-mcp-server -e DRAWX_API_KEY=YOUR_DRAWX_API_KEY -- npx -y @drawx/mcp-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install drawx-mcp-server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the drawx-mcp-server block.

About

drawx-mcp-server is a Model Context Protocol server that lets AI assistants such as Claude, Cursor, or VS Code generate draw.io diagrams and architecture designs from natural language. It gives the assistant three tools. generate_diagram turns a prompt into complete draw.io XML, architect_design produces a High-Level Design from a brief, and whoami checks the API key and remaining quota.

The server calls the public DrawX API, so its output matches the DrawX web app. It requires a DrawX API key that starts with drawx_live_, and API access is a paid feature bundled with the DrawX Pro plan. It runs on Node.js 18 or later and suits people who want diagrams created from inside their AI assistant.

Written from the project's README and checked against it.

Tools it gives your assistant

  • generate_diagramTurns a natural-language prompt into complete draw.io XML.
  • architect_designProduces a High-Level Design diagram from a brief, optionally with an LLD and design doc.
  • whoamiVerifies your API key and shows your email, plan, API tier, and remaining monthly quota.

What you need

  • DrawX API key (starts with drawx_live_)
  • DrawX Pro plan for API access
  • Node.js 18 or later
  • MCP client such as Claude Desktop, Cursor, or VS Code
SettingNeededWhat it is
DRAWX_API_KEYEnvironment variable, secretRequiredYour DrawX API key (create one at https://getdrawx.com → Settings → API keys; starts with drawx_live_).
DRAWX_API_BASEEnvironment variableOptionalOverride the DrawX API base URL (defaults to https://getdrawx.com/api/v1).

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Draw me a microservices checkout flow
  • Design a high-level architecture for a web app on AWS
  • Check my DrawX API key and how much monthly quota I have left

Good to know

  • The free plan does not enable API access.
  • Pro subscribers get 200 API calls per month.
  • The rate limit is 60 requests per minute.
  • API usage is metered separately from in-app usage.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to drawx-mcp-server

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

drawx-mcp-server: common questions

Do I need a paid plan to use it?

Yes. API access is a paid feature bundled with the DrawX Pro plan, and the free plan does not enable API access.

How do I open the generated diagram?

Paste the returned XML into diagrams.net or save it as a .drawio file.

What do the mode options do?

The generate_diagram and architect_design tools accept flash, pro, or ultra modes, which trade speed for quality.

How do I install drawx-mcp-server?

In Claude Code run claude mcp add drawx-mcp-server -e DRAWX_API_KEY=YOUR_DRAWX_API_KEY -- npx -y @drawx/mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is drawx-mcp-server the official server?

drawx-mcp-server is a community project by SaharshPamecha, not verified by a company domain.

Is drawx-mcp-server free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is drawx-mcp-server safe to use?

It scores 67 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to drawx-mcp-server?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does drawx-mcp-server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

drawx-mcp-server Install

Add to stack

Loading.