mcp-server_word-translator
MCP DOCX Translator
用于通过 Google Translate API 翻译 DOCX 文档的 MCP 服务器,完整保留原始标记和结构。
特点
✅ 完整保留格式(样式、表格、图片、列表)
✅ 直接处理 XML,无需转换为中间格式
✅ 对源文档和翻译后文档进行结构验证
✅ 通过批处理和缓存优化请求
✅ 通过流式处理支持大型文档
✅ 详细的日志记录和报告
安装
npm install
npm run build配置
创建 .env 文件:
GOOGLE_API_KEY=your_api_key_here使用
npm startMCP 工具
translate_docx- 翻译 DOCX 文档validate_translation- 验证现有翻译get_translation_status- 当前操作状态
架构
项目由 7 个独立模块组成:
DocxParser - 从 DOCX 中提取和解析 XML
TranslationService - 与 Google Translate API 集成
StructureValidator - 验证文档结构
DocumentReconstructor - 使用翻译内容重建文档
QualityChecker - 检查翻译质量
FileManager - 文件管理和日志记录
MCP Server Core - 编排和工具注册
更多详情请参阅 CLAUDE.md
开发
npm run dev # watch mode
npm test # тесты
npm run lint # линтинг许可证
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Real .docx and .xlsx files from structured data, with automatic Hebrew/Arabic RTL.
Generate PDF/DOCX/XLSX/PPTX from templates+JSON. Convert Office/HTML/MD to PDF. Universal templating
Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mavline/mcp-server_word-translator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server