Skip to main content
Glama

MCP Markdown Conversion Server

by FradSer

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

Supported File Formats

CategoryFile Extensions
Documents.pdf
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:

npx -y @smithery/cli install @FradSer/mcp-server-to-markdown --client claude

Manual Installation

Install globally using npm:

npm install -g mcp-server-to-markdown

MCP Client Configuration

Cursor Integration

  1. Navigate to Cursor settings
  2. Select "MCP" from the sidebar
  3. Choose "Add new global MCP server"
  4. 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:

{ "mcpServers": { "to-markdown": { "command": "mcp-server-to-markdown", "args": [ "CLOUDFLARE_API_TOKEN": "your_api_token" "CLOUDFLARE_ACCOUNT_ID": "your_account_id" ] } } }

ChatWise Configuration

  1. Launch ChatWise
  2. Access Settings
  3. Select Tools section
  4. Click "+" to add new tool
  5. Configure with these parameters:
    • Type: stdio
    • ID: to-markdown
    • Command: mcp-server-to-markdown
    • Args:
      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:

[ { "filename": "example.pdf", "mimeType": "application/pdf", "description": "Generated Markdown description", "tokens": 123 } ]

Development Guide

Getting Started

  1. Clone and setup environment:
git clone <repository-url> cd mcp-server-to-markdown cp .env.example .env
  1. Configure Cloudflare credentials:
CLOUDFLARE_API_TOKEN=your_api_token CLOUDFLARE_ACCOUNT_ID=your_account_id
  1. Install dependencies and build:
npm install npm run build

Project Structure

. ├── src/ # Source code ├── dist/ # Compiled output ├── types.ts # Type definitions └── .env # Environment configuration

Available Scripts

  • npm run build - Build TypeScript code
  • npm run inspect - Run with MCP inspector

Usage Example

const result = await toMarkdown({ filePaths: [ "/path/to/document.pdf", "/path/to/image.jpg" ] });

License

MIT License

This project is maintained by Frad LEE

Deploy Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Cloudflare AI サービスを使用して、さまざまなファイル形式 (PDF、画像、Office ドキュメントなど) を Markdown 記述に変換するサーバー。

  1. 主な特徴
    1. サポートされているファイル形式
      1. システム要件
        1. インストール
          1. Smithery経由でインストール
          2. 手動インストール
        2. MCP クライアント構成
          1. カーソル統合
          2. クロードデスクトップセットアップ
          3. ChatWiseの設定
        3. APIリファレンス
          1. to-markdownツール
        4. 開発ガイド
          1. はじめる
          2. プロジェクト構造
          3. 利用可能なスクリプト
        5. 使用例
          1. ライセンス

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Converts various file types and web content to Markdown format. It provides a set of tools to transform PDFs, images, audio files, web pages, and more into easily readable and shareable Markdown text.
              Last updated -
              10
              15
              2,083
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              A document conversion server that transforms various file formats (PDFs, documents, images, audio, web content) to Markdown with improved multilingual and UTF-8 support.
              Last updated -
              10
              1
              9
              MIT License
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              Converts various file types (documents, images, audio, web content) to markdown format without requiring Docker, supporting PDF, Word, Excel, PowerPoint, images, audio files, web URLs, and more.
              Last updated -
              65
              6
              • Apple
              • Linux
            • A
              security
              A
              license
              A
              quality
              An MCP server that converts PDF files to Markdown format using AI sampling capabilities, supporting both local files and URLs with incremental conversion features.
              Last updated -
              1
              1
              MIT License

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/FradSer/mcp-server-to-markdown'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server