wti-mcp
An MCP server for WebTranslateIt that lets an AI assistant read, translate, and manage a project's strings, glossary, and language files.
Read project info: source/target locales and master files with their ids (
wti_get_project).Check progress: per-locale done / to translate / to verify / to proofread counts and percentages, filterable by file, label, category, or recency (
wti_get_stats).Find strings: list or search by key (exact or regex), label, file, category, status, or creation date, optionally with translations (
wti_list_strings); fetch one string with all its translations (wti_get_string).Pull files: download a language file for a locale, returned or saved to disk (
wti_download_file).Push files: preview the diff against WebTranslateIt's copy, then upload with a confirm token; options for merge, minor changes, and ignoring missing strings (
wti_upload_file).Create and edit strings: add keys with source text, translations, comments, and labels (
wti_create_string); rename, relabel, comment, or change status (wti_update_string).Save translations: write a string's translation in one or more locales, with optional status and validation skip (
wti_set_translations).Manage locales: add a target locale (
wti_add_locale).Use the glossary: search terms with optional per-locale translations (
wti_search_glossary); create terms (wti_create_term), update terms (wti_update_term), and set term translations (wti_set_term_translation).Delete (only when
WTI_ALLOW_DELETE=true): strings, terms, and locales.Read-only mode: write tools are hidden with
WTI_READ_ONLY=trueor read-only tokens.
Click 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., "@wti-mcp Which keys are still untranslated in de-DE? Draft translations matching the glossary."
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.
wti-mcp
An MCP server for WebTranslateIt. It lets an
AI assistant look up keys and their translations, find what's left to translate, create and edit strings, save
translations, check progress, use the glossary, and push or pull language files — the things you'd otherwise do
with the wti CLI or the web UI.
It talks to the WebTranslateIt REST API the same way wti 3.x does: a Bearer token and
/api/projects/current (or /api/projects/<id> for organization tokens).
This is an independent project, not made or endorsed by WebTranslateIt.
What you can ask
"Which keys are still untranslated in de-DE? Draft translations for them, matching the glossary."
"Show me
booking_confirm_titlein every language.""Add the key
rebook_card_titlewith the text 'Book again', label itrelease-5.31, and translate it into French and Spanish.""How far along is each locale? Which ones are below 90% translated?"
"Find every key starting with
checkout_that has no developer comment."
Related MCP server: i18next MCP Server
Tools
Tool | What it does | Mode |
| Source/target locales and master files with their ids | read |
| Progress per locale: done, to translate, to verify, to proofread, % done and % translated | read |
| List or search strings by key (exact or regex), label, file, status, date; with translations | read |
| One string by key or id, with its translation in every locale | read |
| Download a language file for a locale (one-file | read |
| Search the term base, optionally with translations in a locale | read |
| Create a key with its source text, translations, comment and labels | write |
| Rename a key, change its comment, labels (add/remove) or status | write |
| Save a string's translation in one or more locales | write |
| Compare a local language file with WebTranslateIt's copy, then upload it (one-file | write |
| Add a target locale | write |
| Edit the glossary | write |
| Delete things | delete |
Write tools aren't registered in read-only mode. Delete tools are only registered with WTI_ALLOW_DELETE=true.
Setup
Requires Node.js 22 or newer.
git clone https://github.com/FireZenk/wti-mcp.git
cd wti-mcp
npm install # also builds dist/The server is then node /path/to/wti-mcp/dist/index.js.
Configuration
Variable | Meaning |
| API token ( |
| Same, under the name the |
| Path to a |
| Numeric project id. Needed for organization tokens only. |
|
|
|
|
| Defaults to |
Environment variables win over the .wti file.
Claude Code
Reusing the .wti of a project:
claude mcp add wti -e WTI_CONFIG_FILE=/path/to/your/app/.wti -- node /path/to/wti-mcp/dist/index.jsOr with a token:
claude mcp add wti -e WTI_API_TOKEN=wti_pw_… -- node /path/to/wti-mcp/dist/index.jsAdd -e WTI_READ_ONLY=true for a read-only setup. Each server instance works on one project: add one per project
(e.g. wti-android, wti-ios) if you have several.
Claude Desktop and other MCP clients
{
"mcpServers": {
"wti": {
"command": "node",
"args": ["/path/to/wti-mcp/dist/index.js"],
"env": { "WTI_CONFIG_FILE": "/path/to/your/app/.wti" }
}
}
}Things worth knowing
Locale codes are the project's own:
de-DE, notde, if that's how the project is set up. Tools check the code against the project and suggest the right one.Keys are unique per file.
wti_get_stringand friends accept a key and find its id; passfile_idwhen the same key exists in several files. The API's key filter matches prefixes, so the server picks the exact match.Writes are asynchronous. WebTranslateIt answers 202 Accepted and applies changes in the background; re-read after a few seconds before relying on them.
wti_upload_filechecks WebTranslateIt before uploading. Neitherwti pushnor the API looks at what changed on WebTranslateIt since your last pull. Called withoutconfirm, the tool uploads nothing: it downloads the current copy and lists the lines that are only there (someone else's changes, which the upload could overwrite) and the lines only in your file. The upload happens on a second call with theconfirmtoken from that preview. The token is tied to both files' content, so if either changes in between you get a new preview instead of an upload. The comparison ignores line order, indentation and blank lines; it works best on files that came from awti pull, since WebTranslateIt's export formatting may differ from a hand-written file.wti_upload_filekeeps missing strings by default (ignore_missing: true), unlike the API, so uploading a partial file can't mark the rest of the project obsolete. Passignore_missing: falseto sync deletions. Withmerge: false(the default) your file's text replaces WebTranslateIt's where they differ; withmerge: trueWebTranslateIt keeps its text and only adds what it doesn't have.Statuses. Translations:
status_unproofread,status_proofread,status_unverified. Strings:current,hidden,obsolete. In stats,doneonly counts proofread strings;percent_translatedalso counts the ones waiting for proofreading.Glossary translation statuses can only be set on creation. WebTranslateIt's API answers 500 to a status name on update and silently ignores a numeric one, so
wti_set_term_translationonly updates the text and description of an existing translation and says so. Statuses read back as numbers (1, 0, -1); the server shows them asapproved,proposed,refused.WebTranslateIt doesn't reject a translation that drops a placeholder (e.g.
%1$s) when saved through the API, so check placeholders yourself.Rate limits. The API allows 25 requests per second per IP. The client retries 429 responses (honouring
Retry-After) and, for GET requests only, timeouts and 502/504.The token only goes to the WebTranslateIt host. Pagination links pointing elsewhere are refused.
Development
npm test # unit and MCP-level tests against a fake WebTranslateIt
npm run typecheck
npm run inspect # open the server in the MCP Inspector (needs a token in the environment)The code: src/client.ts (HTTP client), src/config.ts (environment and .wti), src/format.ts (compact
responses for the model), src/tools/* (tool definitions), src/server.ts and src/index.ts (stdio entry
point). See CONTRIBUTING.md.
Security
The server runs locally and only talks to WebTranslateIt with the token you give it. Texts coming back from
WebTranslateIt (translations, comments, glossary entries) are written by people and reach the model as data;
keep write access for setups where you review what the assistant does, and use WTI_READ_ONLY=true otherwise.
To report a vulnerability, use GitHub's "Report a vulnerability" in the Security tab rather than a public issue.
License
Available Tools
14 toolswti_add_localeAdd a localeC
Add a target locale to the project.
Inputs: locale (required).
wti_create_stringCreate a stringA
Create a new string (key) in a master file, optionally with its source text and translations. Fails if the key already exists in that file. In projects with one master file, file_id can be omitted.
Inputs: key (required), labels, plural, file_id, +3 more.
wti_create_termAdd a glossary termB
Add a term to the glossary, optionally with its translations.
Inputs: text (required), description, translations.
wti_download_fileDownload a language fileBRead-only
Download a language file (e.g. strings.xml, en.json, Localizable.strings) for one locale, as WebTranslateIt would export it, like wti pull does for one file. Returns the content, or writes it to save_to.
Inputs: locale (required), file_id (required), save_to, max_chars.
wti_get_projectGet project infoARead-only
Project name, source and target locales, and master files with their file id per locale. Start here to get the file ids the other tools need.
Inputs: no named parameters.
wti_get_statsGet translation progressARead-only
Translation progress per locale: number of strings done, to translate, to verify and to proofread, and the percentage done. Filter by file, label or category id, or by how recently strings were added or changed.
Inputs: locale, file_id, label_id, added_since, +2 more.
wti_get_stringGet a string and its translationsARead-only
Show one string by key or id with its translations: text and status per locale, labels, developer comment and file.
Inputs: key, file_id, locales, string_id.
wti_list_stringsList or search stringsARead-only
List strings (segments) of the WebTranslateIt project, 250 per page. Filter by key (exact, or a regular expression with regex: true), label, file, status or creation date. Pass locale to include translations; with status to_translate / to_verify / to_proofread / done it finds the work left in that locale.
Inputs: key, page, label, regex, +7 more.
wti_search_glossarySearch the glossaryARead-only
Search the project's glossary (term base) for a word, case-insensitively in the term and its description, and optionally show how each match is translated in a locale. Use it to keep wording consistent.
Inputs: limit, query, locale.
wti_set_term_translationSet a glossary term translationADestructiveIdempotent
Create or update the translation of a glossary term in one locale. Updates the existing translation when the term has exactly one in that locale; pass translation_id when it has several. The status can only be set when the translation is created.
Inputs: text (required), locale (required), term_id (required), status, +2 more.
wti_set_translationsSet translations of a stringADestructiveIdempotent
Save the translation of one string in one or more locales (the source locale included). Each locale is saved separately and the result says which ones failed, e.g. on WebTranslateIt validation errors.
Inputs: translations (required), key, file_id, string_id, +2 more.
wti_update_stringUpdate a stringADestructiveIdempotent
Change a string's key, developer comment, labels or status (current / hidden / obsolete). Use add_labels / remove_labels to change labels without replacing them. Translations are changed with wti_set_translations.
Inputs: key, labels, plural, status, +6 more.
wti_update_termUpdate a glossary termCDestructiveIdempotent
Change a glossary term's text or description.
Inputs: term_id (required), text, description.
wti_upload_fileUpload a language fileADestructiveIdempotent
Upload a local language file to a file and locale on WebTranslateIt, like wti push does for one file. Called without confirm, it uploads nothing: it downloads WebTranslateIt's current copy and returns the lines that are only there (changes by other people that the upload could overwrite) and the lines that are only in your file. Show them to the user, then call again with the confirm token to upload. The import runs in the background. By default strings missing from the upload are kept (ignore_missing: true).
Inputs: locale (required), file_id (required), local_path (required), label, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
The set separates project, string, glossary, file, and stats operations clearly, and descriptions clarify boundaries such as update_string versus set_translations. Minor ambiguity remains between wti_set_translations (string translations) and wti_set_term_translation (glossary term translation), and between stats and filtered string listing, but an agent can distinguish them with the descriptions.
All tools use the wti_ prefix and a snake_case verb_noun pattern, such as get_project, list_strings, create_term, and upload_file. Variations like set_translations versus set_term_translation are domain-appropriate and still predictable.
14 tools is well within the appropriate range and maps cleanly to the translation-management domain. Each tool appears to cover a distinct resource or operation without obvious bloat.
Core workflows are covered: project discovery, string CRUD and translation, file download/upload, glossary search/create/update, and progress stats. There are minor gaps around delete/remove operations for strings, terms, or locales and no dedicated locale/term listing beyond get_project and search_glossary.
Related MCP Connectors
Localize apps from your AI assistant: translate locale files, set glossaries, connect GitHub repos.
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.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConnects AI tools to Verblaze localization projects, enabling management of translations, languages, screens, and project resources through natural language interactions.3 npmMIT
- AlicenseCqualityDmaintenanceEnables AI assistants to manage i18next translation files, including adding keys, syncing missing translations, and analyzing coverage.1413 npm12MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Crowdin translation projects with tools for listing projects, files, source strings, translations, and performing bulk search-and-replace operations.MIT

POEditor MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceEnables AI assistants to manage POEditor translation projects, including terms, translations, contributors, languages, and glossaries, with automatic translation, Figma round-trips, and exports to any supported format.1MIT