Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

An MCP server for the PDF Tools Conversion Service that enables document conversion to PDF/A, standard PDF, merging, repair, and large file uploads.

README.md

Conversion Service MCP Server

An MCP server for the PDF Tools Conversion Service Simple API v6.9.1, built from the official openapi.yaml spec.

Tools

| Tool | Endpoint | Description | |---|---|---| | convert_to_pdfa2 | archive-pdfa2-default | Convert to PDF/A-2 (recommended archival) | | convert_to_pdfa3 | archive-pdfa3-default | Convert to PDF/A-3 (e-invoices) | | convert_to_pdf | convert-to-pdf | Convert any supported format to standard PDF | | merge_to_pdf | dossier-default | Merge multiple documents into one PDF | | convert_to_pdfa2_print | archive-pdfa2-print-optimization | PDF/A-2 optimized for printing | | convert_to_pdfa2_web | archive-pdfa2-web-optimization | PDF/A-2 optimized for web | | convert_to_pdfa2_email | archive-pdfa2-email-optimization | PDF/A-2 optimized for email | | repair_pdf | repair-pdf | Convert to PDF, validate and repair | | convert_large_file | http.input/* | Plain HTTP multipart for files >100 MB | | list_profiles | -- | List all available profiles and endpoints |

Dependencies

pip install mcp httpx

Local Conversion Service Setup

The MCP server connects to a running instance of the PDF Tools Conversion Service. The easiest way to run it locally is via Docker.

Prerequisites

  • Docker Desktop installed and running
  • The eso-consrv repo cloned locally

Port conflicts (Windows only)

If you have the PDF Tools Windows services installed, they bind to the same ports as the Docker containers. Stop them first in an elevated PowerShell:

net stop "Pdftools Licensing Gateway Service"
net stop "Pdftools Conversion Service Connections"

To prevent them from auto-starting on reboot (run once):

Set-Service "LicensingGatewayService" -StartupType Manual
Set-Service "ConversionServiceConnectionService" -StartupType Manual
Set-Service "ConversionService" -StartupType Manual

Start the containers

From the eso-consrv repo root:

docker compose --env-file docker-compose.env up -d

Ports

| Service | Port | Purpose | |---|---|---| | license-gateway | 9999 | License management | | conversion-service | 13033 | Advanced REST API | | connector-service | 13034 | Simple REST API (used by MCP) | | configurator-web | 13035 | Web UI for configuration |

Health checks

curl http://localhost:9999/healthz/ready
curl http://localhost:13034/healthz
curl http://localhost:13033/api/v1/health

MCP Configuration

Set the CONVERSION_SERVICE_URL environment variable to point to the Conversion Service Simple API. Default: http://localhost:13034.

Claude Code

Add to ~/.claude.json:

{
  "mcpServers": {
    "conversion-service": {
      "command": "python3",
      "args": ["<path-to-repo>/server.py"],
      "env": {
        "CONVERSION_SERVICE_URL": "http://localhost:13034"
      }
    }
  }
}

Or via CLI:

claude mcp add conversion-service -- python3 <path-to-repo>/server.py

Claude Desktop

Add to claude_desktop_config.json (on macOS: ~/Library/Application Support/Claude/, on Windows: %APPDATA%\Claude\):

{
  "mcpServers": {
    "conversion-service": {
      "command": "python",
      "args": ["<path-to-repo>/server.py"],
      "env": {
        "CONVERSION_SERVICE_URL": "http://localhost:13034"
      }
    }
  }
}

API Endpoints

Each profile supports two input modes:

  • JSON (/http.inputstructured/<profile>) -- structured JSON with base64 content or URL references. Used by most tools.
  • Plain HTTP (/http.input/<profile>) -- multipart/form-data for large files (>100 MB). Used by convert_large_file.

Options

  • DOC.PASSWORD -- unlock password-protected documents
  • META.AUTHOR -- set author metadata on output PDF
  • OPTIMIZEPROFILE -- print, web, or max (email) optimization

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Files & Docs servers.