file-conversion
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@file-conversionConvert report.md to a Word document with the GxP template"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
file-conversion
A small library + CLI + MCP server for converting between everyday file formats. Built primarily for Claude Desktop to call during other workflows, but usable directly from the command line.
Currently supports:
CSV → Excel (
.csv→.xlsx, one sheet)Excel → CSV per sheet (
.xlsx→ one.csvper sheet in an output directory)Markdown → Word (
.md→.docx, via pandoc)Markdown → Word, GxP template — same as above, plus a version-history table, a definitions table, and a footer with title and version on every page
See requirements/requirements.md for the CLI spec and requirements/mcp.md for the MCP server spec.
Quick start
1. System dependency
The markdown → Word converters use pandoc. Install once:
brew install pandoc2. Virtual environment
python3 -m venv .venv
.venv/bin/pip install -e ".[dev]"3. Smoke test
.venv/bin/file-conversion --helpRelated MCP server: doc-ops-mcp
CLI usage
file-conversion COMMAND [ARGS]...
Commands:
csv-to-xlsx CSV_PATH XLSX_PATH [--sheet-name NAME]
xlsx-to-csvs XLSX_PATH OUTPUT_DIR
md-to-docx MD_PATH DOCX_PATH [--landscape]
md-to-docx-gxp MD_PATH DOCX_PATH [--title TEXT] [--version TEXT] [--landscape]md-to-docx-gxp reads optional YAML frontmatter from the markdown to populate
the version table and definitions table. CLI flags --title and --version
override frontmatter when provided. See requirements/requirements.md for the
frontmatter schema.
--landscape sets Letter landscape page orientation (11" × 8.5") on both
markdown → Word commands — useful for documents with wide tables. Without it,
pandoc's page setup is left untouched and Word applies its default portrait
page.
.venv/bin/file-conversion md-to-docx wide-tables.md wide-tables.docx --landscape
.venv/bin/file-conversion md-to-docx-gxp sop.md sop.docx --landscapeMCP server
python -m file_conversion.mcp_server exposes the same four conversions as MCP
tools over stdio. Add it to your Claude Desktop config as a regular MCP server.
Both markdown → Word tools take a landscape: bool = False argument matching
the CLI flag.
Contributing
See CONTRIBUTING.md for how to set up a dev environment,
run the tests, and submit a pull request.
License
Apache License 2.0 — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate PDF, Word (.docx) and PowerPoint (.pptx) documents from Markdown over MCP.
Document-to-Markdown MCP server — convert PDF, Office and HTML into LLM-ready Markdown.
Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server for seamless document format conversion using Pandoc, supporting Markdown, HTML, PDF, DOCX (.docx), csv and more.1581MIT
- AlicenseBqualityDmaintenanceA universal MCP server for document processing, conversion, and automation. Handle PDF, DOCX, HTML, Markdown, and more through a unified API and toolset.137 npm140MIT
- AlicenseAqualityDmaintenanceMCP server for reading, writing, editing, formatting, and exporting Microsoft Office documents (Word, Excel, PowerPoint) via stdio JSON-RPC, with 47 tools and cross-platform support.471MIT
- AlicenseAqualityDmaintenanceA secure MCP server for converting documents between Markdown, DOCX, HTML, PDF, and TXT formats within a sandboxed working directory.3MIT