transglot MCP server
OfficialClick on "Deploy 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., "@transglot MCP server Translate the missing Spanish strings and pull the file"
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.
transglot MCP server
A Model Context Protocol (MCP) server for transglot, AI translation management for software teams. It gives AI coding agents and assistants typed tools to read and write translations, pull and push localization files in 20 formats, start AI translation batches, run translation QA and manage the glossary, all over the transglot public REST API.
Use it to let an agent localize the feature it just built: add the strings, push the source file, translate the missing locales, check QA and pull the results back into the repository.
Stdio server on npm:
npx -y @transglot/mcp, authenticated with a project access token.Hosted remote server at
https://api.transglot.ai/mcp(Streamable HTTP with OAuth), for clients that support remote MCP servers. No token to paste.17 tools covering translations, languages, batches, QA, glossary and file import/export.
Links: Website · MCP docs · npm · CLI · GitHub Action
This repository is a read-only mirror of the source published to npm, synced on every release. Report issues at transglot.ai/contact.
Requirements
A project access token (tgl_…). Create one in the transglot web UI: in the project, open
Settings, choose the Project tab, then API keys. Minting a token needs the Starter plan or above.
Node.js 20 or later.
One server instance serves one project: the token is project-scoped, and the abilities on the
token (read, write, pull, push, manage) gate which tools succeed.
Related MCP server: Smartling MCP Server
Setup
Most MCP clients read an mcpServers block like this one. In Cursor it goes in
.cursor/mcp.json; other clients use their own MCP settings file.
{
"mcpServers": {
"transglot": {
"command": "npx",
"args": ["-y", "@transglot/mcp"],
"env": { "TRANSGLOT_TOKEN": "tgl_xxx" }
}
}
}Hosted server (OAuth, no token)
Add https://api.transglot.ai/mcp as a remote MCP server in your client and sign in with your
transglot login. You choose the workspaces the connection reaches and its abilities. One
connection reaches every project where you are the account Owner, an Admin or a Developer. The
tools are the same, plus list_projects; every other tool takes an optional project id. It
needs a workspace plan with API access (Starter and above). Full guide:
transglot.ai/docs/mcp.
Environment
Variable | Required | Meaning |
| yes | Project access token (Bearer). Never logged; redacted from every error message. |
| no | Server base URL for self-hosted installs. Defaults to |
Tools
Read tools are free and side-effect-less; mutating tools state their effects in their descriptions so the agent (and you, via your client's approval flow) can decide. Tools marked AI spend consume the organization's AI word quota.
Tool | Effect |
| Read project identity, configured locales, key count. |
| Read the locale inventory. |
| Add a target language; unless |
| Read one key in one locale: value, workflow state, staleness, QA verdict. |
| Create/overwrite one value (or plural forms) as a human edit. A source-locale edit may auto-queue an AI batch (AI spend). |
| Queue an AI batch filling missing target values; never overwrites human edits (AI spend). |
| Poll a batch by id, optionally with its failed items. |
| List recent batches; |
| Re-queue a finished batch's failed items (AI spend). |
| Stop a running batch; unspent reserved words return to the allowance. |
| Run the agentic QA pass; findings land on each row (AI spend, plan-gated). |
| List glossary terms, keyset-paginated via |
| Add an active term (do-not-translate / forbidden / required translations). |
| Full-replace a term by id. |
| Permanently delete a term by id. |
| Export one locale as a file (20 formats, optional |
| Import file content; |
Formats for pull_file/push_file (the upload filename defaults to <locale>.<ext>):
Format | Extension | Format | Extension | |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
| |||
|
| |||
|
| |||
|
|
unity_csv and unreal_po are the game engine formats (Unity string tables and
Unreal .po catalogs).
Behavior
Transport: stdio for this package (
npx @transglot/mcp), with a project token; stdout is reserved for the protocol, diagnostics go to stderr, andnpx @transglot/mcp --helpprints usage. Streamable HTTP for the hosted connector athttps://api.transglot.ai/mcp, with OAuth.Errors: RFC 7807 problems from the API surface as in-band tool errors,
slug (HTTP status): detailplus a what-to-do-next hint (e.g. quota exceeded reports used/limit and says to raise the word limit).Rate limits: the API allows 60 requests/minute per token; transient 429s are retried automatically (honoring
Retry-After, capped, max 2 retries) before an error is surfaced. The hosted connector gets 60/minute in each project and retries once, only whenRetry-Afteris 10 s or less.Security: the token is sent only as the
Authorizationheader and is redacted from any error text, even if a server echoes it back.
Not covered
The public API has no endpoints for listing/searching keys, creating/deleting individual keys (keys are managed by pushing source files), or removing languages (done in the web UI), so there are no tools for those. Adding a language is covered by add_language. The API's webhook endpoints have no tools here; manage webhooks in the web UI or through the REST API.
Development
npm ci
npm run typecheck
npm test # vitest; builds dist/ once for the stdio ring
npm run buildAvailable Tools
17 toolsadd_languageAdd a languageA
Add a target language to the project. Pass a BCP 47 tag ("de", "pt-BR", "zh-Hans"); the result carries the CANONICAL code (e.g. "pt_BR"), which is the one to use in every later call. Unless translate_now is false, it also starts an AI translation run of the existing strings into the new language, which SPENDS the organization AI word quota; the run happens only when the project translates on its own (auto_translate), whatever translate_now says, and otherwise batch_id and backfill_skipped_reason are both null. Poll get_batch_status with batch_id. A refused run does not refuse the add: the language is still added, batch_id is null and backfill_skipped_reason says why (quota_exceeded, translation_paused, nothing_to_translate). Fails with locale-rejected for an unknown code or a language the project already has, and plan-limit when the account plan has no room for another language. Each new language takes one of the language slots on the account plan (unless another project of the account already uses it), and it cannot be removed through the API, only in the transglot web UI, so do not add languages to experiment. Workspace admins are notified. Requires the "manage" ability.
Inputs: locale (required), translate_now. Returns: batch_id, language, backfill_skipped_reason
cancel_batchCancel a running batchAIdempotent
Stop a pending or processing AI translation batch. Queued chunks refuse to run, so this is how you STOP spend rather than cause it, and the batch's unspent reserved words go back to the cycle allowance (words already spent on the items it completed stay spent). Already-translated items are kept; the remaining items are marked failed, so retry_failed_batch resumes what was stopped. Idempotent: a batch that already finished comes back unchanged with its own status, never an error. Requires the "manage" ability.
Inputs: batch_id (required). Returns: id, total, failed, status, +6 more
get_batch_statusGet batch statusARead-only
Read one AI translation batch by id: status (pending / processing / completed / completed_with_errors / failed / cancelled), progress counters (total, completed, failed) and the per-language breakdown. Set include_failures to also list up to 100 failed items as {key, locale, error}. Free read. Poll this after translate_missing, retry_failed_batch, or a push that queued a batch. Be mindful of the 60 requests/minute limit when polling.
Inputs: batch_id (required), include_failures. Returns: id, total, failed, status, +6 more
get_projectGet projectARead-only
Read the current project: id, name, slug, source locale, every configured locale (with RTL flag and which one is the source), the total key count, and the message syntax and icu dialect. Free read with no side effects. Call it first to learn which locales exist before reading or writing translations.
Inputs: no named parameters. Returns: id, name, slug, locales, +4 more
get_translationGet translationARead-only
Read one translation key in one locale. Free read. Returns the full row: key metadata (name, description, is_plural, max_length) plus the source-locale cell and the requested locale's cell with its content or plural_forms, workflow state (ai_translated / human_edited / reviewed / null when missing), staleness flag, and the persisted QA verdict (needs_review, qa_score, qa_findings). Requires the "read" ability.
Inputs: key (required), locale (required). Returns: row
glossary_add_termAdd glossary termA
Create a new glossary term with status "active". It immediately steers future AI translation and QA for this project. Set do_not_translate for terms that must stay verbatim (brand names), forbidden for terms QA must flag, or provide required per-locale translations. Plan-gated feature; requires the "manage" ability. Returns the created term (with its id).
Inputs: source_term (required), notes, forbidden, translations, +3 more. Returns: id, notes, status, forbidden, +10 more
glossary_delete_termDelete glossary termADestructiveIdempotent
Permanently delete a glossary term by id. This cannot be undone; future AI translation and QA stop enforcing the term. Plan-gated feature; requires the "manage" ability.
Inputs: term_id (required). Returns: deleted, term_id
glossary_list_termsList glossary termsARead-only
List the project's glossary terms (plan-gated feature). Returns up to 100 terms per page with keyset pagination: pass the returned next_cursor to fetch the next page; next_cursor is null on the last page. Filter by status: "active" (default, enforced in AI translation and QA), "pending" (AI-extracted candidates awaiting review), or "rejected". Free read; requires the "read" ability.
Inputs: cursor, status. Returns: terms, next_cursor
glossary_update_termUpdate glossary termADestructiveIdempotent
REPLACE a glossary term by id. This is a full replace, not a patch: send every field that should be kept; source_term is required and any omitted optional field resets to its default (false / empty). Read the term first via glossary_list_terms. Plan-gated feature; requires the "manage" ability. Returns the updated term.
Inputs: term_id (required), source_term (required), notes, forbidden, +4 more. Returns: id, notes, status, forbidden, +10 more
list_batchesList batchesARead-only
List the project's AI translation batches, most recent first (at most 50). Set active_only to return only running batches (status pending or processing), useful to find the batch that is blocking a new translate_missing call, or the auto-batch queued by a source-locale edit. Free read.
Inputs: active_only. Returns: batches
list_languagesList languagesARead-only
List the locales configured on the project (code, display name, RTL flag, is_source) plus the source locale. Free read with no side effects. Use add_language to add one; removing a language is done in the transglot web UI.
Inputs: no named parameters. Returns: languages, source_locale
pull_filePull (export) a translation fileARead-only
Export one locale's translations as a localization file and return its content as text. Free read. Formats: json_flat, json_nested, android_xml, ios_strings, ios_stringsdict, flutter_arb, laravel_php, laravel_json, xliff_12, ios_xcstrings, gettext_po, yaml, csv, xlsx, xliff_20, java_properties, resx, markdown, unity_csv, unreal_po. Optional min_state exports only values that are human_edited-or-better, or reviewed only. skipped_keys counts entries the chosen format cannot represent (e.g. plural keys in json_flat, simple keys in ios_stringsdict). On a project set to icu message syntax the server also withholds entries whose translation is not valid ICU MessageFormat, and reports how many in omitted_invalid_icu_keys, which is absent when the server did not check. Requires the "pull" ability.
Inputs: format (required), locale (required), min_state. Returns: content, filename, skipped_keys, omitted_invalid_icu_keys
push_filePush (import) a translation fileADestructive
Import a localization file into one locale; pass the file content as a string (max 10 MB before JSON escaping, which can enlarge it, so a file with many non-ASCII characters may be refused below 10 MB). Formats: json_flat, json_nested, android_xml, ios_strings, ios_stringsdict, flutter_arb, laravel_php, laravel_json, xliff_12, ios_xcstrings, gettext_po, yaml, csv, xlsx, xliff_20, java_properties, resx, markdown, unity_csv, unreal_po. Pushing the SOURCE locale creates new keys and updates source values; pushing a target locale writes translations for existing keys (unknown keys are reported, never created). Values are written as human edits, but the server keeps existing human edits over pushed values and reports them as conflicts. Mode "sync_removals" (source locale only) additionally DELETES every project key missing from the file. This is destructive; the default "merge" never deletes. When the project has auto-translate on, a push may queue an AI batch (returned in batch, quota permitting; see quota_exceeded, and translation_paused for any other stop on AI spend). Optional metadata (source locale only, and not for formats that carry descriptions in the file) is a JSON sidecar of key descriptions and length ceilings keyed by key name, e.g. {"cart.title": {"description": "Cart page heading", "max_length": 40}}; null clears a field, an absent field is left alone. The result then carries a metadata block, and a warning if the server ignored the sidecar. Requires the "push" ability.
Inputs: format (required), locale (required), content (required), mode, +2 more. Returns: batch, metadata, warnings, conflicts, +7 more
retry_failed_batchRetry failed batch itemsADestructive
Re-queue the FAILED items of a finished batch as a new AI translation batch. SPENDS AI word quota and conflicts with a running batch (active-batch, HTTP 409). Returns the new batch; poll get_batch_status with its id. Requires the "manage" ability.
Inputs: batch_id (required). Returns: id, total, failed, status, +6 more
run_qaRun AI QA passADestructive
Run the agentic QA pass over the project's target translations (plan-gated: requires a plan with quality mode). Scopes: "missing" = rows never QA'd, "stale" = rows whose source changed since their last QA, "all" = every row, "selected" = only the given key_ids (a no-op without key_ids); optionally restrict locales. Incremental: rows already QA'd against the current source are skipped. SPENDS AI word quota. Returns {dispatched_jobs, rows}; findings are persisted per row and appear in get_translation as needs_review / qa_score / qa_findings once the background jobs finish. Requires the "manage" ability.
Inputs: scope (required), key_ids, locales. Returns: rows, dispatched_jobs
translate_missingTranslate missing values with AIADestructive
Start an AI translation batch that fills every MISSING target value and re-translates every STALE machine translation (one whose source text changed since), optionally restricted to given locales and/or numeric key_ids. A stale machine translation is replaced; human-edited and reviewed translations are never overwritten, stale or not. SPENDS the organization AI word quota (fails with quota-exceeded when exhausted) and conflicts with a running batch (active-batch, HTTP 409; the running batch id is in the error). Returns the queued batch immediately; poll get_batch_status with its id until the status is terminal (completed, completed_with_errors, failed, or cancelled). Requires the "manage" ability.
Inputs: key_ids, locales. Returns: id, total, failed, status, +6 more
upsert_translationUpsert translationADestructiveIdempotent
Create or OVERWRITE the value of one existing key in one locale (it cannot create new keys; use push_file on the source locale for that). Pass value for a simple key, or plural_forms (CLDR category map, e.g. {"one": "...", "other": "..."}) for a plural key. Send exactly one of the two. A JSON project has no plural FORMS: an ICU plural or select there is ONE string, so send it as value with its selectors and argument names verbatim (e.g. {count, plural, one {# item} other {# items}}). plural_forms is for a key the project stores as separate forms (is_plural true, as gettext or Android do); splitting an ICU message into it writes a row the format cannot represent. The write is recorded as a human edit (state human_edited) and versioned server-side, so it wins over future AI batches. Overwriting the SOURCE locale marks targets stale and, if the project has auto-translate on, queues a background AI batch (spends AI word quota; its id is not returned, so check list_batches). Optional reviewer attributes the edit. Returns the fresh row. Requires the "write" ability.
Inputs: key (required), locale (required), value, reviewer, +1 more. Returns: row
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Most tools have clearly distinct resource+action targets: language management, translation reads/writes, batch lifecycle, QA, glossary CRUD, and file import/export are all well separated. The one notable overlap is list_languages versus get_project, since get_project already returns every configured locale and its description even tells agents to call it first to learn which locales exist, making the standalone language lister somewhat redundant.
The dominant convention is verb_noun (list_languages, get_project, add_language, get_translation, upsert_translation, cancel_batch, run_qa, pull_file, push_file), which is clear and readable. The glossary tools break the pattern by putting the noun first (glossary_list_terms, glossary_add_term, glossary_update_term, glossary_delete_term) instead of list_glossary_terms etc., a minor but systematic deviation.
At 17 tools the surface is on the heavier side, but the domain is genuinely broad: locales, translations, AI batches, QA, glossary, and file import/export each justify dedicated operations. No tool appears redundant or purely decorative, so the count is reasonable for a full localization platform.
Coverage is strong: glossary has full CRUD, batches have create/status/list/retry/cancel, translations have read and upsert, and files have both pull and push. Gaps exist but are documented—languages cannot be removed via the API and translation keys cannot be deleted except through destructive sync_removals push, and key creation only happens indirectly via push_file on the source locale.
Related MCP Connectors
AI-native translation management: push translation files, translate, review and audit strings.
Localize apps from your AI agent: create projects, add languages, import files, add strings, export.
Localize your app from your AI agent: add strings, auto-translate, and route them to human review.
Read Localazy projects, files, keys and glossary; submit translations, import keys, AI suggestions.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive translation management through POEditor's API with project, language, term, and translation operations. Includes automation scripts for reporting, monitoring, AI-powered suggestions, and multi-format exports.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables translation management through Smartling's API, supporting project and file operations, job management, quality assurance, glossaries, and translation workflow automation for multilingual content.MIT
- AlicenseNot gradedqualityDmaintenanceAI-powered translation management built for AI agents. Automate localization with regional sensitivity and zero TMS overhead. Works with Claude Code, Cursor, VS Code via MCP protocol. Supports JSON, YAML, Markdown, PO and more.MIT
- AlicenseNot gradedqualityBmaintenanceLets a coding agent find, translate, validate and review an app's existing localization files (Android strings.xml, Apple String Catalogs, gettext) directly in the repo, supplying code usage, comments, glossary and voice notes as context. Placeholders, plural forms, escaping and markup are checked in code before any translation is written, and results land as reviewable drafts that never overwrite hand edits or approved work.1MIT