tolgee-mcp
An MCP server that wraps the Tolgee localization platform API, enabling LLMs to manage translation projects, keys, translations, languages, and related workflows.
Setup
Prerequisites
- Python 3.11+
- uv
- A Tolgee API key (from your Tolgee instance or Tolgee Cloud)
Installation
git clone https://github.com/ytarfa/tolgee-mcp.git
cd tolgee-mcp
uv sync
Configuration
Set the following environment variables:
| Variable | Required | Default | Description |
|---|---|---|---|
TOLGEE_API_KEY |
Yes | — | Your Tolgee API key |
TOLGEE_API_URL |
No | https://app.tolgee.io |
Base URL of your Tolgee instance |
Usage with Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"tolgee": {
"command": "uv",
"args": ["run", "--directory", "/path/to/tolgee-mcp", "tolgee-mcp"],
"env": {
"TOLGEE_API_KEY": "your-api-key"
}
}
}
}
Running directly
TOLGEE_API_KEY=your-api-key uv run tolgee-mcp
The server uses STDIO transport.
Tools
Projects
| Tool | Description |
|---|---|
list_projects |
List all projects accessible to the authenticated user |
get_project |
Get details of a specific project |
create_project |
Create a new project |
update_project |
Update a project's settings |
delete_project |
Delete a project (irreversible) |
Languages
| Tool | Description |
|---|---|
list_languages |
List all languages in a project |
create_language |
Add a new language to a project |
update_language |
Update a language's properties |
delete_language |
Delete a language and all its translations |
Keys
| Tool | Description |
|---|---|
list_keys |
List localization keys with pagination |
search_keys |
Search keys by name |
create_key |
Create a new key with optional translations and namespace |
update_key |
Update a key's name |
delete_keys |
Delete one or more keys |
import_keys |
Batch import keys with translations |
Translations
| Tool | Description |
|---|---|
get_translations |
Get translations with language and pagination filters |
set_translations |
Set translation values for an existing key |
create_or_update_translations |
Create a key if needed and set its translations |
set_translation_state |
Set the state of a translation (e.g. reviewed, translated) |
get_translation_history |
Get modification history of a translation |
Export / Import
| Tool | Description |
|---|---|
export_translations |
Export translations (JSON, XLIFF, etc.) |
import_translations |
Single-step import of translations |
Tags & Namespaces
| Tool | Description |
|---|---|
list_tags |
List all tags in a project |
tag_key |
Add a tag to a key |
remove_tag_from_key |
Remove a tag from a key |
list_namespaces |
List all used namespaces |
update_namespace |
Rename a namespace |
Project Structure
src/tolgee_mcp/
__init__.py
__main__.py # Entry point
server.py # FastMCP instance and tool registration
client.py # Async HTTP client for the Tolgee API
tools/
projects.py # Project management tools
languages.py # Language management tools
keys.py # Key management tools
translations.py # Translation tools
export_import.py # Export and import tools
tags.py # Tag and namespace tools
License
MIT
Metadata
Release files for tolgee-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tolgee_mcp-0.1.0.tar.gz | 48.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tolgee_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.7 kB
Release files / tolgee_mcp-0.1.0.tar.gz
| Download URL | tolgee_mcp-0.1.0.tar.gz |
|---|---|
| Size | 48.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4917f22a8408f8f6a2ab17f72200464e8c8244c2d9d8ab02d4a6895ed4bc6f7c
|
|
BLAKE2b-256 checksum How to use checksums |
081ef125fb44eaf82305b7f1a689fa2d3db06b1bb909e3a43adbadf25b29b453
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / tolgee_mcp-0.1.0-py3-none-any.whl
| Download URL | tolgee_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ab689c9a2c880004063cb652959148a0aa23634899d4f068c1e0069cc4d30ac
|
|
BLAKE2b-256 checksum How to use checksums |
825939962c1bc916d6547cef555695aba41171fa39892965ee7b92b0e6d3c47d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for tolgee-mcp 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.