Back to Home
levz0r icon

html-to-markdown-mcp

by levz0r

Overview

Converts HTML content from web pages or raw strings into Markdown format, with options for including metadata, truncating content, and saving to files.

Installation

Run Command
npx html-to-markdown-mcp

Security Notes

The server has potential vulnerabilities related to file system access and network requests. The `saveToFile` parameter in `html_to_markdown` and `filePath` in `save_markdown` use `path.resolve` without sanitization, potentially allowing arbitrary file writes outside the intended directory (e.g., via path traversal like `../../etc/passwd`). Additionally, the `url` parameter in `html_to_markdown` fetches content from external URLs without explicit validation, which could expose the server to Server-Side Request Forgery (SSRF) if a malicious URL is provided.

Similar Servers

Stats

Interest Score25
Security Score4
Cost ClassMedium
Avg Tokens3000
Stars17
Forks0
Last Update2025-12-23

Tags

htmlmarkdownconversionweb scrapingmcp