ポリグロット - 翻訳のためのモデルコンテキストプロトコル
Polyglotは、翻訳サービスに特化したModel Contexts Protocol(MCP)のオープンソース実装です。Claude Sonnet 3.5を用いて、複数言語間の翻訳リクエストを処理するための標準化された方法を提供します。
サポートされている言語
- アラビア語(ar)
- 中国語(zh)
- 英語 (en)
- フランス語(fr)
- ロシア語(ru)
- スペイン語(es)
特徴
- 標準化された翻訳依頼フォーマット
- 複数のドメイン(法律、医療、一般)のサポート
- 形式レベルの制御(形式的/非形式的)
- Claude Sonnet 3.5 の統合
- MCP プロトコル サーバー (FastMCP 経由)
- APIキー認証
インストール
uvの使用(推奨)
pipの使用
構成
- プロジェクト ルートに
.env
ファイルを作成します。
- API キーは必ず安全に保管し、バージョン管理にコミットしないでください。
MCPサーバーの実行
Polyglot MCP サーバーはFastMCPを使用して、MCP プロトコル (SSE トランスポート) 経由で翻訳ツールとリソースを公開します。
サーバーを起動するには:
デフォルトでは、サーバーは SSE トランスポートを使用してポート 8001 で実行されます。
MCPサーバーのテスト
MCP Inspector の使用 (推奨)
- MCP Inspector をインストールします。
- Inspector UI を開きます (ターミナルにローカル アドレスが表示されます)。
- Inspector UI で以下を設定します。
- 輸送タイプ: SSE
- URL:
http://localhost:8001/sse
- (オプション) 必要に応じてインスペクターのプロキシアドレスを設定する
- Inspector UI を介して翻訳ツールおよびリソースを操作できるようになりました。
Python MCPクライアントの使用
MCP Python SDK を使用してプログラムでサーバーと対話することもできます。
プロトコル仕様
翻訳リクエストは次の JSON 構造に従います。
発達
開発環境をセットアップするには:
ライセンス
MITライセンス
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Claude Sonnet 3.5 を使用して、さまざまなドメインと形式レベルをサポートし、6 つの言語 (アラビア語、中国語、英語、フランス語、ロシア語、スペイン語) にわたる標準化された翻訳サービスを提供する MCP サーバーです。
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -773678TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -751413TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server providing machine translation capabilities via the Lara Translate API, featuring language detection and context-aware translations between numerous language pairs.Last updated -14,87965TypeScriptMIT License
- -securityFlicense-qualityA ModelContextProtocol server providing high-quality translation services with a three-stage translation workflow (analysis, segmented translation, full-text review) that supports multiple languages and integrates with Claude and OpenAI-compatible models.Last updated -19TypeScript