loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

word-to-pdf-mcp

MCP Tool

chfle/word-to-pdf-mcp

word-to-pdf-mcp is a secure, production-ready remote MCP server that converts .docx files to PDF using LibreOffice as a persistent unoserver daemon.

Install

$ npx loaditout add chfle/word-to-pdf-mcp

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "word-to-pdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "word-to-pdf-mcp"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

mcp-pdf

Remote MCP server that converts .docx to PDF. Works with any MCP client — Claude (web & CLI), Cursor, Windsurf, or anything that speaks the Model Context Protocol.

Runs as a Docker container with LibreOffice as a persistent daemon (unoserver). First conversion triggers a warmup; subsequent conversions take ~0.3s.

Setup
cp .env.example .env
touch credentials.json
docker compose up -d --build
docker compose exec mcp-pdf python manage_keys.py add yourname

Requires an external Docker network (docker network create caddy_net) and a reverse proxy for TLS (see Reverse proxy).

Manage credentials
docker compose exec mcp-pdf python manage_keys.py add <name>
docker compose exec mcp-pdf python manage_keys.py list
docker compose exec mcp-pdf python manage_keys.py revoke <client_id>

No restart needed — changes take effect immediately.

Connect your MCP client
Claude web (claude.ai)

Add a remote MCP server in Claude's settings with your server URL:

https://your-domain.com/

Claude will handle OAuth automatically. When the authorize page opens, paste your API key (sk_... from manage_keys.py add).

Claude Code (CLI)

Add to ~/.claude/claude_code_config.json:

{
  "mcpServers": {
    "pdf-tools": {
      "type": "sse",
      "url": "https://your-domain.com/sse",
      "headers": {
        "Authorization": "Bearer <your_sk_key>"
      }
    }
  }
}
Cursor / Windsurf / other MCP clients

Use the SSE transport config:

{
  "mcpServers": {
    "pdf-tools": {
      "type": "sse",
      "url": "https://your-domain.com/sse",
      "headers": {
        "Authorization": "Bearer <your_sk_key>"
      }
    }
  }
}

If your client supports Streamable HTTP, use the root URL (https://your-domain.com/) instead.

Tool: convert_docx_to_pdf

Input: base64-encoded .docx file

Output:

{
  "success": true,
  "download_ur

Tags

ai-toolingclaude-aidockerdocker-composemcp-server

Reviews

Loading reviews...

Quality Signals

1
Stars
0
Installs
Last updated22 days ago
Security: AREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit3/24/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/chfle/word-to-pdf-mcp)](https://loaditout.ai/skills/chfle/word-to-pdf-mcp)