The MCP Markdown Conversion Server converts various file formats into Markdown descriptions using Cloudflare AI services.
File Conversion: Supports documents (.pdf), images (.jpeg, .jpg, .png, .webp, .svg), web content (.html), data (.xml, .csv), and spreadsheets (Microsoft Office formats, Open Document Format, Apple Documents).
Integration: Seamlessly works with MCP clients like Cursor, Claude Desktop, and ChatWise.
API Access: Accepts an array of file paths as input and returns structured information including filename, MIME type, Markdown description, and token count.
Development Support: Includes configuration options and detailed guides.
Utilizes Cloudflare AI services, specifically the tomarkdown API, to convert various file types to Markdown descriptions
Uses dotenv for environment configuration to store Cloudflare authentication credentials
Converts various file formats (including PDF, images, Office documents, and more) into Markdown descriptions
MCP Server To Markdown 
English | 简体中文
A powerful Model Context Protocol (MCP) server that leverages Cloudflare AI services to convert various file formats into Markdown descriptions. This server provides a standardized interface for seamless file conversion and description generation.
Key Features
Seamless integration with Cloudflare AI services
Efficient Markdown description generation
Comprehensive file format support
Native Cloudflare tomarkdown API integration
User-friendly MCP interface
Cross-platform compatibility
Related MCP server: Markdownify MCP Server - UTF-8 Enhanced
Supported File Formats
Category | File Extensions |
Documents | |
Images | .jpeg, .jpg, .png, .webp, .svg |
Web Content | .html |
Data | .xml, .csv |
Spreadsheets | .xlsx, .xlsm, .xlsb, .xls, .et, .ods, .numbers |
System Requirements
Node.js 18 or later
Valid Cloudflare API Token
Active Cloudflare Account ID
Installation
Installing via Smithery
To install Markdown转换服务器 for Claude Desktop automatically via Smithery:
Manual Installation
Install globally using npm:
MCP Client Configuration
Cursor Integration
Navigate to Cursor settings
Select "MCP" from the sidebar
Choose "Add new global MCP server"
Apply the following configuration:
{ "mcpServers": { "to-markdown": { "command": "mcp-server-to-markdown", "args": [ "CLOUDFLARE_API_TOKEN": "your_api_token" "CLOUDFLARE_ACCOUNT_ID": "your_account_id" ] } } }
Claude Desktop Setup
Add the following to your claude_desktop_config.json:
ChatWise Configuration
Launch ChatWise
Access Settings
Select Tools section
Click "+" to add new tool
Configure with these parameters:
Type:
stdioID:
to-markdownCommand:
mcp-server-to-markdownArgs:
CLOUDFLARE_API_TOKEN=your_api_token CLOUDFLARE_ACCOUNT_ID=your_account_id
API Reference
to-markdown Tool
Converts various file formats to Markdown descriptions.
Input Parameters:
filePaths: Array (required) - List of file paths to process
Response Structure:
Development Guide
Getting Started
Clone and setup environment:
Configure Cloudflare credentials:
Install dependencies and build:
Project Structure
Available Scripts
npm run build- Build TypeScript codenpm run inspect- Run with MCP inspector
Usage Example
License
MIT License
This project is maintained by Frad LEE