Md2svg MCP Server

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

Local serverstdio

What is the Md2svg MCP Server?

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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
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 Server

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

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

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

Frequently asked questions

A Model Context Protocol (MCP) server that converts Markdown text to SVG images. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.