MCP Markdown Conversion

v1.0.0Developer Toolsstable

A server that converts various file formats (PDF, images, Office documents, etc.) to Markdown descriptions using Cloudflare AI services.

mcp-markdown-conversion-servermcpai-integration
Share:
35
Stars
0
Downloads
0
Weekly
0/5

What is MCP Markdown Conversion?

MCP Markdown Conversion is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to server that converts various file formats (pdf, images, office documents, etc.) to markdown descriptions using cloudflare ai services.

A server that converts various file formats (PDF, images, Office documents, etc.) to Markdown descriptions using Cloudflare AI services.

This server falls under the Developer Tools and File Systems categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A server that converts various file formats (PDF, images, Of

Use Cases

Convert PDFs, images, and Office documents to Markdown.
Extract structured content from various file formats.
Process documents at scale using Cloudflare AI services.
FradSer

Maintainer

LicenseMIT License
Languagejavascript
Versionv1.0.0
UpdatedApr 10, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-markdown-conversion-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use MCP Markdown Conversion

MCP Server To Markdown leverages Cloudflare's AI-powered tomarkdown API to convert a wide range of file formats — including PDFs, images (JPEG, PNG, WebP, SVG), spreadsheets (XLSX, ODS, Numbers), web content (HTML), and data files (XML, CSV) — into Markdown descriptions through a standardized MCP interface. It provides a single 'to-markdown' tool that accepts file paths and returns structured Markdown output, making it easy to extract readable content from binary documents for AI processing pipelines.

Prerequisites

  • Node.js 18 or later installed
  • A Cloudflare account with AI access enabled
  • A Cloudflare API Token with Workers AI permissions
  • Your Cloudflare Account ID (found in the Cloudflare dashboard)
  • An MCP-compatible client such as Claude Desktop or Cursor
1

Install the package globally via npm

Install mcp-server-to-markdown globally so the 'mcp-server-to-markdown' command is available for use in MCP client configurations.

npm install -g mcp-server-to-markdown
2

Obtain your Cloudflare credentials

Log in to the Cloudflare dashboard at dash.cloudflare.com. Your Account ID appears in the URL or on the Overview page. Create an API Token with 'Workers AI' read and write permissions under My Profile > API Tokens.

3

Configure the MCP client with credentials

Add the server to your MCP client configuration, passing the Cloudflare API token and account ID as arguments. For Claude Desktop, edit claude_desktop_config.json.

{
  "mcpServers": {
    "to-markdown": {
      "command": "mcp-server-to-markdown",
      "args": [
        "CLOUDFLARE_API_TOKEN=your_api_token_here",
        "CLOUDFLARE_ACCOUNT_ID=your_account_id_here"
      ]
    }
  }
}
4

Restart your MCP client

After saving the configuration, fully restart Claude Desktop (or your MCP client of choice) so the new server configuration is loaded.

5

Use the to-markdown tool with local file paths

Pass an array of absolute file paths to the 'to-markdown' tool. The server will read each file, send it to the Cloudflare AI tomarkdown API, and return the Markdown description along with token usage.

MCP Markdown Conversion Examples

Client configuration (Claude Desktop)

Claude Desktop configuration using the globally installed mcp-server-to-markdown command with Cloudflare credentials.

{
  "mcpServers": {
    "to-markdown": {
      "command": "mcp-server-to-markdown",
      "args": [
        "CLOUDFLARE_API_TOKEN=your_api_token_here",
        "CLOUDFLARE_ACCOUNT_ID=your_account_id_here"
      ]
    }
  }
}

Prompts to try

Ask your AI assistant to convert local documents to Markdown using the to-markdown tool.

- "Convert /Users/me/Documents/report.pdf to Markdown"
- "Extract the text from /Users/me/Desktop/invoice.xlsx as Markdown"
- "Convert these files to Markdown: /tmp/diagram.png and /tmp/notes.html"
- "Summarize the content of /Users/me/data.csv after converting it to Markdown"

Troubleshooting MCP Markdown Conversion

Authentication error: 'Cloudflare API token is invalid or missing'

Double-check that CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID are passed correctly in the args array. Tokens must have Workers AI permission. Generate a new token at dash.cloudflare.com > My Profile > API Tokens if needed.

File format not supported or conversion returns empty output

Verify the file extension is in the supported list: .pdf, .jpeg, .jpg, .png, .webp, .svg, .html, .xml, .csv, .xlsx, .xlsm, .xlsb, .xls, .et, .ods, .numbers. Files with other extensions are not processed by the Cloudflare tomarkdown API.

'mcp-server-to-markdown' command not found

Ensure the package was installed globally with 'npm install -g mcp-server-to-markdown' and that npm's global bin directory is on your PATH. Run 'npm bin -g' to find the directory and add it to PATH if necessary.

Frequently Asked Questions about MCP Markdown Conversion

What is MCP Markdown Conversion?

MCP Markdown Conversion is a Model Context Protocol (MCP) server that server that converts various file formats (pdf, images, office documents, etc.) to markdown descriptions using cloudflare ai services. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install MCP Markdown Conversion?

Follow the installation instructions on the MCP Markdown Conversion GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with MCP Markdown Conversion?

MCP Markdown Conversion works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is MCP Markdown Conversion free to use?

Yes, MCP Markdown Conversion is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-markdown-conversion-server": { "command": "npx", "args": ["-y", "mcp-markdown-conversion-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use MCP Markdown Conversion?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides