Skip to main content
Glama

Vizdown-MCP

An MCP server that converts Markdown files into beautiful diagrams — flowcharts, mind maps, architecture diagrams, ER diagrams, Gantt charts, sequence diagrams, and more. Built with Apple HIG design language.

Installation

git clone https://github.com/rutika196/vizdown-mcp.git
cd vizdown-mcp
python3 -m venv .venv
source .venv/bin/activate        # macOS / Linux
# .venv\Scripts\activate         # Windows
pip install -e .
playwright install chromium

IDE Setup

Cursor

Create or edit .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "vizdown-mcp": {
      "command": "/absolute/path/to/vizdown-mcp/.venv/bin/python",
      "args": ["-m", "src.server"],
      "cwd": "/absolute/path/to/vizdown-mcp"
    }
  }
}

Replace /absolute/path/to/vizdown-mcp with your actual path, e.g. ~/Desktop/vizdown-mcp.

VS Code

Create .vscode/mcp.json in your project root:

{
  "servers": {
    "vizdown-mcp": {
      "command": "/absolute/path/to/vizdown-mcp/.venv/bin/python",
      "args": ["-m", "src.server"],
      "cwd": "/absolute/path/to/vizdown-mcp"
    }
  }
}

VS Code reads MCP config from .vscode/mcp.json — no need to touch settings.json.

IntelliJ IDEA / WebStorm / PyCharm (JetBrains)

JetBrains IDEs (2025.1+) support MCP via the AI Assistant plugin.

  1. Go to SettingsToolsAI AssistantMCP Servers.

  2. Click + Add and fill in:

Field

Value

Name

vizdown-mcp

Command

/absolute/path/to/vizdown-mcp/.venv/bin/python

Arguments

-m src.server

Working Directory

/absolute/path/to/vizdown-mcp

Or edit the MCP config file directly at ~/.config/jetbrains/mcp.json:

{
  "mcpServers": {
    "vizdown-mcp": {
      "command": "/absolute/path/to/vizdown-mcp/.venv/bin/python",
      "args": ["-m", "src.server"],
      "cwd": "/absolute/path/to/vizdown-mcp"
    }
  }
}

Windows users: replace .venv/bin/python with .venv\\Scripts\\python.exe and use \\ in paths.

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "vizdown-mcp": {
      "command": "/absolute/path/to/vizdown-mcp/.venv/bin/python",
      "args": ["-m", "src.server"],
      "cwd": "/absolute/path/to/vizdown-mcp"
    }
  }
}

Usage

As a standalone server (stdio transport)

source .venv/bin/activate
vizdown-mcp
# or
python -m src.server

MCP Tools

render_diagram

Render the first diagram found in a Markdown file or raw text.

Parameter

Type

Default

Description

file_path

string

Path to a .md file

raw_markdown

string

Raw markdown with a diagram block

output_format

string

"svg"

"svg", "png", "jpeg", or "pdf"

theme

string

"light"

"light" or "dark"

look

string

"default"

"default" or "handDrawn"

scale

int

2

Resolution multiplier for PNG/JPEG

render_all_diagrams

Render every diagram block in a file. Same parameters plus output_dir to save files.

list_diagrams

List detected diagram blocks with types and line numbers, without rendering.

Supported Diagram Types

Via Mermaid.js (Playwright)

flowchart, sequence, class, ER, state, gantt, gitGraph, pie, timeline, quadrant, sankey, xychart, block-beta, architecture-beta, kanban, journey, C4

Custom SVG Renderers

  • Mind maps — balanced horizontal tree with organic Bézier connectors

  • Architecture / service diagrams — Miro-style auto-layout with icons, step badges, groups

Examples

See the examples/ folder — 13 ready-to-render Markdown files:

File

Diagram Type

auth_flow.md

Flowchart (OAuth 2.0 + MFA)

api_sequence.md

Sequence diagram

order_states.md

State diagram

database_schema.md

ER diagram

class_diagram.md

Class diagram

project_roadmap.md

Gantt chart

tech_stack_pie.md

Pie chart

git_workflow.md

Git graph

company_timeline.md

Timeline

user_journey.md

User journey

system_overview.md

Mind map (custom SVG)

microservices.md

Architecture (17 services + groups)

ci_cd_pipeline.md

Architecture (CI/CD pipeline)

Running Tests

python tests/test_all.py

Dependencies

  • mcp[cli] — MCP Python SDK

  • playwright — Headless Chromium for Mermaid rendering and PNG/JPEG export

  • cairosvg — SVG to PDF conversion

  • Pillow — Image processing (optional, for JPEG)

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rutika196/vizdown-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server