Let Claude Code or Codex save PDF and Word files (MCP)

Updated

Short answer: add the md-to-pdf-word MCP server (no token needed), then ask: “Convert report.md in this folder to PDF and Word.”

Add the server

Claude Code

claude mcp add --transport http md-to-pdf-word https://md-to-pdf-word.amadeusgb123.workers.dev/mcp -s user

Codex — in ~/.codex/config.toml:

[mcp_servers.md-to-pdf-word]
url = "https://md-to-pdf-word.amadeusgb123.workers.dev/mcp"
tool_timeout_sec = 300

Cursor and others: add an HTTP MCP server with the same URL.

Ask in plain words

The assistant requests an upload link, uploads the document with its images and .bib, converts it and downloads the results next to your file. Large files never pass through the chat.

Why a longer timeout for Codex

Long documents can take a minute. Codex stops tools after 60 seconds by default, so set tool_timeout_sec = 300.

Good to know

Writing syntax

Open as a page

Loading…

Send feedback

Tell us what went wrong or what would make this better. We read every message.

Prefer another way? Email · GitHub