markdown-to-html
markdown-to-html MCP 服务器
将 Markdown 转换为 HTML 的模型上下文协议服务器。
特征
工具
markdown_to_html- 将 Markdown 转换为 HTML将 mdContent 作为必需参数
Related MCP server: Markmap MCP Server
发展
安装依赖项:
npm install构建服务器:
npm run build对于使用自动重建的开发:
npm run watch安装
要与 Claude Desktop 一起使用,请添加服务器配置:
在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"markdown-to-html": {
"command": "node",
"args": [
"/path/to/markdown-to-html/build/index.js"
]
}
}
}调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
npm run inspector检查器将提供一个 URL 来访问浏览器中的调试工具。
Available Tools
1 toolmarkdown_to_htmlC
Convert Markdown to HTML
| Name | Required | Description | Default |
|---|---|---|---|
| mdContent | Yes | Markdown content to convert |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states the conversion action without mentioning any behavioral traits such as error handling, performance characteristics, or output format details. This leaves significant gaps in understanding how the tool behaves beyond its basic function.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description 'Convert Markdown to HTML' is extremely concise and front-loaded, consisting of a single, clear sentence that directly communicates the tool's purpose without any unnecessary words. Every part of the description earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations and output schema, the description is incomplete for a tool that performs data transformation. It fails to explain what the output looks like (e.g., HTML string), potential limitations, or error conditions, leaving the agent with insufficient context for reliable use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with the parameter 'mdContent' clearly documented as 'Markdown content to convert'. The description does not add any additional meaning beyond what the schema provides, so it meets the baseline score of 3 for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Convert Markdown to HTML' clearly states the tool's function with a specific verb ('Convert') and resource ('Markdown to HTML'), making the purpose immediately understandable. However, with no sibling tools mentioned, there's no opportunity to distinguish from alternatives, which prevents a perfect score of 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives or any contextual prerequisites. It simply states what the tool does without indicating scenarios for its application, leaving usage entirely implicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v1.0.0- First observed
markdown_to_html
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined as converting Markdown to HTML, making it impossible for an agent to misselect among multiple options.
The single tool name 'markdown_to_html' uses a consistent snake_case pattern and follows a clear verb_noun structure (convert_markdown_to_html implied). Since there is only one tool, there is no inconsistency to evaluate, and the naming is straightforward and appropriate.
A single tool for a server named 'markdown-to-html' feels thin and under-scoped. While the tool directly addresses the core function, typical MCP servers in this domain might include additional tools for validation, configuration, or handling different Markdown flavors, making this count borderline minimal for practical use.
The tool covers the basic conversion from Markdown to HTML, which aligns with the server's stated purpose. However, there are notable gaps, such as lack of tools for HTML to Markdown conversion, validation, or customization options, which could limit agent functionality in more complex scenarios.
Maintenance
Related MCP Connectors
Document-to-Markdown MCP server — convert PDF, Office and HTML into LLM-ready Markdown.
Model Context Protocol server for Studex tools, notifications, and profile integrations
A Model Context Protocol server for Wix AI tools
Document conversion MCP server: PDF to Markdown, image OCR, spreadsheet parsing.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server that provides web content fetching and conversion capabilities.4438 npm4MIT
- AlicenseAqualityAmaintenanceA Model Context Protocol server that converts Markdown text to interactive mind maps with support for rich interactive operations and multi-format exports.1157 npm289MIT
- AlicenseDqualityDmaintenanceAn MCP server that converts Markdown to HTML, supporting both stdio and HTTP interfaces for easy integration with Cursor and other MCP clients.19 npmMIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that allows LLMs to retrieve and convert web content to markdown without robots.txt restrictions.12MIT