MCP Markdown Conversion Server
MCP-сервер для Markdown
Английский |简体中文
Мощный сервер Model Context Protocol (MCP), который использует службы Cloudflare AI для преобразования различных форматов файлов в описания Markdown. Этот сервер предоставляет стандартизированный интерфейс для бесшовного преобразования файлов и генерации описаний.
Основные характеристики
Полная интеграция с сервисами Cloudflare AI
Эффективная генерация описаний Markdown
Комплексная поддержка форматов файлов
Интеграция API Native Cloudflare tomarkdown
Удобный интерфейс MCP
Кроссплатформенная совместимость
Related MCP server: Textin MCP Server
Поддерживаемые форматы файлов
Категория | Расширения файлов |
Документы | |
Изображения | .jpeg, .jpg, .png, .webp, .svg |
Веб-контент | .html |
Данные | .xml, .csv |
Электронные таблицы | .xlsx, .xlsm, .xlsb, .xls, .et, .ods, .numbers |
Системные требования
Node.js 18 или более поздняя версия
Действительный токен API Cloudflare
Активный идентификатор учетной записи Cloudflare
Установка
Установка через Smithery
Чтобы автоматически установить Markdown转换服务器 для Claude Desktop через Smithery :
npx -y @smithery/cli install @FradSer/mcp-server-to-markdown --client claudeРучная установка
Установить глобально с помощью npm:
npm install -g mcp-server-to-markdownКонфигурация клиента MCP
Интеграция курсора
Перейдите к настройкам курсора.
Выберите «MCP» на боковой панели.
Выберите «Добавить новый глобальный сервер MCP».
Примените следующую конфигурацию:
{ "mcpServers": { "to-markdown": { "command": "mcp-server-to-markdown", "args": [ "CLOUDFLARE_API_TOKEN": "your_api_token" "CLOUDFLARE_ACCOUNT_ID": "your_account_id" ] } } }
Настройка рабочего стола Клода
Добавьте следующее в ваш claude_desktop_config.json :
{
"mcpServers": {
"to-markdown": {
"command": "mcp-server-to-markdown",
"args": [
"CLOUDFLARE_API_TOKEN": "your_api_token"
"CLOUDFLARE_ACCOUNT_ID": "your_account_id"
]
}
}
}Конфигурация ChatWise
Запустить ChatWise
Настройки доступа
Выберите раздел «Инструменты»
Нажмите «+», чтобы добавить новый инструмент
Настройте с помощью следующих параметров:
Тип:
stdioID:
to-markdownКоманда:
mcp-server-to-markdownАргументы:
CLOUDFLARE_API_TOKEN=your_api_token CLOUDFLARE_ACCOUNT_ID=your_account_id
Ссылка на API
Инструмент для разметки
Конвертирует различные форматы файлов в описания Markdown.
Входные параметры:
filePaths: Массив (обязательно) — список путей к файлам для обработки
Структура ответа:
[
{
"filename": "example.pdf",
"mimeType": "application/pdf",
"description": "Generated Markdown description",
"tokens": 123
}
]Руководство по разработке
Начиная
Клонирование и настройка среды:
git clone <repository-url>
cd mcp-server-to-markdown
cp .env.example .envНастройте учетные данные Cloudflare:
CLOUDFLARE_API_TOKEN=your_api_token
CLOUDFLARE_ACCOUNT_ID=your_account_idУстановка зависимостей и сборка:
npm install
npm run buildСтруктура проекта
.
├── src/ # Source code
├── dist/ # Compiled output
├── types.ts # Type definitions
└── .env # Environment configurationДоступные сценарии
npm run build— сборка кода TypeScriptnpm run inspect— запуск с помощью MCP-инспектора
Пример использования
const result = await toMarkdown({
filePaths: [
"/path/to/document.pdf",
"/path/to/image.jpg"
]
});Лицензия
Лицензия Массачусетского технологического института
Этот проект поддерживается Фрадом ЛИ.
Available Tools
1 toolto-markdownC
Generate markdown description for files including PDF (.pdf), Images (.jpeg, .jpg, .png, .webp, .svg), HTML (.html), XML (.xml), Microsoft Office (.xlsx, .xlsm, .xlsb, .xls, .et), Open Document Format (.ods), CSV (.csv), and Apple Documents (.numbers)
Inputs: filePaths (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The single tool 'to-markdown' has a clearly defined and distinct purpose: converting various file formats to markdown descriptions.
Since there is only one tool, naming consistency is inherently perfect. The tool name 'to-markdown' follows a clear verb-object pattern that is appropriate for its function.
A single tool is too few for a server with a broad scope like 'Markdown Conversion Server' that handles multiple file types. This thin surface may force agents to rely on this one tool for all conversion tasks, lacking specialized operations for different formats or scenarios.
The tool set is severely incomplete for the server's purpose. While 'to-markdown' covers conversion, there are obvious gaps such as no tools for validating markdown, handling conversion errors, or providing metadata about supported formats, which limits agent workflows.
Related MCP Connectors
Document-to-Markdown MCP server — convert PDF, Office and HTML into LLM-ready Markdown.
Document conversion MCP server: PDF to Markdown, image OCR, spreadsheet parsing.
Convert PDF, DOCX, XLSX and 25 other formats to clean Markdown for LLMs and RAG. No key or account.
Convert PDF, Word, Excel and scanned documents to Markdown, tables and RAG chunks. OCR.
Related MCP Servers
- AlicenseAqualityDmaintenanceA document conversion server that transforms various file formats (PDFs, documents, images, audio, web content) to Markdown with improved multilingual and UTF-8 support.1015MIT

Textin MCP Serverofficial
AlicenseCqualityDmaintenanceA server that enables OCR capabilities to recognize text from images, PDFs, and Word documents, convert them to Markdown, and extract key information.329MIT- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that converts various file formats (PDF, PowerPoint, Word, Excel, Images, etc.) to Markdown to make them accessible to LLMs.1MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for converting various file formats (PDF, DOCX, images, audio, etc.) to Markdown using Microsoft MarkItDown, with support for large files and Cyrillic text.1MIT