DeepL MCP
deepl_mcpTranslate text and documents, improve writing, and discover supported languages through DeepL’s provider-hosted MCP server.
Acciones disponibles (9)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Correct-textDEEPL_MCP_CORRECT_TEXTAcciónCorrect one or more texts for typos, grammar and punctuation errors using DeepL.
DEEPL_MCP_CORRECT_TEXTAcciónCorrect one or more texts for typos, grammar and punctuation errors using DeepL.
Parámetros de entrada
textstring[]ObligatorioOne or more texts to correct.
targetLanganyOptional target language code. DeepL Write supports: DE, EN-GB, EN-US, ES, FR, IT, JA, KO, PT-BR, PT-PT, ZH-HANS.
Parámetros de salida
Sin parámetros.
Download-documentDEEPL_MCP_DOWNLOAD_DOCUMENTAcciónGet a download link for a translated document once its status is 'done'. Returns 'downloadUrl', a short-lived, single-use link. Fetch it with an HTTP GET (the URL carries its own token, so do not add an Authorization header), or present it to the user. The link works only once. The bytes are streamed from the server and never pass through this conversation. For an upload with several target languages: omit 'targetLang' to get one link per finished language, or pass it to get that one language.
DEEPL_MCP_DOWNLOAD_DOCUMENTAcciónGet a download link for a translated document once its status is 'done'. Returns 'downloadUrl', a short-lived, single-use link. Fetch it with an HTTP GET (the URL carries its own token, so do not add an Authorization header), or present it to the user. The link works only once. The bytes are streamed from the server and never pass through this conversation. For an upload with several target languages: omit 'targetLang' to get one link per finished language, or pass it to get that one language.
Parámetros de entrada
sessionIdstringObligatorioA session id returned by upload-document.
targetLanganyTarget language code to download, e.g. 'DE'. Omit for every finished language of the upload.
Parámetros de salida
Sin parámetros.
Get-document-statusDEEPL_MCP_GET_DOCUMENT_STATUSAcciónCheck the translation status of a document session. Returns one of: 'awaiting_upload' (file not received yet), 'queued', 'translating', 'done', or 'error'. The additive 'uploadStatus' is 'awaiting', 'uploading', or 'complete' when known. Any of the upload's session ids reports the whole upload: 'status' covers every target language ('translating' while any language still runs, 'error' only when they all failed) and 'targets' reports each language on its own. Once the status is 'done', call download-document.
DEEPL_MCP_GET_DOCUMENT_STATUSAcciónCheck the translation status of a document session. Returns one of: 'awaiting_upload' (file not received yet), 'queued', 'translating', 'done', or 'error'. The additive 'uploadStatus' is 'awaiting', 'uploading', or 'complete' when known. Any of the upload's session ids reports the whole upload: 'status' covers every target language ('translating' while any language still runs, 'error' only when they all failed) and 'targets' reports each language on its own. Once the status is 'done', call download-document.
Parámetros de entrada
sessionIdstringObligatorioA session id returned by upload-document.
Parámetros de salida
statusstringObligatoriotargetsanysessionIdstringObligatorioerrorMessageanyuploadStatusanybilledCharactersanysecondsRemainingany
Get-source-languagesDEEPL_MCP_GET_SOURCE_LANGUAGESAcciónGet the source language codes supported by DeepL for translation, e.g. 'EN' or 'DE'. Use one of these for the sourceLang parameter of translate-text.
DEEPL_MCP_GET_SOURCE_LANGUAGESAcciónGet the source language codes supported by DeepL for translation, e.g. 'EN' or 'DE'. Use one of these for the sourceLang parameter of translate-text.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
Sin parámetros.
Get-target-languagesDEEPL_MCP_GET_TARGET_LANGUAGESAcciónGet the target language codes supported by DeepL for translation, e.g. 'EN-US' or 'DE'. Use one of these for the targetLang parameter of translate-text.
DEEPL_MCP_GET_TARGET_LANGUAGESAcciónGet the target language codes supported by DeepL for translation, e.g. 'EN-US' or 'DE'. Use one of these for the targetLang parameter of translate-text.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
Sin parámetros.
Rephrase-textDEEPL_MCP_REPHRASE_TEXTAcciónRephrase text in the same or a different language using DeepL.
DEEPL_MCP_REPHRASE_TEXTAcciónRephrase text in the same or a different language using DeepL.
Parámetros de entrada
textstring[]ObligatorioOne or more texts to rephrase.
toneanyOptional tone for the output: confident, diplomatic, enthusiastic, or friendly. Requires a style-capable targetLang. Specify either a writing style or a tone, not both.
targetLanganyTarget language code. Optional for a plain rephrase (auto-detected), but REQUIRED when a writingStyle or tone is set. DeepL Write supports: DE, EN-GB, EN-US, ES, FR, IT, JA, KO, PT-BR, PT-PT, ZH-HANS — styles/tones work only on DE, EN-GB, EN-US, ES, FR, IT, PT-BR, PT-PT.
writingStyleanyOptional writing style for the output: academic, business, casual, or simple. Requires a style-capable targetLang.
Parámetros de salida
Sin parámetros.
Translate-textDEEPL_MCP_TRANSLATE_TEXTAcciónTranslate text to one or more target languages using DeepL. Use this for plain text provided directly in the conversation — snippets, strings, messages, or passages pasted by the user. Do not use this to translate a file or document (e.g. Word, PowerPoint, Excel, PDF, HTML, .txt, .srt, .xlf/.xliff) — even if you can already read its contents — because it returns plain text and discards the document's layout and formatting. For files, use upload-document instead. Review the optional parameters and use those that apply for best results. When using a glossary, you must specify the source language as well as the target language. If the user references a glossary by name, use list-glossaries to look up its id. An unknown glossaryId is silently ignored (translation proceeds without it). An administrator may assign a language system (style profile) to the account, whose glossaries and style rule set can replace the glossaryId and styleId passed here; 'appliedCustomizations' in the result says so when it happened, per target language. Every target language is translated in one call; the result holds one entry per language, and a language DeepL refused is reported in 'failures' while the others still translate. Multiple texts are supported and translated independently; within each target language, results correlate to the inputs by position. If any text is blank, the whole request is rejected.
DEEPL_MCP_TRANSLATE_TEXTAcciónTranslate text to one or more target languages using DeepL. Use this for plain text provided directly in the conversation — snippets, strings, messages, or passages pasted by the user. Do not use this to translate a file or document (e.g. Word, PowerPoint, Excel, PDF, HTML, .txt, .srt, .xlf/.xliff) — even if you can already read its contents — because it returns plain text and discards the document's layout and formatting. For files, use upload-document instead. Review the optional parameters and use those that apply for best results. When using a glossary, you must specify the source language as well as the target language. If the user references a glossary by name, use list-glossaries to look up its id. An unknown glossaryId is silently ignored (translation proceeds without it). An administrator may assign a language system (style profile) to the account, whose glossaries and style rule set can replace the glossaryId and styleId passed here; 'appliedCustomizations' in the result says so when it happened, per target language. Every target language is translated in one call; the result holds one entry per language, and a language DeepL refused is reported in 'failures' while the others still translate. Multiple texts are supported and translated independently; within each target language, results correlate to the inputs by position. If any text is blank, the whole request is rejected.
Parámetros de entrada
textstring[]ObligatorioOne or more texts to translate. Each entry is translated independently.
contextanyOptional description of the text's domain to improve translation quality. Not itself translated. At most 300 characters.
styleIdanyStyle rule set id from list-style-rule-sets. Its own custom instructions are applied with it, so do not repeat them below.
formalityanyControls formality: 'less', 'more', 'default', 'prefer_less', or 'prefer_more'. Only some target languages support this.
glossaryIdanyGlossary id to ensure consistent terminology.
sourceLanganySource language code, e.g. 'EN' or 'DE'. Omit to let DeepL auto-detect.
targetLangsstring[]ObligatorioOne or more target language codes, e.g. ['EN-US', 'DE']. Each is translated separately.
customInstructionsanyOptional custom instructions to steer translation. Max 10 instructions, 300 characters each.
Parámetros de salida
Sin parámetros.
Upload-documentDEEPL_MCP_UPLOAD_DOCUMENTAcciónTranslate a whole file or document, preserving its original layout and formatting. Use this — not translate-text — whenever the user wants to translate a file or document (rather than text typed into the conversation), even if its contents are already visible to you; translate-text would strip the formatting. For plain text pasted into the conversation, use translate-text instead. Supported file extensions in this deployment: .docx, .doc, .pptx, .ppt, .xlsx, .xls, .pdf, .htm, .html, .txt, .xlf, .xliff, .srt, .png, .jpg, .jpeg. PNG and JPEG files are limited to 3 MB; limits for other formats depend on the user's plan. Always start a document translation with this call, and pass 'filename' with the file's extension. It reserves a short-lived upload session and returns 'sessionId' and 'uploadUrl'; it does not upload the file itself, and nothing is translated or billed until the file arrives. If the call had no 'filename', first call upload-document again with it. Then do exactly one of the following: 1. Upload the source file bytes: HTTP PUT the raw bytes to 'uploadUrl' with 'Content-Type: application/octet-stream'. 2. If you cannot access or transfer the file bytes, immediately call upload-document-show-fallback-widget with the returned 'sessionId'; it shows the user an upload widget where they select the file. Being unable to upload the bytes directly is an expected, recoverable condition: the next step is then to call upload-document-show-fallback-widget. Pass all target languages in one call rather than one call per language: the file is then uploaded only once. Each language is translated and billed separately once the file arrives. A language DeepL refuses is listed in 'failures' while the others still translate. An administrator may assign a language system (style profile) to the account, whose glossaries and style rule set can replace the glossaryId and styleId passed here; 'appliedCustomizations' on a target says so when it happened, per target language.
DEEPL_MCP_UPLOAD_DOCUMENTAcciónTranslate a whole file or document, preserving its original layout and formatting. Use this — not translate-text — whenever the user wants to translate a file or document (rather than text typed into the conversation), even if its contents are already visible to you; translate-text would strip the formatting. For plain text pasted into the conversation, use translate-text instead. Supported file extensions in this deployment: .docx, .doc, .pptx, .ppt, .xlsx, .xls, .pdf, .htm, .html, .txt, .xlf, .xliff, .srt, .png, .jpg, .jpeg. PNG and JPEG files are limited to 3 MB; limits for other formats depend on the user's plan. Always start a document translation with this call, and pass 'filename' with the file's extension. It reserves a short-lived upload session and returns 'sessionId' and 'uploadUrl'; it does not upload the file itself, and nothing is translated or billed until the file arrives. If the call had no 'filename', first call upload-document again with it. Then do exactly one of the following: 1. Upload the source file bytes: HTTP PUT the raw bytes to 'uploadUrl' with 'Content-Type: application/octet-stream'. 2. If you cannot access or transfer the file bytes, immediately call upload-document-show-fallback-widget with the returned 'sessionId'; it shows the user an upload widget where they select the file. Being unable to upload the bytes directly is an expected, recoverable condition: the next step is then to call upload-document-show-fallback-widget. Pass all target languages in one call rather than one call per language: the file is then uploaded only once. Each language is translated and billed separately once the file arrives. A language DeepL refuses is listed in 'failures' while the others still translate. An administrator may assign a language system (style profile) to the account, whose glossaries and style rule set can replace the glossaryId and styleId passed here; 'appliedCustomizations' on a target says so when it happened, per target language.
Parámetros de entrada
styleIdanyStyle rule set id from list-style-rule-sets. Its own custom instructions are applied with it, so do not repeat them below. Requires a DeepL Pro plan.
filenameanyOriginal file name including its extension (for example, 'report.docx').
formalityanyControls formality: 'less', 'more', 'default', 'prefer_less', or 'prefer_more'. Only some target languages support this. Requires a DeepL Pro plan.
glossaryIdanyId of a glossary to apply. Requires sourceLang; the glossary must have a dictionary for the source/target pair. Use list-glossaries to discover ids. Requires a DeepL Pro plan.
sourceLanganySource language code, e.g. 'EN'. Omit to let DeepL auto-detect. Required when using a glossary.
uploadModeanyReserved for compatibility with earlier clients. This value is ignored.
targetLangsstring[]ObligatorioOne or more target language codes, e.g. ['EN-US', 'DE']. The file is uploaded once and translated into each of them. Use get-target-languages to discover supported codes.
customInstructionsanyFree-text instructions that steer the translation (e.g. 'Use a friendly tone'). Requires a DeepL Pro plan.
Parámetros de salida
targetsanyfailuresanysessionIdstringObligatoriouploadUrlstringObligatoriouploadStatusanyexpiresInMinutesintegerObligatorio
Upload-document-show-fallback-widgetDEEPL_MCP_UPLOAD_DOCUMENT_SHOW_FALLBACK_WIDGETAcciónSecond step of a document translation, for when the file bytes cannot be sent to 'uploadUrl': shows the user an upload widget for the upload session that upload-document already reserved, so they can select the file themselves. Call it with the 'sessionId' returned by upload-document right after that call, whenever you cannot access or transfer the file bytes. The widget tracks the translation and offers the download.
DEEPL_MCP_UPLOAD_DOCUMENT_SHOW_FALLBACK_WIDGETAcciónSecond step of a document translation, for when the file bytes cannot be sent to 'uploadUrl': shows the user an upload widget for the upload session that upload-document already reserved, so they can select the file themselves. Call it with the 'sessionId' returned by upload-document right after that call, whenever you cannot access or transfer the file bytes. The widget tracks the translation and offers the download.
Parámetros de entrada
sessionIdstringObligatorioThe sessionId returned by upload-document.
Parámetros de salida
targetsanyfailuresanysessionIdstringObligatoriouploadUrlstringObligatoriouploadStatusanyexpiresInMinutesintegerObligatorio