Skip to main content

Amazon Translate MCP Server

License Python MCP

A Model Context Protocol (MCP) server that provides AI applications with access to neural machine translation service, Amazon Translate for text translation, managed batch processing, and smart translation workflow management across 75+ languages.

Features

  • Text Translation: Real-time translation with custom terminology support
  • Managed Batch Processing: End to End Large-scale document translation with S3 integration , monitoring and error analysis
  • Language Detection: Automatic source language identification
  • Custom Terminology: Domain-specific translation consistency
  • Intelligent Workflows: Automated multi-step translation processes with workflow orchestration
  • Error Analysis: Comprehensive error analysis for failed jobs

Installation

Using uvx (Recommended)

uvx awslabs.amazon-translate-mcp-server@latest

Using pip

pip install awslabs.amazon-translate-mcp-server
python -m awslabs.amazon_translate_mcp_server.server

Configuration

Environment Variables

# AWS Configuration (required)
export AWS_REGION=us-east-1
export AWS_PROFILE=your-profile

# Optional Settings
export FASTMCP_LOG_LEVEL=INFO
export TRANSLATE_MAX_TEXT_LENGTH=10000

MCP Client Setup

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "amazon-translate": {
      "command": "uvx",
      "args": ["awslabs.amazon-translate-mcp-server@latest"],
      "env": {
        "AWS_REGION": "us-east-1",
        "AWS_PROFILE": "default"
      }
    }
  }
}

Available Tools

Translation Operations

  • translate_text - Translate text between languages
  • detect_language - Identify source language automatically
  • validate_translation - Quality assessment of translations

Batch Operations

  • start_batch_translation - Process multiple documents
  • get_translation_job - Monitor job status
  • list_translation_jobs - View all translation jobs
  • trigger_batch_translation - Start job without monitoring
  • monitor_batch_translation - Monitor until completion
  • analyze_batch_translation_errors - Analyze failed jobs

Terminology Management

  • list_terminologies - Browse custom terminology sets
  • create_terminology - Create domain-specific terms
  • import_terminology - Import from CSV/TMX files
  • get_terminology - Get terminology details

Language Operations

  • list_language_pairs - Show supported language combinations
  • get_language_metrics - View usage statistics

Workflow Operations

  • smart_translate_workflow - Automated translation with quality validation
  • managed_batch_translation_workflow - Complete batch lifecycle management
  • list_active_workflows - Monitor running workflows
  • get_workflow_status - Get workflow progress

Usage Examples

Basic Translation

# Translate text
translate_text(
    text="Hello, world!",
    source_language="en",
    target_language="es"
)
# Returns: "¡Hola, mundo!"

# Auto-detect language
detect_language(text="Bonjour le monde")
# Returns: {"detected_language": "fr", "confidence_score": 0.99}

Batch Translation

# Start batch job
start_batch_translation(
    input_s3_uri="s3://my-bucket/documents/",
    output_s3_uri="s3://my-bucket/translated/",
    data_access_role_arn="arn:aws:iam::123456789012:role/TranslateRole",
    job_name="my-translation-job",
    source_language="en",
    target_languages=["es", "fr", "de"]
)

Smart Workflow

# Automated translation with quality validation
smart_translate_workflow(
    text="Hello, how are you?",
    target_language="es",
    quality_threshold=0.8
)

AWS Permissions

Required IAM permissions:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "translate:*",
                "s3:GetObject",
                "s3:PutObject",
                "s3:ListBucket",
                "sts:GetCallerIdentity"
            ],
            "Resource": "*"
        }
    ]
}

Troubleshooting

  1. Authentication Errors: Ensure AWS credentials are configured
  2. Translation Failures: Check language pair support and text length limits
  3. Batch Job Issues: Verify S3 permissions and IAM role configuration
  4. Workflow Issues: Check workflow orchestrator in health check

Development

# Clone and install
git clone https://github.com/awslabs/mcp.git
cd mcp/src/amazon-translate-mcp-server
uv venv && uv sync --all-groups

#mcp inspector
npx @modelcontextprotocol/inspector uv --directory <directory path to amazon-translate-mcp-server> run --module awslabs.amazon_translate_mcp_server.server

# Run tests
uv run --frozen pytest --cov --cov-branch --cov-report=term-missing

License

Apache License 2.0

Support


Note: Requires AWS account with Amazon Translate access. AWS charges apply.

Release files for awslabs.amazon-translate-mcp-server 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awslabs.amazon-translate-mcp-server 1.0.6
File Size Uploaded
awslabs_amazon_translate_mcp_server-1.0.6.tar.gz 178.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for awslabs.amazon-translate-mcp-server 1.0.6
File Interpreter ABI Platform
awslabs_amazon_translate_mcp_server-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 256.2 kB

Release files / awslabs_amazon_translate_mcp_server-1.0.6.tar.gz

Download URL awslabs_amazon_translate_mcp_server-1.0.6.tar.gz
Size 178.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7e4fd46dad80e97f23e1c6a1145d94a8bf8bca6698677d9bba909fe0907b347b
BLAKE2b-256 checksum
How to use checksums
c8b7970a4342be8301f475ebd6031d2a1eb3a04ca06da7f6f13508038a83a1ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.

Transparency log

Release files / awslabs_amazon_translate_mcp_server-1.0.6-py3-none-any.whl

Download URL awslabs_amazon_translate_mcp_server-1.0.6-py3-none-any.whl
Size 77.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d94b1d32b0db72353a575ae2d44a76f949198d87be0c5d143632e3a10797c316
BLAKE2b-256 checksum
How to use checksums
c34c0ddabb834d3ce9c1477c42af84c582938bc7f98bea07ba39233c2a94800a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.7

2 release files

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page