Skip to main content
Glama
DocTranslator MCP server

DocTranslator MCP server

Official
README.md
<p align="center">
  <img src="assets/logo.png" alt="DocTranslator" width="300">
</p>

# DocTranslator MCP server

Translate whole documents from your AI agent. Upload a PDF, Word, Excel or PowerPoint file, see the price, and get back a translated file with the original layout, tables and formatting kept. 108 languages.

This is a hosted (remote) MCP server. There is nothing to install or run. This repository holds the connection guide and the registry listing; the server itself runs at:

```
https://mcp.doctranslator.com/mcp
```

- Transport: streamable HTTP
- Sign-in: OAuth 2.1 with your DocTranslator account (PKCE, dynamic client registration)
- Registry name: `com.doctranslator/mcp`
- Product page: https://doctranslator.com/mcp

## Connect

You need a DocTranslator account. The first time your agent uses the server, a browser window opens: sign in and approve the permissions. Your password is never shared with the agent, and you can revoke access at any time in your account settings.

**Claude Code**

```bash
claude mcp add --transport http doctranslator https://mcp.doctranslator.com/mcp
```

**Claude Desktop and Claude.ai**

Settings → Connectors → Add custom connector, then paste `https://mcp.doctranslator.com/mcp`.

**VS Code (GitHub Copilot)**

Add to `.vscode/mcp.json`:

```json
{
  "servers": {
    "doctranslator": {
      "type": "http",
      "url": "https://mcp.doctranslator.com/mcp"
    }
  }
}
```

**Cursor**

Add to `~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "doctranslator": {
      "url": "https://mcp.doctranslator.com/mcp"
    }
  }
}
```

**OpenAI Codex, Cline, Windsurf and other clients**

Add a remote MCP server of type HTTP with the address `https://mcp.doctranslator.com/mcp`. Any client that supports MCP sign-in (OAuth) works.

## Tools

| Tool | What it does | Permission |
|---|---|---|
| `upload_document` | Returns a one-time upload address for a file and the language pair. | `documents:upload` |
| `get_translation_quote` | Shows the price or quota a document will use before anything is charged. | `quotes:read` |
| `create_translation_order` | Starts the translation of an uploaded document. | `orders:create` |
| `get_order_status` | Follows a translation until it is finished. | `orders:read` |
| `download_translation` | Returns a secure, time-limited link to the translated file. | `orders:download` |
| `list_orders` | Lists your past translations. | `orders:read` |
| `get_billing_summary` | Shows your plan and usage. | `billing:read` |
| `create_subscription_checkout` | Opens a checkout link to subscribe or upgrade. | `billing:write` |
| `get_analytics_summary` | Pages and words translated and your top language pairs. | `analytics:read` |

### Typical flow

1. `upload_document` with the source and target language. The agent sends the file to the returned upload address (a direct file upload, the text is never pasted into chat).
2. `get_translation_quote`. The agent shows you the price and waits for your confirmation.
3. `create_translation_order`.
4. `get_order_status` until it reports completed.
5. `download_translation` to get the translated file.

## Files and limits

- Formats: PDF, Word (DOCX), Excel (XLSX), PowerPoint (PPTX), TXT, CSV, JSON, EPUB, HTML, and scanned images through OCR.
- Up to 1 GB per file.
- PDFs and images are priced per page, text formats per word. The quote tool shows the exact amount first.
- The server uses your existing DocTranslator plan. The MCP connection itself costs nothing extra. See https://doctranslator.com/pricing.

## Uploads blocked in a sandbox

Some agents upload files from a sandbox with its own list of allowed sites. If an upload is refused, add `mcp.doctranslator.com` to your client's allowed domains (network egress) setting. That is the only host needed.

## Support

support@doctranslator.com

## Licence

The documents and examples in this repository are released under the MIT licence. The DocTranslator service is covered by its own terms at https://doctranslator.com.