Setup
Setting Up Doctranslate.io MCP Server
There are two methods to set up and use the Doctranslate.io MCP Server:
Self-hosted setup using our GitHub repository
Using our hosted MCP service
Method 1: Self-Hosted Setup
System Requirements
Python >= 3.10
pip (Python package manager)
Docker & Docker Compose (optional)
Installation Steps
Clone repository:
git clone https://github.com/thinkprompt/doctranslateio-mcp.git
cd doctranslateio-mcpCreate virtual environment:
python -m venv venv
source venv/bin/activate # Linux/Mac
# or
venv\Scripts\activate # WindowsInstall dependencies:
Running the Server
Direct execution:
With uvicorn:
With Docker:
Your server will be running at: http://localhost:8000
Method 2: Using Our Hosted Service
Quick Setup
Instead of setting up your own server, you can use our hosted MCP service. Simply use the following production URL in your configuration:
Production URL: https://mcp.doctranslate.io
Authentication
Before you can start using the service, you'll need a valid API key. You can find instructions on how to obtain one here
Integration Methods
1. Cursor Integration
Step 1: Configure MCP Tool in Cursor
Open Cursor Settings and find Tools and Integrations
Click "Add a custom MCP Server"
Step 2: Add Configuration
Using Headers:
2. Claude Desktop Integration
Step 1: Configure claude_desktop_config.json
Open Claude Desktop
Go to Claude > Settings > Developer > Edit Config
Add the following configuration:
Step 2: Restart Claude Desktop
After saving the configuration, restart Claude Desktop to apply changes.
3. Python Code Integration
Installation:
Basic Usage:
Available Tools
The MCP Server provides the following tools:
create_upload - Get a presigned URL to upload a file before calling translate, data_entry, or pdf_tool
translate_text - Translate a plain text string (free); returns a task_id, then poll get_result
translate_document - Translate an uploaded document (PDF, DOCX, PPTX, XLSX)
translate_image - Translate text in an image or scanned PDF via OCR (paid); returns a task_id
translate_media - Translate an uploaded audio or video file (subtitles/transcript)
pdf_tool - Run a tool from the PDF Tools / PDF Formatter suite
data_entry - Fill a template (DOCX/XLSX/fillable PDF) with data extracted from source files
get_result - Poll the status/result of a task_id returned by the translate_* tools
Documentation & Support
For detailed API documentation and implementation guides:
Official Documentation: https://developer.doctranslate.io/document-translation-api/translation-api/api-v3
Interactive API Docs: https://api-doc.doctranslate.io/
Contact Form: https://doctranslate.io/en/contact
Email Support: support@doctranslate.io
Last updated