Supports exporting translations in Android XML format for mobile app localization
Supports exporting translations in JSON and other formats compatible with Angular applications
Uses .env files for configuration management of API tokens and settings
Provides CI/CD integration examples for automated translation exports and workflows
Sends email notifications through Gmail SMTP for translation updates and alerts
Supports exporting translations in iOS Strings format for mobile app localization
Implemented as a Python-based MCP server for POEditor translation management
Supports exporting translations in JSON format compatible with React applications
Sends team notifications and updates through Slack webhooks for translation workflow events
Supports XML format exports including Android XML and XLIFF for translation workflows
Supports YAML format exports for backend applications and configuration-based translation systems
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@POEditor MCP Servergenerate a progress report for my mobile app project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π POEditor MCP Server
A comprehensive Model Context Protocol (MCP) server for POEditor translation management, featuring advanced automation scripts and workflow optimization tools.
π Features
π Complete MCP Server: Full integration with POEditor API
ποΈ Control Center: Master script to manage all automation tools
π Smart Reporting: Interactive HTML reports with progress tracking
π¨ Monitoring System: Automated alerts for translation issues
π€ AI Automation: Intelligent translation suggestions and consistency checking
π§ Notifications: Email and Slack integration for team updates
π¦ Mass Export: Multi-format export system for all platforms
π Scheduler: Automated task execution with cron-like functionality
Related MCP server: translator-ai
π― Why This MCP?
Unlike other MCP servers that require complex Docker setups, POEditor MCP is designed for simplicity:
β No Docker required - Pure Python implementation
π― Translation-focused - Built specifically for localization workflows
π§ Minimal setup - Just add your API token and run
π Instant execution -
python setup.py && python control_center.pyπ Visual reports - Beautiful HTML dashboards
π€ Built-in AI - Smart translation suggestions
π Project Status
Feature | Status | Description |
π MCP Server | β Complete | Full MCP protocol implementation |
π― POEditor API | β Complete | All API endpoints covered |
π€ Claude Desktop | β Supported | Ready-to-use configuration |
π§ VS Code | β Supported | MCP extension compatible |
π Automation | β Complete | 10+ automation scripts |
π Documentation | β Complete | Comprehensive guides |
π§ͺ Testing | β Complete | Thorough test coverage |
π Internationalization | π§ Planned | Multi-language support |
π Quick Start
1. Automatic Setup (Recommended)
# Clone the repository
git clone https://github.com/yourusername/poeditor-mcp.git
cd poeditor-mcp
# Run the automatic setup script
python setup.py
# Follow the interactive prompts to configure your POEditor API token2. Manual Setup
# Install dependencies
pip install -r requirements.txt
# Copy environment template
cp .env.template .env
# Edit .env with your POEditor API token
nano .env
# Test the connection
python test_connection.py3. Start Using
# Show all available commands
python control_center.py help
# Run daily monitoring
python control_center.py monitor
# Generate progress report
python control_center.py daily_report
# Start automated scheduling
python control_center.py schedule startοΏ½ MCP Client Configuration
Once installed, configure your MCP client to use the POEditor server:
π― Claude Desktop
Add this configuration to your Claude Desktop config file:
macOS/Linux: ~/.claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"poeditor": {
"command": "python",
"args": ["-m", "mcp_poeditor"],
"cwd": "/path/to/your/poeditor-mcp",
"env": {
"POEDITOR_API_TOKEN": "your_poeditor_token_here"
}
}
}
}π§ Visual Studio Code
Add this configuration to your VS Code settings:
File: .vscode/settings.json (workspace) or user settings
{
"mcp.servers": {
"poeditor": {
"command": "python",
"args": ["-m", "mcp_poeditor"],
"cwd": "/path/to/your/poeditor-mcp",
"env": {
"POEDITOR_API_TOKEN": "your_poeditor_token_here"
}
}
}
}π Configuration Notes
Replace
/path/to/your/poeditor-mcpwith the actual path to your installationReplace
your_poeditor_token_herewith your actual POEditor API tokenRestart your MCP client after configuration
Use the provided example files:
claude_desktop_config_example.jsonandvscode_settings_example.json
οΏ½π οΈ Available Tools
The MCP server provides comprehensive POEditor management through these tool categories:
π Project Management
list_projects- List all projectsget_project- Get project detailscreate_project- Create new project
π Language Management
list_languages- List project languagesadd_language- Add language to projectremove_language- Remove language from project
π Term Management
list_terms- List project termssearch_terms- Search terms by key/valueadd_terms- Add new termsdelete_terms- Remove terms
βοΈ Translation Management
list_translations- Get language translationsadd_translation- Add new translationupdate_translation- Update existing translationexport_translations- Export in multiple formats
π Statistics & Analytics
get_project_stats- Project statisticsget_translation_progress- Progress by languagecompare_languages- Language comparison analysis
ποΈ Automation Scripts
The project includes a powerful suite of automation scripts accessible through the control center:
python control_center.py <command>π Reporting & Analytics
daily_report- Generate comprehensive HTML progress reportsstatus- Check system health and configuration
π¨ Monitoring & Alerts
monitor- Scan for translation issues and quality problemstest- Run system diagnostics
π€ Automation
automate- AI-powered translation suggestions and consistency checksschedule- Automated task scheduling and execution
π Optimization
optimize- Workflow analysis with actionable recommendationssync- Synchronize translations between similar projects
π¦ Export & Integration
export- Mass export in multiple formats (JSON, Android XML, iOS Strings, etc.)notify- Send team notifications via email/Slack
π§ Management
setup- Interactive environment configurationdemo- Complete system demonstration
π Project Structure
poeditor-mcp/
βββ π README.md # This file
βββ π requirements.txt # Python dependencies
βββ π .env.template # Environment template
βββ π setup.py # Automatic setup script
βββ π test_connection.py # Connection test utility
βββ π claude_desktop_config_example.json # Claude Desktop config example
βββ π vscode_settings_example.json # VS Code config example
βββ π CONFIG_README.md # Configuration guide
β
βββ π mcp_poeditor/ # Core MCP package
β βββ π __init__.py
β βββ π __main__.py # Entry point
β βββ π server.py # MCP server implementation
β βββ π poeditor_client.py # POEditor API client
β β
β βββ π tools/ # MCP tools
β β βββ π projects.py # Project management
β β βββ π languages.py # Language management
β β βββ π terms.py # Term management
β β βββ π translations.py # Translation management
β β βββ π stats.py # Statistics & analytics
β β
β βββ π utils/ # Utilities
β βββ π config.py # Configuration management
β βββ π helpers.py # Helper functions
β
βββ π scripts/ # ποΈ AUTOMATION SUITE
β βββ π README.md # Scripts documentation
β βββ π control_center.py # ποΈ Master control script
β βββ π daily_report.py # π Daily progress reports
β βββ π translation_monitor.py # π¨ Quality monitoring
β βββ π workflow_optimizer.py # π Workflow optimization
β βββ π project_sync.py # π Project synchronization
β βββ π notification_manager.py # π§ Team notifications
β βββ π translation_automator.py # π€ AI automation
β βββ π mass_exporter.py # π¦ Multi-format export
β βββ π scheduler.py # π Task scheduling
β βββ π demo_workflow.py # π― Complete demo
β
βββ π examples/ # Usage examples
β βββ π basic_usage.py # Basic MCP usage
β βββ π automation_examples.py # Automation examples
β βββ π integration_guide.md # Integration guide
β
βββ π docs/ # Documentation
βββ π INSTALLATION.md # Detailed installation
βββ π CONFIGURATION.md # Configuration guide
βββ π API_REFERENCE.md # API documentation
βββ π CONTRIBUTING.md # Contribution guidelinesπ§ Configuration
Environment Variables
Create a .env file in the root directory:
# POEditor API Configuration
POEDITOR_API_TOKEN=your_api_token_here
POEDITOR_API_URL=https://api.poeditor.com/v2/
# MCP Server Configuration
MCP_SERVER_NAME=poeditor-mcp
MCP_SERVER_VERSION=1.0.0
# Notification Settings (Optional)
SMTP_SERVER=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=your_email@company.com
SMTP_PASSWORD=your_app_password
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/...
# Automation Settings
DEFAULT_EXPORT_FORMAT=json
MAX_RETRIES=3
REQUEST_TIMEOUT=30
LOG_LEVEL=INFOScheduler Configuration
Customize automation schedules in scripts/scheduler_config.json:
{
"schedules": {
"daily_report": {
"time": "08:00",
"enabled": true,
"weekdays_only": true,
"description": "Generate daily progress report"
},
"monitoring": {
"time": "09:00",
"enabled": true,
"weekdays_only": true,
"description": "Run translation quality monitoring"
},
"weekly_optimization": {
"day": "monday",
"time": "08:30",
"enabled": true,
"description": "Weekly workflow optimization analysis"
}
}
}π Usage Examples
Basic Translation Management
from mcp_poeditor.server import call_tool
# List all projects
projects = await call_tool("list_projects", {})
# Get project languages
languages = await call_tool("list_languages", {"project_id": "123456"})
# Search for specific terms
results = await call_tool("search_terms", {
"project_id": "123456",
"search_query": "login"
})
# Export translations
export_url = await call_tool("export_translations", {
"project_id": "123456",
"language_code": "es",
"file_format": "json"
})Automation Workflow
# Morning routine
python control_center.py monitor # Check for issues
python control_center.py daily_report # Generate progress report
# Development workflow
python control_center.py automate # Get AI suggestions
python control_center.py export # Export for developers
# Weekly optimization
python control_center.py optimize # Analyze workflow efficiency
python control_center.py sync # Sync related projectsIntegration with CI/CD
# GitHub Actions example
name: Translation Export
on:
schedule:
- cron: '0 8 * * *' # Daily at 8 AM
jobs:
export:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Export translations
env:
POEDITOR_API_TOKEN: ${{ secrets.POEDITOR_API_TOKEN }}
run: python control_center.py exportπ Automated Workflows
Daily Automation
π Morning: Quality monitoring and progress reports
π Midday: AI-powered translation suggestions
π Evening: Export updates for development teams
Weekly Optimization
π Monday: Workflow analysis and optimization recommendations
π Wednesday: Project synchronization and consistency checks
π¦ Friday: Complete backup and multi-format export
Real-time Monitoring
π¨ Quality alerts: Fuzzy translations, consistency issues
π Progress tracking: Language completion milestones
π₯ Team notifications: Slack/email updates for important events
π― Supported Export Formats
Perfect for any development workflow:
π± Mobile: Android XML, iOS Strings, React Native JSON
π Web: JSON, CSV for React/Vue/Angular applications
π₯οΈ Backend: Gettext PO, Java Properties, YAML
π Analysis: Excel XLSX, CSV for progress tracking
π Integration: XLIFF, TMX for CAT tools
π Documentation
π Installation Guide - Detailed setup instructions
βοΈ Configuration Guide - Advanced configuration options
π§ API Reference - Complete API documentation
π Integration Guide - Platform integration examples
π€ Contributing - How to contribute to the project
π Troubleshooting
Common Issues
Connection Failed
# Test your POEditor API token
python test_connection.py
# Check configuration
python control_center.py statusMissing Dependencies
# Reinstall requirements
pip install -r requirements.txt
# Run system diagnostics
python control_center.py testPermission Errors
# Fix file permissions
chmod +x setup.py
chmod +x control_center.pyGetting Help
π Check logs:
./logs/directory contains detailed execution logsπ§ͺ Run diagnostics:
python control_center.py testπ System status:
python control_center.py statusπ Report issues: Create a GitHub issue with log details
π€ Contributing
We welcome contributions! Please see our Contributing Guide for details on:
π Reporting bugs
π‘ Suggesting features
π§ Submitting pull requests
π Improving documentation
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
Model Context Protocol for the excellent MCP framework
POEditor for their comprehensive translation management API
The open-source community for inspiration and best practices
β If this project helps you, please consider giving it a star!
π Start automating your translation workflow today!