Converts various file formats to Markdown using Cloudflare AI.
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.
Category | File Extensions |
---|---|
Documents | |
Images | .jpeg, .jpg, .png, .webp, .svg |
Web Content | .html |
Data | .xml, .csv |
Spreadsheets | .xlsx, .xlsm, .xlsb, .xls, .et, .ods, .numbers |
To install Markdown转换服务器 for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @FradSer/mcp-server-to-markdown --client claude
Install globally using npm:
npm install -g mcp-server-to-markdown
{
"mcpServers": {
"to-markdown": {
"command": "mcp-server-to-markdown",
"args": [
"CLOUDFLARE_API_TOKEN": "your_api_token"
"CLOUDFLARE_ACCOUNT_ID": "your_account_id"
]
}
}
}
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"
]
}
}
}
stdio
to-markdown
mcp-server-to-markdown
CLOUDFLARE_API_TOKEN=your_api_token
CLOUDFLARE_ACCOUNT_ID=your_account_id
Converts various file formats to Markdown descriptions.
Input Parameters:
filePaths
: Array (required) - List of file paths to processResponse Structure:
[
{
"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_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
- Build TypeScript codenpm run inspect
- Run with MCP inspectorconst result = await toMarkdown({
filePaths: [
"/path/to/document.pdf",
"/path/to/image.jpg"
]
});
MIT License
This project is maintained by Frad LEE
A remote, authentication-free MCP server deployable on Cloudflare Workers.
Integrates with Google Play Store command-line tools, enabling AI assistants to manage apps via the Play Console API.
Automate Google Cloud Platform infrastructure setup and GitHub repository configuration for cloud-native projects.
Manage DigitalOcean resources and perform actions using the DigitalOcean API.
A Model Context Protocol (MCP) server that provides tools for AI, allowing it to interact with the DataWorks Open API through a standardized interface. This implementation is based on the Aliyun Open API and enables AI agents to perform cloud resources operations seamlessly.
MCP server acting as an interface to the Google Ads, enabling programmatic access to Google Ads data and management features.
An MCP server designed to run on Cloudflare Workers, featuring OAuth login support and Cloudflare KV integration for data storage.
Analyze CDK projects to identify AWS services used and get pricing information from AWS pricing webpages and API.
Allows AI models to interact with your Okta environment to manage and analyze resources, designed for IAM engineers, security teams, and administrators.
Analyze files and extract Indicators of Compromise (IOCs) by interacting with the Joe Sandbox Cloud service.