Srt Translator
FreeNot checkedخادم MCP لترجمة ومعالجة ملفات الترجمة السينمائية SRT بدقة وسياق ذكي | An MCP server for context-aware movie & video SRT subtitle translation.
About
خادم MCP لترجمة ومعالجة ملفات الترجمة السينمائية SRT بدقة وسياق ذكي | An MCP server for context-aware movie & video SRT subtitle translation.
README
خادم MCP ذكي لترجمة ومعالجة ملفات الترجمة السينمائية (SRT) مع الحفاظ على التوقيت والسياق
🇸🇦 نظرة عامة (العربية)
SRT Translator MCP Hub هو خادم محلي متقدم مبني وفق معيار Model Context Protocol (MCP)، صُمم لتمكين نماذج الذكاء الاصطناعي من قراءة، تحليل، وترجمة ملفات الترجمة السينمائية بصيغة SRT بدقة متناهية، مع الحفاظ الصارم على أرقام المشاهد والفواصل الزمنية (Timecodes).
🎯 القيمة التقنية
تتطلب ترجمة الأفلام والمسلسلات فهماً سياقياً للمشاهد بدلاً من الترجمة الحرفية الجافة، إضافة إلى الحفاظ على بنية ملفات التوقيت دون أي تلف. يوفر هذا الخادم أدوات برمجية متكاملة لتقسيم النصوص الطويلة، فحص الترميز (Encoding)، ومعالجة الترجمة بأسلوب سينمائي احترافي.
🚀 المميزات التقنية
- معالجة دقيقة لملفات SRT: قراءة وتعديل الأسطر مع الحفاظ التام على تسلسل التوقيت (hh:mm:ss,ms).
- الحفاظ على السياق الدرامي: دعم التمرير الذكي للنصوص لتمكين النموذج من فهم سياق الحوار بين الشخصيات.
- دعم ترميز UTF-8: تفادي مشاكل الحروف العربية المعكوسة أو التالفة وضمان التوافق مع مشغلات الفيديو.
- إدارة الحزم والكتل (Batch Processing): إمكانية تجزئة الملفات الكبيرة لترجمتها على دفعات متناسقة دون استهلاك زائد للسياق.
🛠️ الأدوات المتاحة (Tools)
| الأداة | الوظيفة |
|---|---|
read_srt_file |
قراءة محتوى ملف الترجمة واستخراج النصوص مع التوقيت. |
save_srt_file |
حفظ ملف الترجمة المترجم بالتنسيق الصحيح مع ترميز UTF-8. |
validate_srt_timing |
فحص سلامة الفواصل الزمنية وخلو الملف من أخطاء التنسيق. |
⚙️ التثبيت والتشغيل
تثبيت المتطلبات:
pip install -r requirements.txtتشغيل السيرفر:
python translator_mcp_server.pyسيعمل السيرفر على المنفذ 8001.ضبط إعدادات العميل (MCP Client): منفذ الاتصال المحلي الافتراضي هو:
http://127.0.0.1:8001
🇬🇧 Overview (English)
SRT Translator MCP Hub is an advanced local server adhering to the Model Context Protocol (MCP) designed to give LLMs structured control over parsing, translating, and rebuilding cinema subtitle files (SRT).
🎯 Key Architectural Strengths
- Timecode Integrity: Strictly preserves frame timecodes, indices, and format boundaries during translation.
- Context-Aware Dialogue Translation: Structured block parsing ensures conversations maintain natural dramatic flow rather than literal translation.
- Universal Encoding: Native UTF-8 handling to prevent character corruption across video players.
- Chunk & Batch Management: Safely splits long movies into optimized subtitle blocks for LLM context processing.
🛠️ Exposed MCP Tools
| Tool | Purpose |
|---|---|
read_srt_file |
Parses and extracts blocks, lines, and timecodes from an SRT file. |
save_srt_file |
Writes translated dialogue back into valid SRT format with UTF-8 encoding. |
validate_srt_timing |
Verifies subtitle structure and validates sequential timestamp integrity. |
⚙️ Installation & Usage
Install dependencies:
pip install -r requirements.txtLaunch server:
python translator_mcp_server.pyListens by default on: http://127.0.0.1:8001Connect your MCP client to:
http://127.0.0.1:8001
📄 License
Open source under the MIT License.
Installing Srt Translator
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/mamq144/srt-translator-mcpFAQ
Is Srt Translator MCP free?
Yes, Srt Translator MCP is free — one-click install via Unyly at no cost.
Does Srt Translator need an API key?
No, Srt Translator runs without API keys or environment variables.
Is Srt Translator hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Srt Translator in Claude Desktop, Claude Code or Cursor?
Open Srt Translator on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
ARA
Generate images, video and audio from any AI agent — one connector.
by ARAOmni Video
An MCP server that transforms LLM-enabled IDEs into professional video editors by pre-processing footage into text proxies, generating motion graphics via HTML/
by buildwithtazaYouTube
Transcripts, channel stats, search
by YouTubeEverArt
AI image generation using various models.
by modelcontextprotocolgpu-bridge/mcp-server
Unified GPU inference API with 30 AI services (LLM, image gen, video, TTS, whisper, embeddings, reranking, OCR) as MCP tools. Pay-per-use via x402 USDC or API k
by gpu-bridgehamflx/imagen3-mcp
A powerful image generation tool using Google's Imagen 3.0 API through MCP. Generate high-quality images from text prompts with advanced photography, artistic,
by hamflxmerterbak/Grok-MCP
MCP server for xAI's [Grok API](https://docs.x.ai/docs/overview) with agentic tool calling, image generation, vision, and file support.
by merterbakSureScaleAI/openai-gpt-image-mcp
OpenAI GPT image generation/editing MCP server.
by SureScaleAIYangLiangwei/PersonalizationMCP
Comprehensive personal data aggregation MCP server with Steam, YouTube, Bilibili, Spotify, Reddit and other platforms integrations. Features OAuth2 authenticati
by YangLiangweiAceDataCloud/MCPFlux
Flux AI image generation and editing (Black Forest Labs) via Ace Data Cloud API.
by AceDataCloudCompare Srt Translator with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All media MCPs
