Skip to content
MCP server

Smart Drawio

Generate, validate, repair and style editable draw.io XML diagrams.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.0
Listing updated
5 days ago

About Smart Drawio

Smart Drawio is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add smart-drawio --env SMART_DRAWIO_API_KEY='<SMART_DRAWIO_API_KEY>' -- npx -y @yunshenwuchuxun/smart-drawio-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "smart-drawio": {
      "command": "npx",
      "args": [
        "-y",
        "@yunshenwuchuxun/smart-drawio-mcp"
      ],
      "env": {
        "SMART_DRAWIO_API_KEY": "<SMART_DRAWIO_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "smart-drawio": {
      "command": "npx",
      "args": [
        "-y",
        "@yunshenwuchuxun/smart-drawio-mcp"
      ],
      "env": {
        "SMART_DRAWIO_API_KEY": "<SMART_DRAWIO_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "smart-drawio": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@yunshenwuchuxun/smart-drawio-mcp"
      ],
      "env": {
        "SMART_DRAWIO_API_KEY": "<SMART_DRAWIO_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "smart-drawio": {
      "command": "npx",
      "args": [
        "-y",
        "@yunshenwuchuxun/smart-drawio-mcp"
      ],
      "env": {
        "SMART_DRAWIO_API_KEY": "<SMART_DRAWIO_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "smart-drawio": {
      "command": "npx",
      "args": [
        "-y",
        "@yunshenwuchuxun/smart-drawio-mcp"
      ],
      "env": {
        "SMART_DRAWIO_API_KEY": "<SMART_DRAWIO_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • SMART_DRAWIO_PROVIDERopenai or anthropic; required only for model generation
  • SMART_DRAWIO_BASE_URLModel provider HTTP(S) base URL; required only for model generation
  • SMART_DRAWIO_API_KEYYour model provider API key; required only for model generation
  • SMART_DRAWIO_MODELModel identifier; required only for model generation

Pricing

Open source

Smart Drawio FAQ

Is Smart Drawio free?

Yes. Smart Drawio is open source, so you can use and self-host it for free.

How do I add Smart Drawio to Claude Code?

Run this command in your terminal: claude mcp add smart-drawio --env SMART_DRAWIO_API_KEY='<SMART_DRAWIO_API_KEY>' -- npx -y @yunshenwuchuxun/smart-drawio-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers