mcp
v0.7.2Syntholoc MCP server — manage AI localization and translation from Codex, Claude Code, and other MCP clients.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_ota_distributions otaDistributions
otaDistributions for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
skip | integer | |
take | integer |
get_ota_distribution otaDistribution
otaDistribution for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
projectId * | string |
list_ota_releases otaReleases
otaReleases for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
projectId * | string | |
skip | integer | |
take | integer |
get_ota_release otaRelease
otaRelease for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
projectId * | string | |
releaseId * | string |
list_ota_channels otaChannels
otaChannels for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
projectId * | string |
get_ota_channel_history otaChannelHistory
otaChannelHistory for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
channelId * | string | |
distributionId * | string | |
projectId * | string | |
skip | integer | |
take | integer |
get_ota_release_diff otaReleaseDiff
otaReleaseDiff for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
from * | string | |
projectId * | string | |
to * | string |
list_ota_delivery_keys otaDeliveryKeys
otaDeliveryKeys for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
projectId * | string | |
skip | integer | |
take | integer |
get_ota_usage otaUsage
otaUsage for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
projectId * | string |
create_ota_distribution createOtaDistribution
createOtaDistribution for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
input * | object | |
projectId * | string |
update_ota_distribution updateOtaDistribution
updateOtaDistribution for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
config * | object | |
distributionId * | string | |
expectedConfigVersion * | integer | |
name * | string | |
projectId * | string |
disable_ota_distribution disableOtaDistribution
disableOtaDistribution for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
projectId * | string |
enable_ota_distribution enableOtaDistribution
enableOtaDistribution for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
projectId * | string |
retire_ota_distribution retireOtaDistribution
retireOtaDistribution for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
projectId * | string |
build_ota_release buildOtaRelease
Build a frozen translation release without publishing it. Idempotency key is required. Poll the returned jobId with wait_for_job.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
idempotencyKey * | string | |
projectId * | string |
cancel_ota_release cancelOtaRelease
cancelOtaRelease for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
projectId * | string | |
releaseId * | string |
promote_ota_release promoteOtaRelease
Publish the specified READY release to a channel, including production. Requires the currently observed generation.
| Parameter | Type | Description |
|---|---|---|
channel * | string | |
distributionId * | string | |
expectedGeneration * | integer | |
projectId * | string | |
releaseId * | string | |
reason | string |
rollback_ota_channel rollbackOtaChannel
Roll a channel back to a previously published release. Requires a reason and the observed generation.
| Parameter | Type | Description |
|---|---|---|
channel * | string | |
distributionId * | string | |
expectedGeneration * | integer | |
projectId * | string | |
reason * | string | |
releaseId * | string |
create_ota_channel createOtaChannel
createOtaChannel for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
name * | string | |
projectId * | string |
delete_ota_channel deleteOtaChannel
deleteOtaChannel for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
channelId * | string | |
distributionId * | string | |
projectId * | string |
create_ota_delivery_key createOtaDeliveryKey
Create a scoped read-only delivery credential. Returns the plaintext secret once; never use it as a management API key.
| Parameter | Type | Description |
|---|---|---|
allowedChannelIds * | array | |
distributionId * | string | |
name * | string | |
projectId * | string | |
expiresAt | string |
revoke_ota_delivery_key revokeOtaDeliveryKey
revokeOtaDeliveryKey for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
keyId * | string | |
projectId * | string |
pin_ota_release pinOtaRelease
pinOtaRelease for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
pinned * | boolean | |
projectId * | string | |
releaseId * | string |
delete_ota_release deleteOtaRelease
deleteOtaRelease for the specified project and distribution.
| Parameter | Type | Description |
|---|---|---|
distributionId * | string | |
projectId * | string | |
releaseId * | string |
preview_ota_asset Preview OTA asset
Read a READY asset through management authentication before publication. Requires translator access.
| Parameter | Type | Description |
|---|---|---|
assetId * | string | |
distributionId * | string | |
projectId * | string | |
releaseId * | string |
get_config Get Syntholoc config
Server metadata incl. `maxBulkSize` — the max keys per LLM batch. Use it as the auto-translate threshold: translate proactively only when pending untranslated keys reach this number; otherwise ask the user (an explicit translate request always runs).
list_organizations List organizations
Organizations you belong to (id, name, slug, your role). To act in a specific org, set the `syntholoc-org-id` request header (hosted transport); otherwise the earliest org is used.
list_projects List projects
Lists localization projects in the active organization (paginated).
| Parameter | Type | Description |
|---|---|---|
skip | integer | |
take | integer |
get_project Get project
Project settings plus analytics, including per-locale progress with the `untranslated` count used to decide the batch threshold (see get_config).
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
create_project Create project
Creates a localization project. `sourceLocale` defaults to "en".
| Parameter | Type | Description |
|---|---|---|
name * | string | |
context | string | |
description | string | |
qaCriticEnabled | boolean | |
requireReview | boolean | |
sourceLocale | string | |
typographyEnabled | boolean | null | Apply language-specific typography to source text and translations on save. |
update_project Update project
Updates project settings (name, source locale, review/QA flags, context).
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
context | string | |
description | string | |
exportApprovedOnly | boolean | |
name | string | |
qaCriticEnabled | boolean | |
requireReview | boolean | |
sortKeysAlphabetically | boolean | |
sourceLocale | string | |
status | string | |
typographyEnabled | boolean | null | Apply language-specific typography to source text and translations on save. |
list_locales List locales
Lists the target locales configured for a project.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
add_locale Add locale
Adds ONE target locale to a project. To add several at once, prefer seed_starter_locales (one call for the whole list). Codes are validated: aliases/casing are normalized (e.g. "cn" → "zh-CN"), and ambiguous macro-languages (e.g. "pt", "zh") are rejected with the concrete variants to choose from (pt-BR / pt-PT, zh-CN / zh-TW).
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
code | string | BCP-47 code, e.g. "de-DE" or "ru". Alias: `locale`. |
formality | string | |
gender | string | |
locale | string | Alias for `code`. |
name | string | |
variant | string |
seed_starter_locales Seed starter locales
Adds MULTIPLE target locales in one call — pass `codes` (BCP-47, e.g. ["ru","de-DE","fr"]), or omit for a common starter set. Prefer this over repeated add_locale calls. Codes are validated as a batch: if any are ambiguous (e.g. "pt", "zh") or invalid, NONE are added and the response lists what to fix; aliases like "cn" are normalized to "zh-CN".
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
codes | array | BCP-47 codes to add, e.g. ["ru","de-DE","fr"]. |
remove_locale Remove locale
Removes a target locale and its translations. Destructive — confirm first.
| Parameter | Type | Description |
|---|---|---|
localeId * | string | |
projectId * | string |
list_keys List keys
Lists source keys. With `localeId` + `status` (untranslated | flagged | approved) the result `totalCount` is the pending count for that status — use it for the batch threshold.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
localeId | string | |
search | string | |
skip | integer | |
status | string | |
take | integer |
upsert_keys Upsert keys (bulk)
Bulk-upserts source keys by name (delta sync from local i18n files). Keys not listed are left untouched. Returns added/updated/unchanged counts; set `dryRun` to preview.
| Parameter | Type | Description |
|---|---|---|
keys * | array | |
projectId * | string | |
dryRun | boolean |
update_key Update key
Updates a single key (source text, context, max length).
| Parameter | Type | Description |
|---|---|---|
keyId * | string | |
projectId * | string | |
context | string | |
maxLength | integer | |
sourceText | string |
delete_key Delete key
Deletes a key and its translations. Destructive — confirm first.
| Parameter | Type | Description |
|---|---|---|
keyId * | string | |
projectId * | string |
import_source_strings Import source strings
Imports source strings from ONE file (paste the raw content) and returns the diff summary. For initial setup of a repo-hosted project, PREFER connecting the repo and running `sync_repository` — it imports every source file server-side in one pass; use this tool only for file-based projects with no Git integration, or for one-off single-file imports. For a multi-file / namespaced project (a file per namespace, e.g. messages/en/home.json), pass `keyPrefix` (the namespace, e.g. "home") so keys become `home.title` and files with overlapping top-level keys do not collide — call once per file. U…
| Parameter | Type | Description |
|---|---|---|
content * | string | |
format * | string | |
projectId * | string | |
dryRun | boolean | |
keyPrefix | string | Namespace prefix, e.g. "home" (per-file, multi-file projects). |
sourceFile | string | Real source file path, e.g. "messages/en/home.json" — stored for the file tree + reliable export. |
translate_locale Translate locale
Queues AI translation of a locale (scope ALL | UNAPPROVED | UNTRANSLATED) and returns the tracking `jobIds`. Executes immediately and unconditionally — the batch threshold is a client-side policy for PROACTIVE syncs, not for this tool.
| Parameter | Type | Description |
|---|---|---|
localeId * | string | |
projectId * | string | |
scope | string |
translate_key Translate key
Queues AI translation of a single key into a locale. Returns tracking `jobIds`.
| Parameter | Type | Description |
|---|---|---|
keyId * | string | |
localeId * | string | |
projectId * | string |
set_translation Set translation
Manually sets the translation text for a key in a locale.
| Parameter | Type | Description |
|---|---|---|
keyId * | string | |
localeId * | string | |
projectId * | string | |
text * | string | |
origin | string |
list_translations List translations
Lists translations for a locale with status, origin, model and QA score.
| Parameter | Type | Description |
|---|---|---|
localeId * | string | |
projectId * | string | |
skip | integer | |
take | integer |
approve_translation Approve translation
Marks a translation APPROVED.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
translationId * | string |
reject_translation Reject translation
Marks a translation REJECTED (queued for re-translation).
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
translationId * | string |
export_locale Export locale
Exports a locale to a file string in the chosen format — the basis for writing translations back into local files. Set `onlyApproved` to exclude drafts. For a multi-file project prefer `sourceFile` (the real path, e.g. "messages/en/home.json") to export exactly that file with file-local key names — reliable. `keyPrefix` is the legacy name-prefix heuristic. For MARKDOWN and MDX use `export_document` instead: a document is spliced into its original file, which the server reads from the connected repository.
| Parameter | Type | Description |
|---|---|---|
localeId * | string | |
projectId * | string | |
format | string | |
keyPrefix | string | Legacy namespace prefix, e.g. "home". |
onlyApproved | boolean | |
sourceFile | string | Real source file path to export, e.g. "messages/en/home.json" (reliable, preferred). |
export_document Export document locale
Exports one locale of a Markdown or MDX source document. Unlike `export_locale` this returns the whole translated document: the server reads the original file from the connected repository and splices the translations into it, so headings, list markers, code fences and indentation are preserved byte for byte. Segments with no translation keep their source text.
| Parameter | Type | Description |
|---|---|---|
localeId * | string | |
projectId * | string | |
sourceFile * | string | Path of the source document in the repository, e.g. "docs/guide.md". |
onlyApproved | boolean | |
repositoryId | string | Only needed when the project has several repositories and the path is ambiguous. |
import_translations Import translations
Imports ready-made translations for a locale (paste file content). `autoApprove` lands them as APPROVED; `conflict` is OVERWRITE | SKIP_EXISTING | KEEP_APPROVED; `dryRun` previews. For a multi-file / namespaced project pass `keyPrefix` (the namespace) to match prefixed source keys. For MARKDOWN and MDX `sourceFile` is REQUIRED: a translated document has translated headings, so it is matched to the source by segment position and the two must have the same structure.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
format * | string | |
localeId * | string | |
projectId * | string | |
autoApprove | boolean | |
conflict | string | |
dryRun | boolean | |
keyPrefix | string | Namespace prefix, e.g. "home" (per-file, multi-file projects). |
sourceFile | string | Source file these translations belong to; REQUIRED for MARKDOWN/MDX, e.g. "docs/guide.md". |
run_locale_qa Run locale QA
Queues an LLM QA-critic pass over a locale's non-approved translations. `scope` UNREVIEWED (default) critiques only translations not yet reviewed at their current text; ALL re-critiques every one. Returns tracking `jobIds`.
| Parameter | Type | Description |
|---|---|---|
localeId * | string | |
projectId * | string | |
scope | string |
run_qa Run QA on a translation
Runs QA on one translation and returns its score and issues (synchronous).
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
translationId * | string |
list_qa_issues List QA issues
Open QA issues for a locale, plus the issue-type facets (filter tabs).
| Parameter | Type | Description |
|---|---|---|
localeId * | string | |
projectId * | string | |
skip | integer | |
take | integer | |
type | string |
list_glossary List glossary terms
Lists glossary terms (project-scoped if projectId given, else org-wide).
| Parameter | Type | Description |
|---|---|---|
projectId | string | |
skip | integer | |
take | integer |
upsert_glossary_term Create or update glossary term
Creates a glossary term, or updates it when `termId` is given. `translations` is a per-locale map, e.g. {"de-DE":"…"}. `forbidden` lists disallowed renderings.
| Parameter | Type | Description |
|---|---|---|
description | string | |
doNotTranslate | boolean | |
forbidden | array | |
partOfSpeech | string | |
projectId | string | Project scope; omit for org-wide (create only) |
term | string | |
termId | string | Provide to update an existing term |
translations | object |
delete_glossary_term Delete glossary term
Deletes a glossary term. Destructive — confirm first.
| Parameter | Type | Description |
|---|---|---|
termId * | string |
suggest_glossary_terms Suggest glossary terms
AI-suggested glossary terms extracted from the project source strings.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
list_style_guides List style guides
Lists style guides (project-scoped if projectId given, else org-wide).
| Parameter | Type | Description |
|---|---|---|
projectId | string |
generate_style_guide Generate style guide (draft)
Drafts a tone/rules/prompt-fragment style guide from the project (optionally per locale). Returns a draft — persist it with create_style_guide.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
localeCode | string |
create_style_guide Create style guide
Persists a style guide (tone, rules JSON, prompt fragment), project- or locale-scoped.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
localeCode | string | |
projectId | string | |
promptFragment | string | |
rules | array | |
tone | string |
tm_search Search translation memory
Concordance search — the nearest prior translations for a source string in a target locale, with cosine distance (0 = identical). Scope to a project with `projectId` (includes its group siblings); omit for the whole organization. Requires an embedding-capable provider.
| Parameter | Type | Description |
|---|---|---|
sourceText * | string | |
targetLocale * | string | |
limit | integer | |
projectId | string |
tm_stats Translation memory stats
Entry counts per target locale (org-wide, or for a project with `projectId`).
| Parameter | Type | Description |
|---|---|---|
projectId | string |
list_tm Browse translation memory
Lists stored TM entries (paginated, newest first), optionally filtered by project and locale.
| Parameter | Type | Description |
|---|---|---|
projectId | string | |
skip | integer | |
take | integer | |
targetLocale | string |
list_repositories List repositories
Lists git repositories connected to a project.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
get_github_app_install_url GitHub App install URL
Returns whether the Syntholoc GitHub App is available and a signed install URL for this project. GitHub App connect flow, step 1: give this URL to the user to open in a browser and authorize Syntholoc on the repositories they want (this authorize click cannot be automated). After they finish, call `list_github_installations` to see the new installation. If `enabled` is false, the server has no GitHub App configured — fall back to the token (PAT) path via `connect_repository`.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
list_github_installations List GitHub installations
Lists GitHub App installations available to the active organization. GitHub App connect flow, step 2: run this after the user authorized the App (see `get_github_app_install_url`) to get the `installationId` to pass to `list_github_installation_repos` and `connect_repository`.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
list_github_installation_repos List installation repositories
Lists the repositories Syntholoc can access through a GitHub App installation. GitHub App connect flow, step 3: pick the target repo (its `fullName` and `defaultBranch`) before calling `connect_repository` with the same `installationId`.
| Parameter | Type | Description |
|---|---|---|
installationId * | integer | From `list_github_installations`. |
projectId * | string |
connect_repository Connect repository
Connects a git repository to the project so syncs can pull source strings and push translation PRs. Provide EITHER `installationId` (GitHub App mode — after the browser authorize flow: `get_github_app_install_url` → `list_github_installations` → `list_github_installation_repos`) OR `token` (PAT mode — a personal access token with repo read + pull-request scope; works for GitHub, GitLab and Bitbucket, no browser needed). Mappings come from the repo's `.syntholoc/config.json` when present (the source of truth); `files`/`paths` here are an optional fallback used only when that file is abs…
| Parameter | Type | Description |
|---|---|---|
fullName * | string | owner/repo, e.g. "acme/webapp". |
projectId * | string | |
autoSyncEnabled | boolean | Enable scheduled auto-sync. |
branch | string | Source branch (default "main"). |
files | array | Crowdin-style source→translation mappings. Fallback only — an in-repo `.syntholoc/config.json` wins. |
installationId | integer | GitHub App installation id. Mutually exclusive with `token`. |
paths | array | Simple mode: source file paths/globs to track (use instead of `files`). Fallback for in-repo config. |
prTargetBranch | string | Branch translation PRs target (default = branch). |
provider | string | |
token | string | Access token (PAT mode), stored encrypted. Mutually exclusive with `installationId`. |
translationBranch | string | Branch translations are committed to (default l10n_<branch>). |
update_repository Update repository
Updates an already-connected repository in place — no disconnect/reconnect, stored credentials and webhooks are preserved. Use it for integration settings (source `branch`, translation/PR branches, `pushSources`, auto-sync), and for `files`/`paths` only as the DB fallback. IMPORTANT: to change file MAPPINGS, prefer editing the repo's `.syntholoc/config.json` and opening a PR — that file is the source of truth and, when present, overrides `files`/`paths` here (they are ignored). So do NOT use this tool to change mappings of a config-managed repo; edit the file, open a PR, and after it merge…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
repositoryId * | string | |
autoSyncEnabled | boolean | Enable scheduled auto-sync. |
branch | string | Source branch. |
files | array | Crowdin-style source→translation mappings (replaces existing). |
paths | array | Simple mode: source file paths/globs to track (replaces existing; use instead of `files`). |
prTargetBranch | string | Branch translation PRs target. |
pushSources | boolean | Rewrite the source file(s) in the repo from in-app keys. |
syncIntervalHours | integer | Auto-sync interval in hours. |
translationBranch | string | Branch translations are committed to. |
disconnect_repository Disconnect repository
Removes the link to a connected repository and its stored credentials. The repository itself is not affected. Destructive — confirm with the user first.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
repositoryId * | string |
sync_repository Sync repository
Queues an immediate sync of a connected repository (pull → translate → PR).
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
repositoryId * | string |
push_translations Push translations (PR)
Queues write-back of a locale: export approved translations and open a PR.
| Parameter | Type | Description |
|---|---|---|
localeId * | string | |
projectId * | string | |
repositoryId * | string |
pull_translations Pull translations
Queues a pull of translation files from the connected repo, importing them per locale. Returns the tracking job ids — the import itself runs in the background. `autoApprove` lands them as APPROVED; `conflict` is OVERWRITE | SKIP_EXISTING | KEEP_APPROVED.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
repositoryId * | string | |
autoApprove | boolean | |
conflict | string |
list_llm_providers List LLM providers
Configured LLM providers for the org (never exposes the API key).
configure_llm_provider Configure LLM provider
Adds a BYOK LLM provider (APISTOCK | OPENROUTER | OPENAI | ANTHROPIC). The key is stored encrypted at rest.
| Parameter | Type | Description |
|---|---|---|
apiKey * | string | |
label * | string | |
type * | string | |
baseUrl | string | null | |
defaultModel | string | null | |
fallbackModel | string | null |
get_job Get job
Status, progress, token usage and cost of a background job by id.
| Parameter | Type | Description |
|---|---|---|
jobId * | string | |
projectId * | string |
list_jobs List jobs
Recent background jobs for a project (translate / QA / git sync).
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
skip | integer | |
take | integer |
wait_for_job Wait for job
Polls a job until it reaches a terminal state (COMPLETED/FAILED/CANCELLED) or the timeout elapses, then returns its final detail. Use after translate/QA to follow a run.
| Parameter | Type | Description |
|---|---|---|
jobId * | string | |
projectId * | string | |
pollIntervalSec | integer | |
timeoutSec | integer |
project_analytics Project analytics
Real-time quality + progress metrics for a project (per-locale progress, open issues).
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
cost_analytics Cost analytics
LLM token/cost time-series and per-model breakdown over a window (default 30 days).
| Parameter | Type | Description |
|---|---|---|
days | integer | |
projectId | string |
usage Org usage & plan
Organization plan, hosted words and seat usage.
locale_progress Locale progress
Progress counts for one locale: total / untranslated / autoTranslated / humanApproved. The `untranslated` count drives the batch threshold (see get_config).
| Parameter | Type | Description |
|---|---|---|
localeId * | string | |
projectId * | string |