PowerPoint Translator MCP Service
A Model Context Protocol (MCP) service that provides PowerPoint translation capabilities using AWS Bedrock models.
Features
- Translate PowerPoint presentations to multiple languages
- Preserve formatting during translation
- Support for multiple translation engines (Nova Lite and Claude)
- Intelligent handling of proper nouns, brand names, and special content
Supported Languages
- Simplified Chinese (zh-CN)
- Traditional Chinese (zh-TW)
- English (en)
- Japanese (ja)
- Korean (ko)
- French (fr)
- German (de)
- Spanish (es)
Prerequisites
- Node.js 14+ (for npm package installation)
- Python 3.8+
- AWS account with Bedrock access
- AWS credentials configured
Installation
Using npm
npm install -g ppt-translator-mcp-zhu2mu-unique
Using Amazon Q Configuration
Add the following to your Amazon Q configuration:
"mcpServers": {
"ppt-translator": {
"timeout": 60,
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ppt-translator-mcp-zhu2mu-unique@latest"
],
"env": {
"AWS_ACCESS_KEY_ID": "${AWS_ACCESS_KEY_ID}",
"AWS_SECRET_ACCESS_KEY": "${AWS_SECRET_ACCESS_KEY}",
"AWS_REGION": "us-east-1",
"DEFAULT_TARGET_LANGUAGE": "zh-CN"
}
}
}
Usage
Once the MCP server is running, you can use it with any MCP-compatible client like Amazon Q or Claude Desktop.
Available Tools
-
translate_ppt
- Translate a PowerPoint document
- Parameters:
input_file
: Path to the input PowerPoint file (required)
target_language
: Target language code (default: zh-CN)
output_file
: Path to save the translated file (optional)
translation_method
: Translation method, 'nova' or 'claude' (default: nova)
-
list_supported_languages
- List all supported target languages
Example
Translate my presentation.pptx to Japanese using the Claude model
Development
Local Development
-
Clone this repository:
git clone https://github.com/yourusername/mcpppttranslator.git
cd mcpppttranslator
-
Install dependencies:
npm install
pip install -r requirements.txt
-
Run the server:
node index.js
Publishing to npm
- Update version in package.json
- Login to npm:
npm login
- Publish:
npm publish --access public
License
MIT