Polyglot
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., "@Polyglottranslate this legal document from French to English, formal tone"
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.
Polyglot - Model Contexts Protocol for Translation
Polyglot is an open-source implementation of the Model Contexts Protocol (MCP) focused on translation services. It provides a standardized way to handle translation requests across multiple languages using Claude Sonnet 3.5.
Supported Languages
Arabic (ar)
Chinese (zh)
English (en)
French (fr)
Russian (ru)
Spanish (es)
Related MCP server: Cloud Translation API MCP Server
Features
Standardized translation request format
Support for multiple domains (legal, medical, general)
Formality level control (formal/informal)
Claude Sonnet 3.5 integration
MCP protocol server (via FastMCP)
API key authentication
Installation
Using uv (Recommended)
# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install the package and its dependencies
uv pip install .
# For development, install with dev dependencies
uv pip install ".[dev]"Using pip
# Install the package and its dependencies
pip install .
# For development, install with dev dependencies
pip install ".[dev]"Configuration
Create a
.envfile in your project root:
ANTHROPIC_API_KEY=your_api_key_hereMake sure to keep your API key secure and never commit it to version control.
Running the MCP Server
To run the MCP server, use the following command:
uv run polyglot/server.pyThis will start the server on the configured port (default: 8001).
Testing the MCP Server
You can test the MCP server using a simple client script. For example, to test the health check resource, create a file named test_client.py with the following content:
import requests
response = requests.get("http://localhost:8001/health")
print(response.text)Run the test client with:
uv run test_client.pyYou should see the output: "Service is healthy".
Environment Variables
Make sure to set your Anthropic API key in a .env file in the project root:
ANTHROPIC_API_KEY=your_api_key_hereAdditional Notes
The server uses the Model Context Protocol (MCP) to expose tools and resources.
Ensure all dependencies are installed using
uvorpip.For more details, refer to the project documentation.
Protocol Specification
The translation request follows this JSON structure:
{
"version": "1.0",
"type": "translation_request",
"metadata": {
"source_language": "fr",
"target_language": "en",
"domain": "legal",
"formality": "formal",
"api_key": "your_api_key_here" // Required for authentication
},
"data": {
"text": "Le contrat a été signé hier à Genève."
}
}Development
To set up the development environment:
# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh
# Create and activate a virtual environment
uv venv
source .venv/bin/activate # On Unix/macOS
# or
.venv\Scripts\activate # On Windows
# Install development dependencies
uv pip install ".[dev]"License
MIT License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server providing machine translation capabilities via the Lara Translate API, featuring language detection and context-aware translations between numerous language pairs.Last updated221,04694MIT
- Flicense-qualityDmaintenanceAn MCP (Multi-Agent Conversation Protocol) Server that enables AI agents to interact with Google's Cloud Translation API for translating text between languages.Last updated
- Alicense-qualityCmaintenanceMCP server for managing i18n JSON translation files. Provides Claude with structured read/write access to translation files for adding keys, checking coverage, and finding duplicates.Last updated2051MIT
- Alicense-qualityAmaintenanceAI-powered translation MCP server with EU AI Act compliance, enabling automated translation workflows via the MCP protocol.Last updated31MIT
Related MCP Connectors
Translate MCP — wraps LibreTranslate API (https://libretranslate.com/)
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
MCP server for AI dialogue using various LLM models via AceDataCloud
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/namiraprita/polyglot-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server