Conversion Service MCP Server
Click on "Install 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., "@Conversion Service MCP Serverconvert my report.docx to PDF/A-2 for archiving"
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.
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 PDF/A-2 (recommended archival) |
|
| Convert to PDF/A-3 (e-invoices) |
|
| Convert any supported format to standard PDF |
|
| Merge multiple documents into one PDF |
|
| PDF/A-2 optimized for printing |
|
| PDF/A-2 optimized for web |
|
| PDF/A-2 optimized for email |
|
| Convert to PDF, validate and repair |
|
| Plain HTTP multipart for files >100 MB |
| -- | List all available profiles and endpoints |
Related MCP server: PDF Reader MCP Server
Dependencies
pip install mcp httpxLocal 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-consrvrepo 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 ManualStart the containers
From the eso-consrv repo root:
docker compose --env-file docker-compose.env up -dPorts
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/healthMCP 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.pyClaude 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 byconvert_large_file.
Options
DOC.PASSWORD-- unlock password-protected documentsMETA.AUTHOR-- set author metadata on output PDFOPTIMIZEPROFILE--print,web, ormax(email) optimization
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pdftools-dwe/consrv-mcp-poc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server