Skip to main content

Md2svg-mcp

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

Overview

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.

Features

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

Installation

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

Configuration

The markdown_to_svg tool 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).

Contributing

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

Metadata

Release files for md2svg-mcp 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for md2svg-mcp 0.1.8
File Size Uploaded Provenance
md2svg_mcp-0.1.8.tar.gz 24.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for md2svg-mcp 0.1.8
File Interpreter ABI Platform
md2svg_mcp-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 30.1 kB

Release files / md2svg_mcp-0.1.8.tar.gz

Download URL md2svg_mcp-0.1.8.tar.gz
Size 24.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a6ed8caec09366e539bfc36a6134a2b37ec259ecf8a2f99f84306020f5150c4f
BLAKE2b-256 checksum
How to use checksums
6272fea84aab57b6d2715f41b529d98e2e105d00f06e0e5294c950d3031dcd63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.12

Release files / md2svg_mcp-0.1.8-py3-none-any.whl

Download URL md2svg_mcp-0.1.8-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1a9720f3589b405df455afce0776ab9030a6c81f296d2068504b2fa4a3e59da
BLAKE2b-256 checksum
How to use checksums
eae2604ac51dd9170bc1dd99ee3d5b6ae70d625375dfe9af88e976ddb96e99e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.12

Security for md2svg-mcp 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page