Md2svg MCP Server

A Model Context Protocol (MCP) server that converts Markdown text to SVG images.

Local serverstdio

What is the Md2svg MCP MCP server?

Md2svg MCP MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. A Model Context Protocol (MCP) server that converts Markdown text to SVG images.

What you get

This MCP server provides a tool to transform Markdown content into SVG format. It supports various Markdown elements, including headings, lists, code blocks, and tables. The server can be easily integrated into any MCP client, allowing users to visualize Markdown content in a scalable vector graphic format.

  • Markdown Parsing — Converts Markdown text to structured blocks
  • SVG Generation — Renders Markdown elements as SVG elements
  • Customization — Supports customizable output dimensions, padding, and colors
  • MCP Integration — Compatible with any MCP client

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What the assistant can call

Once Md2svg MCP is connected, these are the calls the assistant has available:

  • Customization — Supports customizable output dimensions, padding, and colors
  • md_text — The Markdown text to be converted
  • output_file — The output SVG file name (default: output.svg)
  • width — The width of the SVG image (default: 720)
  • padding — The padding around the SVG content (default: 50)

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the md2svg mcp mcp server does with a few real requests.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Md2svg MCP's toolset — Customization, md_text, output_file and 2 more — is a fair guide to whether it matches your workflow. It is maintained by yossi-lee; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Md2svg MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
CustomizationSupports customizable output dimensions, padding, and colors.
md_textThe Markdown text to be converted.
output_fileThe output SVG file name (default: output.svg).
widthThe width of the SVG image (default: 720).
paddingThe padding around the SVG content (default: 50).

How to install the Md2svg MCP MCP server

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

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Md2svg MCP to Customization.
  • Use Md2svg MCP to md text.
  • Use Md2svg MCP to output file.

Frequently asked questions

It connects Md2svg MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (Customization, md_text, output_file, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Md2svg MCP directly.