Back to Home
levz0r icon

html-to-markdown-mcp

by levz0r

Overview

Converts HTML content (from a URL or raw string) into clean, formatted Markdown and can save it to a file.

Installation

Run Command
npx html-to-markdown-mcp

Security Notes

The server has critical security vulnerabilities. The `saveToFile` and `filePath` parameters in the `html_to_markdown` and `save_markdown` tools are resolved using `path.resolve()`, allowing for **Path Traversal / Arbitrary File Write**. An attacker could specify paths like `../../../etc/passwd` to write to arbitrary locations on the server's file system. Additionally, the `url` parameter in `html_to_markdown` allows fetching from any URL, posing a **Server-Side Request Forgery (SSRF)** risk, enabling an attacker to make requests to internal networks or cloud metadata endpoints.

Similar Servers

Stats

Interest Score35
Security Score2
Cost ClassMedium
Avg Tokens1000
Stars4
Forks0
Last Update2025-12-03

Tags

HTMLMarkdownConversionWeb ScrapingMCP