Sponsored by Deepsite.site

File Convert Mcp Server

Created By
convertguru9 months ago
File Convert is an MCP server for converting files between various formats, including images, office documents, audio, video, text, and data files. It aims to provide seamless transformation into popular formats such as PDF, JPG, MP4, and HTML, among others. This server offers a set of powerful tools to convert diverse file types into easily accessible and widely compatible formats like PDF, JPG, PNG, DOCX, XLSX, PPTX, ZIP, TXT.
Content

File Convert MCP Server

A Model Context Protocol (MCP) server for converting files between various formats.

File Convert is an MCP server designed to handle the conversion of a wide array of file formats, including images, office documents, audio, video, text, and data files. It aims to provide seamless transformation into popular formats such as PDF, JPG, MP4, and HTML, among others. This server offers a set of powerful tools to convert diverse file types into easily accessible and widely compatible formats like PDF, JPG, PNG, DOCX, XLSX, PPTX, ZIP, TXT.

✨ Features

  • Intelligent File Type Detection: Employs a combination of AI, TrID, and magic bytes for accurate file type identification.
  • Versatile File Conversion: Supports conversion between numerous file types and the following popular formats:
    • Images: Handles a vast range of formats, including many legacy ones. Converts to PDF, JPG, PNG.
    • Office Documents: Converts to PDF, TXT, HTML.
    • Audio/Video: Converts to MP3, MP4.
    • Databases: Converts to CSV.
    • Various Files: Offers conversion capabilities for other file types as well.

🛠️ Requirements

  1. Python: Version 3.12 or higher is required.
  2. uv Tool: Install the Python uv tool for efficient dependency management and easy execution of the MCP server.
  3. API Key (Development): As of May 2025, the MCP is in its testing phase, and no API key is currently required for development. For future production use, please contact the Convert.Guru team to obtain an API key.

🚀 Usage with Desktop App

To integrate this server with your desktop application, add the following configuration to your app's server settings. If necessary, adjust the absolute path to the uv/uvx executables (or uv.exe/uvx.exe on Windows).

Using uvx (recommended):

{
  "mcpServers": {
    "file-convert": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/convertguru/file-convert-mcp.git", "file-convert-mcp"],
      "env": {
        "CONVERT_GURU_API_KEY": "your_api_key_here"
      }
    }
  }
}

If you have cloned the repository locally (adjust paths as needed):

{
  "mcpServers": {
    "file-convert": {
      "command": "/home/User/.local/bin/uv",
      "args": ["--directory", "/home/User/file-convert-mcp/src/file_convert_mcp", "run", "server.py"],
      "env": {
        "CONVERT_GURU_API_KEY": "your_api_key_here"
      }
    }
  }
}

Using local uvx:

{
  "mcpServers": {
    "file-convert": {
      "command": "uvx",
      "args": ["--from", "/home/User/file-convert-mcp", "file-convert-mcp"],
      "env": {
        "CONVERT_GURU_API_KEY": "your_api_key_here"
      }
    }
  }
}

Also, see this guide on how to set up MCP tools in Claude Desktop.

🛠️ Development

Get started with local development by following these steps:

1. Clone the repository:

git clone https://github.com/convertguru/file-convert-mcp.git

2. Fetch and cache Python dependencies (optional, uvx handles this automatically):

cd file-convert-mcp
uv sync
cd ..

3. Create .env file with your (optional for now) API key:

echo "CONVERT_GURU_API_KEY=your_api_key_here" > file-convert-mcp/.env

4. Run the MCP server locally using various uv commands:

# Using uvx with .env file from the local directory
cd file-convert-mcp
UV_ENV_FILE=.env uvx --from ./file-convert-mcp file-convert-mcp

# OR using uv directly to run the server script
uv run file-convert-mcp/src/file_convert_mcp/server.py

# OR specifying the directory for uv
uv --directory file-convert-mcp/src/file_convert_mcp run server.py

# OR navigating into the server directory
cd file-convert-mcp/src/file_convert_mcp
uv run server.py

# OR using uvx to fetch the core from the GitHub repository + local .env file
UV_ENV_FILE=.env uvx --from git+https://github.com/convertguru/file-convert-mcp.git file-convert-mcp

5. Modify the server logic if needed: Edit the main server file located at src/file_convert_mcp/server.py.

6. Clearing the uv Cache (if needed): If uv has cached an older version of the code in ~/.cache/uv, you might need to clear the cache. Alternatively, use uv with the -n or --no-cache option to bypass it.

⚙️ Available Tools

The MCP server provides the following tools:

  • detect_file_type: Analyzes the first 200 bytes of an uploaded file and uses the Convert.Guru API to determine its type.
  • convert_file: Converts a given file to a specified output format. The desired file extension should be passed as the ext_out parameter.

📜 License

This project is licensed under the MIT License - see the LICENSE file for complete details.

Visit us https://convert.guru

Server Config

{
  "mcpServers": {
    "file-convert": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/convertguru/file-convert-mcp.git",
        "file-convert-mcp"
      ],
      "env": {
        "CONVERT_GURU_API_KEY": "your_api_key_here"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Serper MCP ServerA Serper MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Playwright McpPlaywright MCP server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
DeepChatYour AI Partner on Desktop
WindsurfThe new purpose-built IDE to harness magic
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
CursorThe AI Code Editor
Tavily Mcp
Amap Maps高德地图官方 MCP Server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
ChatWiseThe second fastest AI chatbot™
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"