Polytranslator

com.polytranslator由 polytranslator.com 發布官方發布者v1.1.1更新於 Oct 25, 2026

Translate PDFs, scans, Office files and EPUB across 475 languages and styles, preserving layout.

已驗證Streamable HTTP可網頁執行效率與工作流檔案與儲存AI 與機器學習

概覽

AI 產生的概覽

Polytranslator 的遠端 MCP 伺服器,讓助理在保留版面的前提下翻譯文件與文字,支援 475 種語言,以預付額度計費。

可以做什麼
提交文件(PDF、掃描檔、Office 檔案、EPUB、圖片)進行翻譯,輪詢完成狀態或取得下載連結,可選擇保留版面、表格與圖片,或僅輸出純文字。送出前免費取得文件報價。翻譯純文字,並列出支援的語言與風格。查詢帳戶剩餘的預付額度,並取回先前的文件結果。
適用情境
適合需要讓助理翻譯合約、法律文件或掃描版 PDF 等實際文件且不破壞版面的情況,也適合翻譯短文字並在消耗額度前確認費用。
執行需求
遠端 Streamable HTTP 端點,無需安裝。所有請求都需驗證:透過用戶端 OAuth 登入,或在 Authorization 標頭提供 API 金鑰。翻譯需要具備預付額度的 Polytranslator 帳戶。
安裝前請注意
翻譯會消耗預付額度;每份文件先報價,失敗會退款,並可設定單次請求的消費上限。此連線可讀取額度餘額與帳戶文件結果,但不能購買額度或變更計費設定。請妥善保管 API 金鑰,勿提交到版本控制,用完後在控制台撤銷連線。文件會上傳到第三方服務,下載連結在 24 小時內無需金鑰即可存取。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Polytranslator,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.polytranslator%2Ftranslator/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "polytranslator": {
      "type": "http",
      "url": "https://www.polytranslator.com/api/mcp"
    }
  }
}

README

Polytranslator API

Document translation API that keeps the layout. Translate PDFs (including scans), Word, PowerPoint, Excel, EPUB and photos across 475 languages and styles, including ancient and low-resource languages such as Ancient Greek, Coptic and Old English. Native documents keep their format; photos return as PNG and other supported inputs are converted to an editable document format. Text translation, webhooks and a remote MCP server for AI agents use the same prepaid credits. Use an API key for REST integrations or connect an assistant with OAuth. No subscription required.

Quickstart

sh
export POLYTRANSLATOR_API_KEY=pk_live_...export IDEMPOTENCY_KEY=$(uuidgen) # Keep this value when retrying this submission.
# 1. Submit (returns 202 with a document id)curl https://www.polytranslator.com/api/v1/documents \  -H "Authorization: Bearer $POLYTRANSLATOR_API_KEY" \  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \  -F [email protected] -F tgt=spa_Latn -F max_credits=500
# 2. Set DOCUMENT_ID to the returned id, then wait (up to 60 s per request).export DOCUMENT_ID=REPLACE_WITH_RETURNED_IDcurl "https://www.polytranslator.com/api/v1/documents/$DOCUMENT_ID?wait=60" \  -H "Authorization: Bearer $POLYTRANSLATOR_API_KEY"
# Repeat step 2 while status is queued or processing.# 3. Once status is completed, download the translated file.curl -OJ https://www.polytranslator.com/api/v1/documents/$DOCUMENT_ID/file \  -H "Authorization: Bearer $POLYTRANSLATOR_API_KEY"

Runnable examples:

What it does

Formats inPDF (text-based or scanned), DOCX, PPTX, XLSX, EPUB, PNG, JPG, WEBP, HEIC; DOC, ODT, RTF, TXT, Markdown, HTML, XML, SRT, VTT, TeX, Pages → DOCX; XLS, ODS, CSV, TSV, Numbers → XLSX; PPT, ODP, Keynote → PPTX; MOBI, AZW3, FB2 → DOCX
OutputNative PDF, DOCX, PPTX, XLSX and EPUB keep their format; photos return as PNG, and converted inputs use the format shown above. Layout, tables and images are preserved, with scan/photo text translated in place (output=formatted). Or choose translated text only (output=text).
Limits50 MB, 1,000 PDF pages, 1,000,000 characters per document; 5 documents in progress per account
Languages and styles475 catalog entries; source auto-detected; GET /v1/languages
Tiersfast and advanced (the most accurate)
PricePrepaid credit packs from $9.99 (300 credits) to $99.99 (5,000). Every document is quoted for free before you pay and charged exactly its quote; failed documents are refunded. Text: 1 credit per 1,000 characters (fast), 3 (advanced).
Async?wait= long-poll, or a signed webhook (callback_url) when the document finishes
SafetyIdempotency-Key on submissions (a retry never charges twice), max_credits spending cap per request
AgentsHeadless signup and purchase with a Stripe Shared Payment Token, OpenAPI, llms.txt, remote MCP server

Measured examples on the fast tier: a short Word contract costs 1 credit; a one-page scanned court filing costs 19 credits.

Use it from AI agents (MCP)

Remote Streamable HTTP server, nothing to install. Tools: translate_document, get_document, quote_document, translate_text, list_languages, get_credit_balance. Completed documents come back as download links that work without a key for 24 hours.

ChatGPT / Claude web connectors (OAuth)

Add https://www.polytranslator.com/api/mcp as a custom connector or MCP server in a client that supports remote MCP and OAuth. Sign in to Polytranslator and approve the connection. You do not need to copy an API key into the assistant. Connector availability depends on your client and account settings.

Each connection can translate documents and text, read your purchased credit balance, and retrieve your account's API document results. It cannot buy credits, change billing settings or manage API keys. Documents and text still spend purchased credits; approving a connection does not buy a credit pack. Any automatic refill you already enabled continues under its existing settings. Revoke a connection from the API dashboard by revoking its MCP: <client name> key.

For implementers: OAuth uses the translation scope and authorization code flow with S256 PKCE. Public clients can use an HTTPS Client ID Metadata Document (CIMD) with token_endpoint_auth_method: none. Dynamic client registration (DCR) also remains available for public clients (none) and confidential clients (client_secret_basic or client_secret_post). Access tokens last one hour; refresh tokens rotate and expire 30 days after connection creation.

The resource is exactly https://www.polytranslator.com/api/mcp; include it in authorization and token requests. The issuer is https://www.polytranslator.com/api/oauth. Discovery endpoints are /.well-known/oauth-protected-resource/api/mcp and /.well-known/oauth-authorization-server/api/oauth.

All MCP transport requests, including initialization and tool listing, require authentication. Missing or invalid credentials receive HTTP 401 with a WWW-Authenticate discovery challenge so clients start OAuth immediately. Directories can inspect the six tools without signing in through the public server card. OAuth access tokens work only through MCP; direct REST requests use API keys.

API-key clients

API-key authentication remains supported. The configurations below use an API key; keep it out of source control. The REST examples and Postman collection also use API keys.

Claude Code

sh
claude mcp add --transport http polytranslator https://www.polytranslator.com/api/mcp \  --header "Authorization: Bearer $POLYTRANSLATOR_API_KEY"

Cursor (.cursor/mcp.json)

json
{  "mcpServers": {    "polytranslator": {      "url": "https://www.polytranslator.com/api/mcp",      "headers": { "Authorization": "Bearer YOUR_API_KEY" }    }  }}

VS Code (.vscode/mcp.json)

json
{  "servers": {    "polytranslator": {      "type": "http",      "url": "https://www.polytranslator.com/api/mcp",      "headers": { "Authorization": "Bearer YOUR_API_KEY" }    }  }}

Codex (~/.codex/config.toml)

toml
[mcp_servers.polytranslator]url = "https://www.polytranslator.com/api/mcp"bearer_token_env_var = "POLYTRANSLATOR_API_KEY"

Registry entry: mcp/server.json (com.polytranslator/translator). Also listed on Smithery.

How it compares

A sourced comparison with DeepL, Google Cloud Translation, Azure AI Translator and Amazon Translate (formats, scans, limits, languages, pricing, minimum charges, setup) is at https://www.polytranslator.com/guides/document-translation-api/.

Postman

Open the public Postman collection, or import postman/polytranslator.postman_collection.json, and set the apiKey collection variable to your API key. Keep the populated value private; do not include credentials in a published workspace or exported collection. The baseUrl variable defaults to https://www.polytranslator.com/api.

About

Polytranslator is built by the authors of From LLM to NMT: Advancing Low-Resource Machine Translation with Claude (Enis & Hopkins, 2024, arXiv:2404.13813). Questions: [email protected].

The examples in this repository are MIT licensed.

來源:README.md,提交 c30a2d1

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

2
  1. v1.1.1最新Sep 24, 2026
  2. v1.0.0Sep 23, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分