Back to Home
peteretelej icon

md-server

Verified Safe

by peteretelej

Overview

Converts various documents, webpages, and media files into markdown format, serving as an HTTP API or an MCP server for AI assistants to read and process content.

Installation

Run Command
uvx md-server[mcp] --mcp-stdio

Environment Variables

  • MD_SERVER_HOST
  • MD_SERVER_PORT
  • MD_SERVER_API_KEY
  • MD_SERVER_MAX_FILE_SIZE
  • MD_SERVER_TIMEOUT_SECONDS
  • MD_SERVER_URL_FETCH_TIMEOUT
  • MD_SERVER_CONVERSION_TIMEOUT
  • MD_SERVER_BROWSER_TIMEOUT
  • MD_SERVER_OCR_TIMEOUT
  • MD_SERVER_DEBUG
  • MD_SERVER_HTTP_PROXY
  • MD_SERVER_HTTPS_PROXY
  • MD_SERVER_OPENAI_API_KEY
  • MD_SERVER_AZURE_DOC_INTEL_ENDPOINT
  • MD_SERVER_AZURE_DOC_INTEL_KEY
  • MD_SERVER_CRAWL4AI_JS_RENDERING
  • MD_SERVER_CRAWL4AI_TIMEOUT
  • MD_SERVER_CRAWL4AI_USER_AGENT
  • MD_SERVER_LLM_PROVIDER_URL
  • MD_SERVER_LLM_API_KEY
  • MD_SERVER_LLM_MODEL
  • MD_SERVER_ALLOW_LOCALHOST
  • MD_SERVER_ALLOW_PRIVATE_NETWORKS
  • MD_SERVER_ALLOWED_FILE_TYPES

Security Notes

The server implements robust Server-Side Request Forgery (SSRF) protection by default, blocking access to private IP ranges, localhost (configurable), and cloud metadata endpoints. API key authentication is supported via a Bearer token, which is a good security practice for the HTTP API. Input validation (file size, URL schemes, MIME types) is in place. Reliance on external conversion libraries (MarkItDown, Crawl4AI) introduces inherent risks associated with complex file/web parsing, but the server applies timeouts and input validation to mitigate these.

Similar Servers

Stats

Interest Score33
Security Score9
Cost ClassMedium
Avg Tokens4000
Stars3
Forks0
Last Update2026-01-17

Tags

Document ConversionMarkdownHTTP APIAI ToolsWeb ScrapingOCRPython SDKMCP