Content Tools
mdpdfword.com
Converts Markdown, DOCX, LaTeX, and PDF files into professionally typeset PDF and Word documents, with upload and GitHub support.
ENDPOINT 1
https://mdpdfword.com/mcp
MCP server metadata
- Name
- md-to-pdf-word
- Version
- 0.1.1
md-to-pdf-word (cloud): turns Markdown into a professionally typeset PDF and a Word (DOCX) file with clean Chinese typography. It runs on a remote server: it CANNOT read files on the user's computer, and you must NOT paste file bytes (base64) into tool arguments — move files with curl instead (they never pass through you). A. The user has a .md file (with images / refs.bib / logo next to it): 1. create_upload_link() → returns upload_url and a ready-to-run curl command. 2. Run curl from the user's folder, uploading the .md AND every local file it references, keeping the relative path exactly as written in the Markdown: curl -fsS -F "file=@季度报告.md" -F "file=@images/chart.png;filename=images/chart.png" -F "file=@refs.bib" "<upload_url>" 3. convert_uploaded(upload_session=<session_id>, main_file="季度报告.md") B. You are writing the document yourself: convert_markdown(markdown=<text>) (pass referenced local files via create_upload_link + curl and upload_session=<session_id>; http(s) image URLs are fetched by the server). C. Results are download links (they expire): download each into the user's folder, e.g. curl -fsSL -o "季度报告.pdf" "<url>" then tell the user the saved paths and show every item of `warnings`. A3. The document is on GitHub (a public repository): convert_github(url=<link to the .md, the repository or a folder>) — the server fetches it and the pictures it references; nothing to upload. A4. "Make it look exactly like our template" with a document that is already written: load_template(the template .docx) → convert_uploaded / convert_github(style_template="template:<template_id>"): page size, margins, fonts, body / heading / caption styles, and the headers / footers exactly as in Word (odd / even and first pages, header tables, logos, text boxes, watermark, page-number format) follow the template. A cover / 红头 / 落款 in the template is used too: the template marks the document's place with a {{正文}} paragraph and values with {{标题}}, {{日期}} or any {{name}} — put those values in the Markdown's YAML (e.g. 文号: …) before converting. A2. The user has a Word .docx or a LaTeX .tex: upload it the same way (a .tex together with its \input files, figures and .bib, keeping relative paths) and convert_uploaded(main_file="稿件.docx" / "main.tex"). To restyle with a firm template: load_template → convert_uploaded(style_template="template:<template_id>"). Reviewer comments / tracked changes: review_docx; to revise the text first: import_document → edit → convert_uploaded. D. Styling beyond plain Markdown (colors, sizes, merged cells, landscape, numbered equations, GB/T 7714 references, TOC / page control, page references, appendices, cover page, 党政机关公文 GB/T 9704): usage_guide(topic="syntax"). Strict firm template: usage_guide(topic="template"). E. Tell the user: the PDF is the final copy (fonts embedded); the DOCX re-paginates in their Word/WPS — accept “更新域” when opening. Conversions take 10 s – 2 min. Quality facts and limits: usage_guide(topic="quality").
Known tools 12
create_upload_linkGet a one-time upload URL (valid 60 min) for moving files from the user's computer to the server WITHOUT passing their bytes through the model.
Potential side effectsconvert_uploadedConvert a file uploaded via create_upload_link + curl: a .md (with its images / refs.bib), a Word .docx, or a LaTeX .tex (upload it with its \input files, figures and .bib, keeping relative paths), or a .pdf (re-typeset: headings, lists, tables, pictures, colours and fonts are read from the PDF on this server; a scanned PDF needs the web page's optional enhanced recognition).
Potential side effectsconvert_githubConvert a Markdown file on GitHub (public repository) into PDF and/or Word — no upload needed.
Potential side effectsconvert_markdownConvert Markdown text into a professionally typeset PDF and/or a Word .docx (clean Chinese typography).
Inferred read-onlyload_templateLoad a firm's finished report (.docx, uploaded via create_upload_link + curl, or upload_file) as a template.
Inferred read-onlyverify_reportPre-delivery gate: check a generated .docx (file_id from convert_markdown's docx result or upload_file) against a template from load_template.
Inferred read-onlyreview_docxRead the review of an uploaded .docx: every comment (author, date, the exact text it marks, its paragraph, replies) and every tracked change (insert / delete / move / format / paragraph / table changes, with author and date).
Potential side effectsimport_documentImport an uploaded .docx or .tex (upload a .tex with its \input files, figures and .bib) as md-to-pdf-word Markdown, to revise the content (e.g.
Potential side effectsCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.md-to-pdf-word]
url = "https://mdpdfword.com/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"md-to-pdf-word": {
"type": "http",
"url": "https://mdpdfword.com/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: md-to-pdf-word
Remote MCP URL: https://mdpdfword.com/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"md-to-pdf-word": {
"url": "https://mdpdfword.com/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"md-to-pdf-word": {
"type": "http",
"url": "https://mdpdfword.com/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "md-to-pdf-word",
"transport": "streamable-http",
"url": "https://mdpdfword.com/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Loading Trust v2 evidence…
Checking the associated registrable domain. The BuiltWith key remains server-side.
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.