---
slug: "markdown-to-html-mcp服务器"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/fashionzzz/markdown-to-html@main/README.md"
repo: "https://github.com/fashionzzz/markdown-to-html"
source_file: "README.md"
branch: "main"
---
# markdown-to-html MCP Server

A Model Context Protocol server that Convert Markdown to HTML.

## Features

### Tools
- `markdown_to_html` - Convert Markdown to HTML
  - Takes mdContent as required parameters

## Development

Install dependencies:
```bash
npm install
```

Build the server:
```bash
npm run build
```

## Installation

To use with Claude Desktop, add the server config:

On MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
On Windows: `%APPDATA%/Claude/claude_desktop_config.json`

```json
{
  "mcpServers": {
    "markdown-to-html": {
      "command": "node",
      "args": [
        "/path/to/markdown-to-html/build/index.js"
      ]
    }
  }
}
```

### Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector), which is available as a package script:

```bash
npm run inspector
```

The Inspector will provide a URL to access debugging tools in your browser.
