Md2svg Mcp

by yossi-lee

297 downloads
Not rated
GitHub

About

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

Details

Author
yossi-lee
Downloads
297
Categories
Developer Tools, Other

- Parses Markdown text into structured blocks.
- Renders Markdown elements as SVG graphics.
- Supports customizable width, padding, and output file.
- Works with any MCP-compatible client.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Md2svg Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install the server via uvx by adding the configuration to your MCP client’s mcpServers block. Once running, call the markdown_to_svg tool with parameters for the Markdown text, output file name (default output.svg), image width (default 720), and padding (default 50).

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

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.

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

Themarkdown_to_svgtool supports the following parameters:

- 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).

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

AI-powered document extraction infrastructure. Convert PDFs, Excel files, and scanned documents into structured JSON.

Advanced QR code generation and processing with support for custom styling, multiple formats, batch processing, and analytics.

An MCP server that provides tools for downloading, compressing, optimizing images, and extracting text via OCR. Built using the Model Context Protocol (MCP), this server enables AI assistants to download images from URLs or search, compress and convert images with various format options, batch process entire directories with auto-generated reports, synchronize filename references across your project, and extract printed text from images.

Converts LaTeX source code into professionally formatted PDF documents.

Convert Markdown documents to PDF files with syntax highlighting, custom styling, and optional watermarking.

Automatically downloads and converts documentation from various sources into organized markdown files.

Converts Mermaid diagrams to PNG or SVG images.

Parses PDF files from a URL into structured formats like JSON and Markdown.

Create PDFs from Markdown, fill forms, merge, split, rotate, watermark, encrypt, extract text, and add QR codes. 16 tools, TypeScript-native.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.