Smart Drawio
Smart Drawio is an MCP server that adds web browsing tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Generate, validate, repair and style editable draw.io XML diagrams. It has 366 GitHub stars, is released under the MIT license and runs locally with npx -y @yunshenwuchuxun/smart-drawio-mcp.
github.com/yunshenwuchuxun/smart-drawio-next (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
- Needs API key
- Web & browsing
- MIT
- Active
Install Smart Drawio
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"smart-drawio": {
"command": "npx",
"args": [
"-y",
"@yunshenwuchuxun/smart-drawio-mcp"
],
"env": {
"SMART_DRAWIO_API_KEY": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env SMART_DRAWIO_API_KEY=your-value --transport stdio smart-drawio -- npx -y @yunshenwuchuxun/smart-drawio-mcpCursor
{
"mcpServers": {
"smart-drawio": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@yunshenwuchuxun/smart-drawio-mcp"
],
"env": {
"SMART_DRAWIO_API_KEY": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "smart_drawio_api_key",
"description": "SMART_DRAWIO_API_KEY",
"password": true
}
],
"servers": {
"smart-drawio": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@yunshenwuchuxun/smart-drawio-mcp"
],
"env": {
"SMART_DRAWIO_API_KEY": "${input:smart_drawio_api_key}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
SMART_DRAWIO_PROVIDER | No | openai or anthropic; required only for model generation |
SMART_DRAWIO_BASE_URL | No | Model provider HTTP(S) base URL; required only for model generation |
SMART_DRAWIO_API_KEYsecret | No | Your model provider API key; required only for model generation |
SMART_DRAWIO_MODEL | No | Model identifier; required only for model generation |
Tools (5)
Parsed from the Tools section of the README; check the repository for the current list.
list_drawio_options{}
validate_drawioxml
repair_drawioxml
style_drawioxml; optional theme, sourceTheme, stylePack, presets, textTool, trick
generate_drawioprompt; optional chartType="auto", theme="research"
About Smart Drawio
A local MCP server for generating, validating, repairing and styling editable draw.io XML. It shares the diagram core with Smart Drawio Next. It uses stdio and does not require the Next.js website, a browser, or draw.io Desktop.
- agent-skills
- diagrams
- drawio
- mcp
- nextjs
Similar MCP servers
More web & browsing MCP servers
Google News
lewisdonovan/google-news-scraper
Search Google News, get top stories and read articles.
Maintained · last commit Oct 15, 2026
Web & browsingJavaScriptSpotifyscraper
AliAkhtari78/SpotifyScraper
Public Spotify metadata, lyrics and podcasts for LLM agents.
Maintained · last commit Jun 26, 2026
Web & browsingPythonOpenreality
reality-opened/openreality
Open Reality: phone video to AI-queryable 3D scenes.
Too new to judge · created Sep 1, 2026
Web & browsingPythonsquirrelscan
squirrelscan/squirrelscan
Website QA for your coding agent: audit SEO, performance, security, accessibility over MCP.
Active · last commit Oct 26, 2026
OfficialWeb & browsingTypeScriptFlyto Core
flytohub/flyto-core
Execution engine for AI agents. 412 modules: browser, file, Docker, data, crypto.
Active · last commit Oct 23, 2026
Web & browsingPythonGoogle Surf MCP
HarimxChoi/google-surf-mcp
Web, academic and code search with graph RAG, data lineage, ontology and cross-project schema links.
Active · last commit Oct 20, 2026
Web & browsingTypeScript
How do I install the Smart Drawio MCP server?
Add the command npx -y @yunshenwuchuxun/smart-drawio-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Smart Drawio free?
The server is open source under the MIT license, so running it is free. It needs credentials (SMART_DRAWIO_API_KEY) for the service it connects to, which may require a paid account.
Is Smart Drawio actively maintained?
The most recent commit was on Oct 14, 2026. The latest release is tools-v0.1.0, published Oct 14, 2026. appsgit only lists MCP servers with a commit in the last six months.