md-beautifier
Provides tools for converting Markdown into complete, self-contained HTML documents with clean typographic styling, syntax highlighting, and light/dark mode.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@md-beautifierRender this markdown into a styled, self-contained HTML page"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
md-beautifier
An MCP server that turns raw Markdown into a complete, self-contained HTML document
rendered with clean typographic styling — serif fonts, syntax highlighting, and
automatic light/dark mode. Your LLM agent can hand it the raw markdown it wrote and
get back a ready-to-embed <html> string (all CSS inlined, works offline, no CDN).
Packaged as a single Node.js container, run with Docker Compose.
The tool
Name |
|
Transport | MCP Streamable HTTP at |
Input |
|
Output | Full HTML document as a text string |
Example of how an agent calls it:
render_markdown_to_html(markdown="<raw md>", title="Holiday Guide")Related MCP server: Website Scraper MCP Server
Quick start
docker compose up -d --buildVerify it is healthy and reachable:
curl http://localhost:3010/healthTest a render directly:
curl -s -X POST http://localhost:3010/mcp \
-H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"curl","version":"0"}}}'Connecting Open WebUI (>= 0.6.31)
Open WebUI only supports Streamable HTTP MCP servers natively, so this is the default transport.
Admin Settings → External Tools → + Add Server
Type:
MCP (Streamable HTTP)Server URL:
http://host.docker.internal:3010/mcphost.docker.internalworks when Open WebUI itself runs in Docker on the same host.Use
http://localhost:3010/mcpif Open WebUI runs natively on the host.From another machine, use the host's LAN IP.
Auth:
Noneby default. If you setMCP_API_TOKENin.env, chooseBearerand enter the token.Save, then enable the tool for a model and make sure function calling is on for that model so the agent can invoke it.
Configuration
Variable | Default | Purpose |
|
| HTTP port the MCP endpoint listens on |
|
| Bind address |
|
|
|
| (empty) | If set, requests must carry |
stdio mode (for other clients)
Some clients (e.g. Claude Desktop, opencode) can launch stdio MCP servers directly:
docker compose run --rm -e MCP_TRANSPORT=stdio md-beautifieror run natively:
npm install && MCP_TRANSPORT=stdio node src/server.jsStyling
The embedded stylesheet lives in src/styles.js — a single place to tweak fonts,
colors, and layout. Current look:
Clean minimal article layout, ~46rem reading width
Serif type stack:
Iowan Old Style / Palatino Linotype / Palatino / GeorgiaSyntax highlighting via highlight.js (common languages), palette tuned to the theme
Automatic light/dark via
prefers-color-schemeStyled tables, blockquotes, task lists,
kbd, images
Raw HTML in markdown is escaped (not executed), so the tool is safe to run on untrusted input.
Development
npm install
npm test # unit tests for the renderer
npm start # run locally on :3010Layout
├── docker-compose.yml # runs the service, maps :3010
├── Dockerfile # node:22-alpine
├── src/
│ ├── server.js # entry: HTTP/stdio transport + wiring
│ ├── mcp.js # MCP server + tool definition
│ ├── renderer.js # markdown-it + highlight.js
│ └── styles.js # embedded CSS template
└── test/renderer.test.jsThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server for converting Markdown documents to PDF files.Last updated17537MIT
- AlicenseDqualityDmaintenanceAn MCP server that extracts meaningful content from websites and converts HTML to high-quality Markdown, using Mozilla's Readability engine.Last updated19,4668MIT
- AlicenseDqualityDmaintenanceAn MCP server that converts Markdown to HTML, supporting both stdio and HTTP interfaces for easy integration with Cursor and other MCP clients.Last updated132MIT
- AlicenseCqualityDmaintenanceAn MCP server that converts Markdown content to Notion API-compatible formats, suitable for content management and development integration.Last updated11Apache 2.0
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Markdown utilities MCP.
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/JayKid/md-beautifier'
If you have feedback or need assistance with the MCP directory API, please join our Discord server