Skip to main content
Glama

doc-ops-mcp

by Tele-AI

convert_html_to_markdown

Transform HTML files into Markdown with preserved structure, links, images, and tables. Automatically saves outputs to a specified directory, ideal for streamlined document conversion.

Instructions

Enhanced HTML to Markdown conversion with style preservation. Converts HTML files to clean Markdown format while preserving structure, links, images, tables, and formatting. Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names.

Input Schema

NameRequiredDescriptionDefault
debugNoEnable debug output
htmlPathYesHTML file path to convert
includeCSSNoInclude CSS styles as comments in Markdown
preserveStylesNoPreserve HTML formatting and styles

Input Schema (JSON Schema)

{ "properties": { "debug": { "default": false, "description": "Enable debug output", "type": "boolean" }, "htmlPath": { "description": "HTML file path to convert", "type": "string" }, "includeCSS": { "default": false, "description": "Include CSS styles as comments in Markdown", "type": "boolean" }, "preserveStyles": { "default": true, "description": "Preserve HTML formatting and styles", "type": "boolean" } }, "required": [ "htmlPath" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Tele-AI/doc-ops-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server