Back to Home
trsdn icon

markitdown-mcp

Verified Safe

by trsdn

Overview

A Model Context Protocol (MCP) server for converting 29+ file formats (e.g., PDF, Office, images, audio) to clean, structured Markdown, designed for integration with AI workflows and MCP clients like Claude Desktop.

Installation

Run Command
markitdown-mcp

Environment Variables

  • LOG_LEVEL
  • MAX_FILE_SIZE_MB
  • CONVERSION_TIMEOUT
  • SAFE_DIRECTORIES

Security Notes

The server demonstrates robust security measures, including comprehensive input validation (path traversal, dangerous XML/JSON/CSV patterns), base64 content validation with size limits, explicit output sanitization (Unicode, output size limits), `hmac.compare_digest` for timing attack prevention, `threading`-based timeouts, and `sys.setrecursionlimit` to prevent recursion bombs. It enforces 'safe working directories' to restrict file system access. Error messages are sanitized to prevent information disclosure. While highly secure, no system is perfectly impenetrable, and reliance on an external MarkItDown library for core conversion means some vulnerabilities might theoretically exist within that dependency.

Similar Servers

Stats

Interest Score35
Security Score9
Cost ClassMedium
Avg Tokens3500
Stars4
Forks1
Last Update2025-12-08

Tags

mcpmarkdowndocument-conversionai-toolsmarkitdown