Skip to main content

MCP Server for converting Draw.io diagrams to PNG

Project description

drawio2png-mcp

将 Draw.io 图表转换为 PNG 图片的 MCP 服务。

安装

uvx drawio2png-mcp

配置

在 MCP 客户端配置中添加:

{
  "mcpServers": {
    "drawio": {
      "command": "uvx",
      "args": ["drawio2png-mcp"]
    }
  }
}

前置要求

需要安装 draw.io 桌面版

如果 draw.io 不在默认路径,可通过 DRAWIO_PATH 环境变量指定:

{
  "mcpServers": {
    "drawio": {
      "command": "uvx",
      "args": ["drawio2png-mcp"],
      "env": {
        "DRAWIO_PATH": "/path/to/drawio"
      }
    }
  }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drawio2png_mcp-0.1.0.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drawio2png_mcp-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file drawio2png_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: drawio2png_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.8

File hashes

Hashes for drawio2png_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7f8adf42cf4fde90bcafe7e847ff55d8fcb06b7ca3eab218382236386822878e
MD5 2e1d554b0bec96a11382ebbad0ae2f0a
BLAKE2b-256 b510d80bd6d062114801f78c48053aa88de4e53c36767fd321d78b9135d3ecd8

See more details on using hashes here.

File details

Details for the file drawio2png_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for drawio2png_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db2e636d126356313ee09e2f5e55007863f2e2e51e2a49318ef75f0e3e3b62d4
MD5 d873b4b14d032195718f1f0466472651
BLAKE2b-256 c4fed615c39ebf352263a786da504cc03115f99789f07adbccd91f63be9559a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page