Bluente Translate MCP Server
AI-powered. Format-preserving. Built for professional document translation workflows.
bluente-translate-mcp-server is the official open-source MCP server for exposing Bluente translation capabilities to AI clients.
It wraps Bluente APIs into production-ready MCP tools so teams can automate multilingual document workflows from Claude Desktop, Cursor, and other MCP-compatible runtimes.
Why Bluente
Bluente focuses on enterprise-grade document translation where accuracy, formatting integrity, and speed matter.
From Bluente.com and Blu Translate, the core product positioning is:
- AI-powered translation for professional use cases
- Original layout retention for document-centric workflows
- Broad language and file-type support
- Security-first handling for sensitive content
This MCP server brings those capabilities into agent workflows through a standard protocol interface.
Brand Identity
This repository is maintained by Bluente and is part of Bluente's public developer ecosystem.
- Company website: https://www.bluente.com
- Product page: https://www.bluente.com/translator
- API docs: https://www.bluente.com/docs
Table of Contents
- What You Get
- Architecture
- Supported Bluente APIs
- MCP Tools
- Quick Start
- MCP Client Integration
- Operational Notes
- Security
- Roadmap
- Contributing and Governance
- License
What You Get
- Modular Node.js MCP server with clear layering (
config,client,service,tools) - One-file-per-tool implementation for maintainability
- Unified tool response envelope (
ok/tool/dataand structured errors) - End-to-end translation workflow tool (upload -> start -> poll -> download)
- CI checks and local smoke tests
Architecture
AI Client (Claude / Cursor / Agents)
|
| MCP (stdio)
v
+---------------------------------------+
| Bluente Translate MCP Server |
| |
| tools/ -> MCP tool handlers |
| services/ -> workflow orchestration |
| clients/ -> Bluente HTTP API client |
| config/ + lib/ -> env/errors/results |
+---------------------------------------+
|
| HTTPS
v
Bluente Translation APIs
Project layout:
src/
clients/bluente-http-client.js
config/env.js
constants/api.js
lib/errors.js
lib/mcp-result.js
services/translation-workflow-service.js
tools/*.tool.js
tools/schemas.js
tools/register-tools.js
server.js
index.js
tests/smoke/core-smoke.test.js
Supported Bluente APIs
GET /blu_translate/supported_languagesPOST /blu_translate/upload_fileGET /blu_translate/get_translation_statusPOST /blu_translate/translate_fileGET /blu_translate/download_file
Reference: Bluente API Docs
MCP Tools
bluente_get_supported_languagesbluente_upload_filebluente_get_translation_statusbluente_translate_filebluente_download_filebluente_translate_document_workflow
Tool behavior notes:
bluente_translate_file:fromandtoare required whenaction="start"and optional whenaction="cancel".bluente_translate_document_workflow:status_entryis configurable (pdforword) for status polling.
Success envelope:
{
"ok": true,
"tool": "bluente_upload_file",
"data": {
"code": 0,
"message": "success",
"data": { "id": "task_xxx" }
}
}
Error envelope:
{
"isError": true,
"ok": false,
"tool": "bluente_translate_file",
"error": {
"name": "BluenteApiError",
"message": "Bluente API request failed.",
"details": { "status": 401 }
}
}
Quick Start
1. Requirements
- Node.js
>= 20 - Bluente API key
2. Install
npm install
cp .env.example .env
3. Configure
BLUENTE_API_KEY=your_api_key_here
BLUENTE_API_BASE_URL=https://api.bluente.com/api/20250924
BLUENTE_API_TIMEOUT_MS=90000
4. Run
npm start
5. Validate locally
npm run check
npm test
MCP Client Integration
Example for Claude Desktop:
{
"mcpServers": {
"bluente-translate": {
"command": "node",
"args": ["/absolute/path/to/bluente-translate-mcp-server/src/index.js"],
"env": {
"BLUENTE_API_KEY": "your_api_key_here",
"BLUENTE_API_BASE_URL": "https://api.bluente.com/api/20250924",
"BLUENTE_API_TIMEOUT_MS": "90000"
}
}
}
}
Operational Notes
- Workflow tool polls until terminal state (
READYorERROR). - Output download can be disabled with
auto_download=false. - Timeout is configurable via
BLUENTE_API_TIMEOUT_MS. - For production, use separate API keys per environment.
Security
- Do not commit API keys or
.envfiles. - Rotate leaked keys immediately.
- Use repository private vulnerability reporting.
See SECURITY.md for disclosure policy.
Roadmap
- Add text translation tools if exposed in public API docs
- Add richer integration tests with API mocking
- Add container image and one-command local launch profile
Contributing and Governance
- Contribution guide: CONTRIBUTING.md
- Security policy: SECURITY.md
- Changelog: CHANGELOG.md
- Code ownership: .github/CODEOWNERS
About Bluente
Bluente builds AI translation and business communication solutions for professional teams.
- Website: bluente.com
- Product page: Blu Translate
- API documentation: bluente.com/docs
License
MIT