Translate PDF, Word, PowerPoint and Excel files into 120+ languages with the original layout kept.
Maintain this server? Claim it
This server signs you in with OAuth, which the playground doesn't support yet. Install it in your MCP client to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http translate https://mcp.bluente.com/
Create a short-lived (15 minute) upload URL for a file that exists only in the local code-execution sandbox (e.g. under /mnt/user-data/uploads/). Then run exactly the returned curl_example in the sandbox shell to POST the raw file bytes; its JSON response contains the Bluente task id. Pass that id as task_id to bluente_translate_document_workflow (with from/to, no file source). The URL embeds the caller's credentials in encrypted form: never show it to the user or store it. The sandbox must allow network egress to mcp.bluente.com.
| Argument | Type | Description |
|---|---|---|
| file_name* |
| string |
| Name of the file that will be uploaded, including its extension (e.g. report.docx). |
| file_path | string | Absolute path of the file in the local sandbox; used only to render curl_example; defaults to /mnt/user-data/uploads/<file_name>. |
{
"type": "object",
"required": [
"file_name"
],
"properties": {
"file_name": {
"type": "string",
"minLength": 1,
"description": "Name of the file that will be uploaded, including its extension (e.g. report.docx)."
},
"file_path": {
"type": "string",
"minLength": 1,
"description": "Absolute path of the file in the local sandbox; used only to render curl_example; defaults to /mnt/user-data/uploads/<file_name>."
}
},
"additionalProperties": false
}Download the translated document: get the translation result file once the task status is READY. Returns download_url — a direct, single-click file download link for the user, valid for 15 minutes. Give the user download_url as a clickable link and tell them it expires in 15 minutes; after that, call this tool again to mint a fresh link. Never share any other URL with the user. Use to_type=pdf, word, or pptx. This server never returns file content inline.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| to_type | string |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"to_type": {
"enum": [
"pdf",
"word",
"pptx"
],
"type": "string",
"default": "word"
}
},
"additionalProperties": false
}Get the signed-in Bluente user's account: email, name, organisation (name and role, or null), and credits per feature (translate always; transcribe and rewrite only when they have a balance). Use this whenever the user asks who they are signed in as, which organisation they belong to, how many credits they have, or when their credits expire. For each feature, say who pays: paid_by 'organization' means the organisation's shared pool (name the organisation), 'personal' means the user's own credits. Lead with the soonest expiry and its amount (expiries[0]), then the rest, e.g. '50 expire on 31 Oct 2026; the other 1,150 last until 1 Mar 2027'. Expiry times are UTC; convert them when you know the user's timezone. Read-only: never changes credits.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}List all language pairs currently supported by the Bluente translation platform.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Query a task by id using Bluente's check API. Use entry=get_status to poll processing or translation progress, or entry=get_page_count to read the uploaded file's page count.
| Argument | Type | Description |
|---|---|---|
| id* | string | Task id returned by upload endpoint. |
| entry | string |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Task id returned by upload endpoint."
},
"entry": {
"enum": [
"get_page_count",
"get_status"
],
"type": "string",
"default": "get_status"
}
},
"additionalProperties": false
}Translate a document. Source options, in order of preference: (1) pass an attached file as file_to_translate if the platform provides one; (2) if the file exists only in the local code-execution sandbox (e.g. /mnt/user-data/uploads/), call bluente_create_upload_url, run its curl_example there, then call this tool with the returned id as task_id and no file source; (3) pass a publicly accessible link as file_url; (4) for files under 2MB only, pass file_content_base64. If none of these are possible, tell the user to open https://translate.bluente.com/ and upload it there. Pick mode from the document; most files are 'standard' (normal digital documents exported from Word/PowerPoint). Detect the two exceptions rather than defaulting: (1) A scanned/photographed document — a PDF whose pages are images of text, with little or no selectable text layer. If you can read the file (a sandbox with the bytes), check for an extractable text layer; a PDF that yields little or no text is almost certainly scanned. When it is a scan, ASK the user which they want: 'scanned (text)' rebuilds a clean text-only document (drops the original's non-text elements), 'scanned (overlay)' keeps the original layout and places the translation back in place. Do not guess between these two. (2) A graphic whose visual design must be preserved — a brochure or poster where the goal is to re-render the image in the target language keeping its style, colours, and layout — is 'image' (image generation, not OCR). If you cannot tell whether the file is digital or scanned and cannot inspect it, ask the user rather than defaulting; the confirmation card will show Mode as a decision, not a default. A scan run as standard translates blank pages and wastes credits. For a Word or PowerPoint file whose images contain text (charts, screenshots, scanned figures), offer translate_images='on' so that text is translated too; it costs no extra credits. Offer it BEFORE the first call and decide it there, so it is on the confirmation card: the confirm_token is bound to it, so turning it on or off after the card needs a new card (call again without confirmed). Leave it off for PDFs, non-standard modes, and bilingual output — the backend rejects those combinations. Pass it again on the confirmed call; omitted means off. Two-call flow: the first call uploads the file and returns page_count, a confirmation card, and a confirm_token; nothing starts and no credits are deducted until confirmed=true. The result's render_to_user contains a fenced block you MUST paste to the user exactly as-is (never paraphrase, shorten, reorder, or omit lines — cost is based on pages and the user must see it), then ask them to confirm or adjust and WAIT for their reply. Then call again with confirmed=true, the same task_id, the same settings the card showed, and that confirm_token. The token is bound to those settings and only becomes valid 20 seconds after the card was issued, so a confirmed call in the same turn, or with changed settings, is rejected. The user's answers to the card's (ask the user) lines (to_type, bilingual, bilingual_layout, and mode only if the answer is standard) may be passed directly on the confirmed call; if the user changes a setting the card displayed, or picks a scanned or image mode, call again without confirmed to get a new card and token. confirmed=true also requires explicit to, to_type, and bilingual values. When bilingual is on you MUST also ask the user which layout they want — offer EXACTLY two options and no others: Left-Right (original and translation side by side) or Top-Down (translation stacked under the original) — and pass it as bilingual_layout. Never offer or invent other arrangements such as line-by-line or paragraph-by-paragraph; those are not supported. A confirmed bilingual-on call without bilingual_layout is rejected. When bilingual is off, bilingual_layout is not needed. to_type may be one format or an array of formats (e.g. ["pptx", "pdf"]) — formats are download-time conversions of the same translation and cost nothing extra. The confirmation card may include a Balance line (current credits, credits left after this translation, and who pays); it is part of the card and must be shown exactly like every other line. If it says the balance is not enough, tell the user before asking them to confirm. Once confirmed, this returns as soon as translation starts; follow the next_steps in the result to poll bluente_get_translation_status and then call bluente_download_file. Pass auto_download=true only for small documents to wait for the result inline, which can block for several minutes and may exceed the host's request timeout.
| Argument | Type | Description |
|---|---|---|
| to* | string | Target language. Ask the user; do not assume. Bluente language code, e.g. en, zh (Simplified Chinese), cht (Traditional Chinese), jp (Japanese), kor (Korean), fra (French), spa (Spanish), de (German). Common ISO codes like zh-CN/ja/ko/fr/es are auto-aliased. For other languages call bluente_get_supported_languages. |
| from* | string | Bluente language code, e.g. en, zh (Simplified Chinese), cht (Traditional Chinese), jp (Japanese), kor (Korean), fra (French), spa (Spanish), de (German). Common ISO codes like zh-CN/ja/ko/fr/es are auto-aliased. For other languages call bluente_get_supported_languages. |
| mode | string | Document mode. 'standard' — normal digital documents (e.g. exported from Word or PowerPoint); this fits most files. 'scanned (text)' — the document is a scan: OCR the text, translate it, and put it in a NEW document without the original's non-text elements. 'scanned (overlay)' — the document is a scan: OCR the text, translate it, and place it back over the original layout, keeping the original elements. 'image' — image generation that re-renders a graphic (brochure, poster) in the target language while preserving its visual style, colours, and layout; not for translating text out of an image. Image mode is the only mode charged above the standard rate: 5 credits per page. Both scanned modes cost the same 1 credit per page as standard. If you cannot tell whether the file is digital or scanned and cannot inspect it, ask the user rather than defaulting; the confirmation card will show Mode as a decision, not a default. |
| engine | integer | Translation engine code. Use 3. |
| scanned | integer | Deprecated numeric alias for mode (0-3); prefer mode. |
| task_id | string | Task id of a file already uploaded via the bluente_create_upload_url curl flow. When set, the upload step is skipped and no file source is needed. |
Cancel the translation of an uploaded task by id. This tool cannot start a translation: starting deducts credits and goes only through bluente_translate_document_workflow, which shows the user the page count and settings to confirm first.
| Argument | Type | Description |
|---|---|---|
| id* | string | Task id returned by upload endpoint. |
| action | string |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Task id returned by upload endpoint."
},
"action": {
"enum": [
"cancel"
],
"type": "string",
"default": "cancel"
}
},
"additionalProperties": false
}Upload a source document and get a translation task id. Source options, in order of preference: (1) pass an attached file as file_to_translate if the platform provides one; (2) if the file exists only in the local code-execution sandbox (e.g. /mnt/user-data/uploads/), call bluente_create_upload_url instead and run its curl_example there - that curl already performs the upload and returns the task id, so do not call this tool afterwards; (3) pass a publicly accessible link as file_url; (4) for files under 2MB only, pass file_content_base64. If none of these are possible, tell the user to open https://translate.bluente.com/ and upload it there.
| Argument | Type | Description |
|---|---|---|
| engine | integer | Translation engine code. Use 3. |
| file_url | string | Publicly accessible source file URL if platform does not provide file object. |
| glossary | integer | Enable glossary matching: 0 or 1. |
| file_name | string | Optional file name override used on upload. |
| file_to_translate | object | |
| file_content_base64 | string | Last resort for very small files only (max 2MB decoded): the raw file bytes as base64. Prefer file_to_translate, the bluente_create_upload_url flow, or file_url. |
{
"type": "object",
"properties": {
"engine": {
"type": "integer",
"default": 3,
"description": "Translation engine code. Use 3."
},
"file_url": {
"type": "string",
"format": "uri",
"description": "Publicly accessible source file URL if platform does not provide file object."
},
"glossary": {
"type": "integer",
"default": 0,
"maximum": 1,
"minimum": 0,
"description": "Enable glossary matching: 0 or 1."
},
"file_name": {
"type": "string",
"description": "Optional file name override used on upload."
},
"file_to_translate": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string",
"description": "Platform-provided URL for downloading the attached source file."
}
},
"additionalProperties": false
},
"file_content_base64": {
"type": "string",
"minLength": 1,
"description": "Last resort for very small files only (max 2MB decoded): the raw file bytes as base64. Prefer file_to_translate, the bluente_create_upload_url flow, or file_url."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 27, 2026.
A very long tool description (over 4,000 characters) is hard to review and easy to hide instructions in.
Fix: Keep the description to what the tool does and when to use it; move reference material to resources or docs.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.
| to_type | any | Output format, or an array of formats to receive several at once (formats are download-time conversions of the same finished translation — no extra translation or credits). Ask the user; required when confirmed=true. Also used when auto_download is true. |
| file_url | string | Publicly accessible source file URL. |
| glossary | integer | Deprecated and ignored; glossary is always on. |
| metadata | object |
| bilingual | string | Bilingual output: 'on' keeps the original text alongside the translation, 'off' (or 'none') produces a clean translated document. When 'on', also set bilingual_layout (left-right or top-down) — ask the user which. Ask the user; required when confirmed=true. |
| confirmed | boolean | Set true only after the user has seen the confirmation card returned by a first call and explicitly confirmed it. Requires confirm_token. While false (the default) the call stops after returning the card: nothing starts and no credits are deducted. |
| file_name | string |
| namespace | string |
| page_range | string | Pages to translate, e.g. '1-3,5'. Defaults to the whole document. Credits are charged only for the selected pages; the backend validates the range against the document's page count at start. |
| status_entry | string |
| auto_download | boolean | Set to true to block until translation finishes and return download details. Only safe for small documents: translation often takes minutes and the host may time out the request first. Defaults to false, which returns as soon as translation starts. |
| confirm_token | string | The confirm_token returned by the unconfirmed call. Required when confirmed=true. It is bound to that call's task_id and settings and becomes valid 20 seconds after the card was issued, so a confirmed call must repeat the same settings and wait for the user's reply. |
| custom_glossary | integer | Deprecated and ignored; glossary is always on. |
| bilingual_layout | string | Bilingual page layout. Bluente supports EXACTLY two layouts and no others. When bilingual is on you must ask the user to pick one and pass it verbatim: 'left-right' = the original and the translation side by side in two columns; 'top-down' = the translation placed directly under the original. Do NOT offer, invent, rephrase, or accept any other arrangement — line-by-line and paragraph-by-paragraph are NOT options and must never be presented to the user. When you ask the user, present only these two choices, labelled Left-Right (side by side) and Top-Down (stacked). Required when confirmed=true and bilingual is on; ignored when bilingual is off. |
| poll_interval_ms | integer |
| translate_images | string | Translate images within the file: 'on' also translates the text inside images embedded in a Word or PowerPoint file (DOC, DOCX, PPT, PPTX) — e.g. charts, screenshots, scanned figures, diagrams with labels; 'off' (the default) translates only the document's text. No extra credits. Standard mode only; not available for PDFs or together with bilingual output. Offer it before the first call when a Word or PowerPoint document has images containing text; it is bound to the confirmation card, so turning it on or off afterwards needs a new card. Pass it again on the confirmed call; omitted means off. |
| file_to_translate | object |
| max_poll_attempts | integer | Total status polls allowed across both the upload and translation phases (max 100, at least 2 s apart). On the Cloudflare Free plan the effective cap is lower: Workers get 50 subrequests per request. |
| vertical_bilingual | integer | Deprecated numeric alias for bilingual_layout: 0 left-right, 1 top-down. bilingual_layout wins when both are given. |
| file_content_base64 | string | Last resort for very small files only (max 2MB decoded): the raw file bytes as base64. Prefer file_to_translate, the bluente_create_upload_url flow, or file_url. |
{
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"minLength": 2,
"description": "Target language. Ask the user; do not assume. Bluente language code, e.g. en, zh (Simplified Chinese), cht (Traditional Chinese), jp (Japanese), kor (Korean), fra (French), spa (Spanish), de (German). Common ISO codes like zh-CN/ja/ko/fr/es are auto-aliased. For other languages call bluente_get_supported_languages."
},
"from": {
"type": "string",
"minLength": 2,
"description": "Bluente language code, e.g. en, zh (Simplified Chinese), cht (Traditional Chinese), jp (Japanese), kor (Korean), fra (French), spa (Spanish), de (German). Common ISO codes like zh-CN/ja/ko/fr/es are auto-aliased. For other languages call bluente_get_supported_languages."
},
"mode": {
"enum": [
"standard",
"scanned (text)",
"scanned (overlay)",
"image"
],
"type": "string",
"description": "Document mode. 'standard' — normal digital documents (e.g. exported from Word or PowerPoint); this fits most files. 'scanned (text)' — the document is a scan: OCR the text, translate it, and put it in a NEW document without the original's non-text elements. 'scanned (overlay)' — the document is a scan: OCR the text, translate it, and place it back over the original layout, keeping the original elements. 'image' — image generation that re-renders a graphic (brochure, poster) in the target language while preserving its visual style, colours, and layout; not for translating text out of an image. Image mode is the only mode charged above the standard rate: 5 credits per page. Both scanned modes cost the same 1 credit per page as standard. If you cannot tell whether the file is digital or scanned and cannot inspect it, ask the user rather than defaulting; the confirmation card will show Mode as a decision, not a default."
},
"engine": {
"type": "integer",
"default": 3,
"description": "Translation engine code. Use 3."
},
"scanned": {
"type": "integer",
"maximum": 3,
"minimum": 0,
"description": "Deprecated numeric alias for mode (0-3); prefer mode."
},
"task_id": {
"type": "string",
"minLength": 1,
"description": "Task id of a file already uploaded via the bluente_create_upload_url curl flow. When set, the upload step is skipped and no file source is needed."
},
"to_type": {
"anyOf": [
{
"enum": [
"pdf",
"word",
"pptx"
],
"type": "string"
},
{
"type": "array",
"items": {
"enum": [
"pdf",
"word",
"pptx"
],
"type": "string"
},
"minItems": 1
}
],
"description": "Output format, or an array of formats to receive several at once (formats are download-time conversions of the same finished translation — no extra translation or credits). Ask the user; required when confirmed=true. Also used when auto_download is true."
},
"file_url": {
"type": "string",
"format": "uri",
"description": "Publicly accessible source file URL."
},
"glossary": {
"type": "integer",
"maximum": 1,
"minimum": 0,
"description": "Deprecated and ignored; glossary is always on."
},
"metadata": {
"type": "object",
"additionalProperties": {}
},
"bilingual": {
"enum": [
"on",
"off",
"none"
],
"type": "string",
"description": "Bilingual output: 'on' keeps the original text alongside the translation, 'off' (or 'none') produces a clean translated document. When 'on', also set bilingual_layout (left-right or top-down) — ask the user which. Ask the user; required when confirmed=true."
},
"confirmed": {
"type": "boolean",
"default": false,
"description": "Set true only after the user has seen the confirmation card returned by a first call and explicitly confirmed it. Requires confirm_token. While false (the default) the call stops after returning the card: nothing starts and no credits are deducted."
},
"file_name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"page_range": {
"type": "string",
"pattern": "^[ \\t]*\\d+([ \\t]*-[ \\t]*\\d+)?([ \\t]*,[ \\t]*\\d+([ \\t]*-[ \\t]*\\d+)?)*[ \\t]*$",
"description": "Pages to translate, e.g. '1-3,5'. Defaults to the whole document. Credits are charged only for the selected pages; the backend validates the range against the document's page count at start."
},
"status_entry": {
"enum": [
"get_page_count",
"get_status"
],
"type": "string",
"default": "get_status"
},
"auto_download": {
"type": "boolean",
"default": false,
"description": "Set to true to block until translation finishes and return download details. Only safe for small documents: translation often takes minutes and the host may time out the request first. Defaults to false, which returns as soon as translation starts."
},
"confirm_token": {
"type": "string",
"minLength": 1,
"description": "The confirm_token returned by the unconfirmed call. Required when confirmed=true. It is bound to that call's task_id and settings and becomes valid 20 seconds after the card was issued, so a confirmed call must repeat the same settings and wait for the user's reply."
},
"custom_glossary": {
"type": "integer",
"maximum": 1,
"minimum": 0,
"description": "Deprecated and ignored; glossary is always on."
},
"bilingual_layout": {
"enum": [
"left-right",
"top-down"
],
"type": "string",
"description": "Bilingual page layout. Bluente supports EXACTLY two layouts and no others. When bilingual is on you must ask the user to pick one and pass it verbatim: 'left-right' = the original and the translation side by side in two columns; 'top-down' = the translation placed directly under the original. Do NOT offer, invent, rephrase, or accept any other arrangement — line-by-line and paragraph-by-paragraph are NOT options and must never be presented to the user. When you ask the user, present only these two choices, labelled Left-Right (side by side) and Top-Down (stacked). Required when confirmed=true and bilingual is on; ignored when bilingual is off."
},
"poll_interval_ms": {
"type": "integer",
"default": 3000,
"maximum": 60000,
"minimum": 2000
},
"translate_images": {
"enum": [
"on",
"off"
],
"type": "string",
"description": "Translate images within the file: 'on' also translates the text inside images embedded in a Word or PowerPoint file (DOC, DOCX, PPT, PPTX) — e.g. charts, screenshots, scanned figures, diagrams with labels; 'off' (the default) translates only the document's text. No extra credits. Standard mode only; not available for PDFs or together with bilingual output. Offer it before the first call when a Word or PowerPoint document has images containing text; it is bound to the confirmation card, so turning it on or off afterwards needs a new card. Pass it again on the confirmed call; omitted means off."
},
"file_to_translate": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string",
"description": "Platform-provided URL for downloading the attached source file."
}
},
"additionalProperties": false
},
"max_poll_attempts": {
"type": "integer",
"default": 100,
"maximum": 100,
"minimum": 1,
"description": "Total status polls allowed across both the upload and translation phases (max 100, at least 2 s apart). On the Cloudflare Free plan the effective cap is lower: Workers get 50 subrequests per request."
},
"vertical_bilingual": {
"type": "integer",
"maximum": 1,
"minimum": 0,
"description": "Deprecated numeric alias for bilingual_layout: 0 left-right, 1 top-down. bilingual_layout wins when both are given."
},
"file_content_base64": {
"type": "string",
"minLength": 1,
"description": "Last resort for very small files only (max 2MB decoded): the raw file bytes as base64. Prefer file_to_translate, the bluente_create_upload_url flow, or file_url."
}
},
"additionalProperties": false
}