mdtidy.com
Cleans and converts AI-generated Markdown into HTML, PDF, DOCX or PNG via MCP
mdtidy.com is an MCP server for files and documents. It can run locally on your machine or as a hosted remote server.
- Platforms
- API, CLI, Web
- Runs
- Locally or Remotely
- Version
- 1.1.11
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http mcp https://www.mdtidy.com/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://www.mdtidy.com/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://www.mdtidy.com/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"url": "https://www.mdtidy.com/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://www.mdtidy.com/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://www.mdtidy.com/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add mcp --url https://www.mdtidy.com/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp]
url = "https://www.mdtidy.com/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://www.mdtidy.com/mcpEnter a Name (for example "mdtidy.com"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://www.mdtidy.com/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp": { "httpUrl": "https://www.mdtidy.com/mcp" } } }Or run: gemini mcp add -s user --transport http mcp https://www.mdtidy.com/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp": { "serverUrl": "https://www.mdtidy.com/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp": { "url": "https://www.mdtidy.com/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp": { "type": "streamableHttp", "url": "https://www.mdtidy.com/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp": { "url": "https://www.mdtidy.com/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp": { "url": "https://www.mdtidy.com/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp": { "url": "https://www.mdtidy.com/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp": { "url": "https://www.mdtidy.com/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
MDTIDY_API_KEYmdtidy API key (mt_live_… / mt_test_…). Create one at https://mdtidy.com/account/api-keys.RequiredMDTIDY_BASE_URLOverride the API base URL. Defaults to https://mdtidy.com.
About mdtidy.com
Language models often produce Markdown that breaks when rendered or exported. This server gives AI clients tools to tidy that output, repair malformed syntax, and convert it into HTML, PDF, Word (DOCX) or PNG files.
It runs either locally over stdio through an npm package that needs an mdtidy API key, or as a remote endpoint over streamable HTTP. Documents can be saved and shared once converted, so an assistant can hand back a finished file rather than raw text.
It suits developers wiring document generation into agent workflows, and anyone whose assistant writes reports, notes or docs that need to leave the chat window in a clean format.
What it does
- Markdown cleanup
- Repairs malformed or inconsistent Markdown produced by language models.
- Multi-format conversion
- Exports content to HTML, PDF, DOCX or PNG.
- Document saving and sharing
- Stores converted documents so they can be shared by link.
- Local stdio mode
- Runs as an npm package launched by a local MCP client with an API key.
- Remote HTTP endpoint
- Offers a streamable HTTP transport for hosted MCP connections.
Good for
- Turning an assistant's Markdown answer into a formatted PDF report
- Exporting generated documentation to Word for editing
- Producing PNG snapshots of rendered Markdown for slides or posts
- Sharing a converted document with a colleague through a link
mdtidy.com FAQ
How do I authenticate the server?
The local package reads an MDTIDY_API_KEY environment variable; keys start with mt_live_ or mt_test_ and are created in the mdtidy account settings.
Can I point the server at a different API host?
Yes, the MDTIDY_BASE_URL variable overrides the default base URL of https://mdtidy.com.
How do I add mdtidy.com to Claude Code?
Run this command in your terminal: claude mcp add --transport http mcp https://www.mdtidy.com/mcp
What are the best alternatives to mdtidy.com?
The closest alternatives to mdtidy.com are Markdown to HTML Got Simplified, Markdown Formatter, Aigroup Mdtoword MCP, Html To Markdown MCP and Mdmagic MCP Server.
Where this comes from
- Description: written from its MCP Registry entry.
- Install steps: from the official MCP Registry entry.