Skip to main content

MCP server for ConvertFileFast - convert 50+ file formats, run PDF/image operations, and report feedback as AI-agent tools.

Project description

ConvertFileFast MCP server

MCP server for ConvertFileFast. It lets AI agents convert files, run PDF/image operations, and report feedback through the ConvertFileFast REST API.

The same tools are available in both modes:

  • Local stdio: the MCP server runs on the user's machine and saves results to a local folder.
  • Remote HTTP: ConvertFileFast hosts the MCP server at https://mcp.convertfilefast.com/mcp and returns temporary download links.

Tools

Tool API endpoint(s) Result
list_supported_conversions local matrix JSON list
convert_file /v2/convert/{from}-to-{to} File
images_to_pdf /v2/convert/images-to-pdf PDF
merge_pdfs /v2/pdf/merge PDF
split_pdf /v2/pdf/split ZIP
compress_pdf /v2/pdf/compress PDF
rotate_pdf /v2/pdf/rotate PDF
protect_pdf /v2/pdf/protect PDF
unlock_pdf /v2/pdf/unlock PDF
extract_pdf_text /v2/pdf/extract-text JSON
resize_image /v2/image/resize Image
compress_image /v2/image/compress Image
report_feedback /v2/feedback JSON

Every file-producing tool accepts a public source_url where possible, or base64 content when the client cannot expose a URL. report_feedback accepts a short summary, category, related tool, and context; it can run without an API key, but forwards one when the client provides it.

Supported conversions

Use the list_supported_conversions tool for the canonical list. Current slugs:

avif-to-jpg, avif-to-pdf, avif-to-png, bmp-to-jpg, bmp-to-pdf, bmp-to-png, csv-to-json, csv-to-pdf, csv-to-xlsx, doc-to-pdf, docx-to-pdf, heic-to-jpg, heic-to-pdf, heic-to-png, html-to-pdf, images-to-pdf, jpg-to-pdf, jpg-to-png, jpg-to-webp, json-to-csv, markdown-to-pdf, odt-to-pdf, pdf-to-csv, pdf-to-docx, pdf-to-jpg, pdf-to-png, pdf-to-txt, pdf-to-xlsx, png-to-jpg, png-to-pdf, png-to-webp, ppt-to-pdf, pptx-to-pdf, rtf-to-pdf, svg-to-jpg, svg-to-pdf, svg-to-png, tiff-to-jpg, tiff-to-pdf, tiff-to-png, txt-to-pdf, url-to-pdf, webp-to-jpg, webp-to-pdf, webp-to-png, xlsx-to-csv, xlsx-to-pdf.

Authentication

Create a ConvertFileFast API key at:

https://www.convertfilefast.com/signup

Local stdio uses:

CONVERTFILEFAST_API_KEY=cff_...

Remote HTTP uses either:

X-API-Key: cff_...

or:

Authorization: Bearer cff_...

The remote MCP server does not store API keys. It forwards the key to api.convertfilefast.com for each tool call.

Remote MCP

Use this when the MCP client supports remote Streamable HTTP servers:

{
  "mcpServers": {
    "convertfilefast": {
      "url": "https://mcp.convertfilefast.com/mcp",
      "headers": {
        "X-API-Key": "cff_REPLACE_WITH_YOUR_KEY"
      }
    }
  }
}

Remote file results look like:

{
  "status": "success",
  "download_url": "https://mcp.convertfilefast.com/download/...",
  "filename": "converted.pdf",
  "bytes": 12345,
  "expires_in_seconds": 3600
}

Local stdio install

Recommended:

{
  "mcpServers": {
    "convertfilefast": {
      "command": "uvx",
      "args": ["convertfilefast-mcp"],
      "env": {
        "CONVERTFILEFAST_API_KEY": "cff_REPLACE_WITH_YOUR_KEY"
      }
    }
  }
}

Alternative via npm launcher:

{
  "mcpServers": {
    "convertfilefast": {
      "command": "npx",
      "args": ["-y", "convertfilefast-mcp"],
      "env": {
        "CONVERTFILEFAST_API_KEY": "cff_REPLACE_WITH_YOUR_KEY"
      }
    }
  }
}

Local file results look like:

{
  "status": "success",
  "output_path": "/Users/me/ConvertFileFast/converted.pdf",
  "filename": "converted.pdf",
  "bytes": 12345
}

Environment variables

Variable Default Purpose
CONVERTFILEFAST_API_BASE https://api.convertfilefast.com REST API base URL
CONVERTFILEFAST_API_KEY empty Local stdio API key
CONVERTFILEFAST_OUTPUT_DIR ~/ConvertFileFast Local output directory
CONVERTFILEFAST_TIMEOUT 180 Per-request timeout in seconds
CONVERTFILEFAST_MCP_TRANSPORT stdio stdio, streamable-http, http, or sse
CONVERTFILEFAST_MCP_HOST 0.0.0.0 HTTP bind host
CONVERTFILEFAST_MCP_PORT 8000 HTTP bind port
CONVERTFILEFAST_MCP_PATH /mcp HTTP MCP endpoint
CONVERTFILEFAST_REMOTE_MODE false Return temporary download URLs
CONVERTFILEFAST_DOWNLOAD_BASE https://mcp.convertfilefast.com Public base URL for downloads
CONVERTFILEFAST_TEMP_DIR /tmp/convertfilefast-mcp Remote temporary file store
CONVERTFILEFAST_DOWNLOAD_TTL 3600 Download URL TTL in seconds
CONVERTFILEFAST_MAX_BASE64_MB 60 Max decoded base64 payload size

Local development

cd mcp
uv run --with fastmcp --with httpx --with pydantic python server.py

Run tests:

cd mcp
uv run --with fastmcp --with httpx --with pydantic --with pytest pytest tests -q

Run remote mode locally:

cd mcp
CONVERTFILEFAST_MCP_TRANSPORT=streamable-http \
CONVERTFILEFAST_REMOTE_MODE=true \
CONVERTFILEFAST_DOWNLOAD_BASE=http://127.0.0.1:8000 \
uv run --with fastmcp --with httpx --with pydantic python server.py

Then check:

curl http://127.0.0.1:8000/health

Deployment

See DEPLOYMENT.md.

Production smoke evidence is tracked in PRODUCTION_SMOKE.md.


mcp-name: io.github.MLTCorp/convertfilefast

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

convertfilefast_mcp-0.1.3.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

convertfilefast_mcp-0.1.3-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file convertfilefast_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: convertfilefast_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for convertfilefast_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 eaa22aa733180dc6c8652b595a7649d60e29d6f9b6c6a021ac890a9830f44483
MD5 603fda5bb5e31b4a9e462b1e14c82c1a
BLAKE2b-256 28a12adf69a0bbef04aae0818cb8c97a26d67c0c9bff7459fa9dc7dff58065da

See more details on using hashes here.

File details

Details for the file convertfilefast_mcp-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: convertfilefast_mcp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for convertfilefast_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dd4ebb0d40a635fa74f90715311175f8985bd9cbf87c3e90d44962bda1935e47
MD5 e8efd9044dfdae7f3011b3e302188929
BLAKE2b-256 82766f578a5eea219975d8d49d26dc5c517abe44d0b2869e90a45ff5acb4c2c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page