mcp

v0.7.2
@syntholoc/mcp Checked 1 day ago Published 2 days ago

Syntholoc 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.

ParameterTypeDescription
projectId *string
skipinteger
takeinteger

get_ota_distribution otaDistribution

otaDistribution for the specified project and distribution.

ParameterTypeDescription
distributionId *string
projectId *string

list_ota_releases otaReleases

otaReleases for the specified project and distribution.

ParameterTypeDescription
distributionId *string
projectId *string
skipinteger
takeinteger

get_ota_release otaRelease

otaRelease for the specified project and distribution.

ParameterTypeDescription
distributionId *string
projectId *string
releaseId *string

list_ota_channels otaChannels

otaChannels for the specified project and distribution.

ParameterTypeDescription
distributionId *string
projectId *string

get_ota_channel_history otaChannelHistory

otaChannelHistory for the specified project and distribution.

ParameterTypeDescription
channelId *string
distributionId *string
projectId *string
skipinteger
takeinteger

get_ota_release_diff otaReleaseDiff

otaReleaseDiff for the specified project and distribution.

ParameterTypeDescription
distributionId *string
from *string
projectId *string
to *string

list_ota_delivery_keys otaDeliveryKeys

otaDeliveryKeys for the specified project and distribution.

ParameterTypeDescription
distributionId *string
projectId *string
skipinteger
takeinteger

get_ota_usage otaUsage

otaUsage for the specified project and distribution.

ParameterTypeDescription
distributionId *string
projectId *string

create_ota_distribution createOtaDistribution

createOtaDistribution for the specified project and distribution.

ParameterTypeDescription
input *object
projectId *string

update_ota_distribution updateOtaDistribution

updateOtaDistribution for the specified project and distribution.

ParameterTypeDescription
config *object
distributionId *string
expectedConfigVersion *integer
name *string
projectId *string

disable_ota_distribution disableOtaDistribution

disableOtaDistribution for the specified project and distribution.

ParameterTypeDescription
distributionId *string
projectId *string

enable_ota_distribution enableOtaDistribution

enableOtaDistribution for the specified project and distribution.

ParameterTypeDescription
distributionId *string
projectId *string

retire_ota_distribution retireOtaDistribution

retireOtaDistribution for the specified project and distribution.

ParameterTypeDescription
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.

ParameterTypeDescription
distributionId *string
idempotencyKey *string
projectId *string

cancel_ota_release cancelOtaRelease

cancelOtaRelease for the specified project and distribution.

ParameterTypeDescription
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.

ParameterTypeDescription
channel *string
distributionId *string
expectedGeneration *integer
projectId *string
releaseId *string
reasonstring

rollback_ota_channel rollbackOtaChannel

Roll a channel back to a previously published release. Requires a reason and the observed generation.

ParameterTypeDescription
channel *string
distributionId *string
expectedGeneration *integer
projectId *string
reason *string
releaseId *string

create_ota_channel createOtaChannel

createOtaChannel for the specified project and distribution.

ParameterTypeDescription
distributionId *string
name *string
projectId *string

delete_ota_channel deleteOtaChannel

deleteOtaChannel for the specified project and distribution.

ParameterTypeDescription
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.

ParameterTypeDescription
allowedChannelIds *array
distributionId *string
name *string
projectId *string
expiresAtstring

revoke_ota_delivery_key revokeOtaDeliveryKey

revokeOtaDeliveryKey for the specified project and distribution.

ParameterTypeDescription
distributionId *string
keyId *string
projectId *string

pin_ota_release pinOtaRelease

pinOtaRelease for the specified project and distribution.

ParameterTypeDescription
distributionId *string
pinned *boolean
projectId *string
releaseId *string

delete_ota_release deleteOtaRelease

deleteOtaRelease for the specified project and distribution.

ParameterTypeDescription
distributionId *string
projectId *string
releaseId *string

preview_ota_asset Preview OTA asset

Read a READY asset through management authentication before publication. Requires translator access.

ParameterTypeDescription
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).

ParameterTypeDescription
skipinteger
takeinteger

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).

ParameterTypeDescription
projectId *string

create_project Create project

Creates a localization project. `sourceLocale` defaults to "en".

ParameterTypeDescription
name *string
contextstring
descriptionstring
qaCriticEnabledboolean
requireReviewboolean
sourceLocalestring
typographyEnabledboolean | nullApply language-specific typography to source text and translations on save.

update_project Update project

Updates project settings (name, source locale, review/QA flags, context).

ParameterTypeDescription
projectId *string
contextstring
descriptionstring
exportApprovedOnlyboolean
namestring
qaCriticEnabledboolean
requireReviewboolean
sortKeysAlphabeticallyboolean
sourceLocalestring
statusstring
typographyEnabledboolean | nullApply language-specific typography to source text and translations on save.

list_locales List locales

Lists the target locales configured for a project.

ParameterTypeDescription
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).

ParameterTypeDescription
projectId *string
codestringBCP-47 code, e.g. "de-DE" or "ru". Alias: `locale`.
formalitystring
genderstring
localestringAlias for `code`.
namestring
variantstring

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".

ParameterTypeDescription
projectId *string
codesarrayBCP-47 codes to add, e.g. ["ru","de-DE","fr"].

remove_locale Remove locale

Removes a target locale and its translations. Destructive — confirm first.

ParameterTypeDescription
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.

ParameterTypeDescription
projectId *string
localeIdstring
searchstring
skipinteger
statusstring
takeinteger

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.

ParameterTypeDescription
keys *array
projectId *string
dryRunboolean

update_key Update key

Updates a single key (source text, context, max length).

ParameterTypeDescription
keyId *string
projectId *string
contextstring
maxLengthinteger
sourceTextstring

delete_key Delete key

Deletes a key and its translations. Destructive — confirm first.

ParameterTypeDescription
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…

ParameterTypeDescription
content *string
format *string
projectId *string
dryRunboolean
keyPrefixstringNamespace prefix, e.g. "home" (per-file, multi-file projects).
sourceFilestringReal 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.

ParameterTypeDescription
localeId *string
projectId *string
scopestring

translate_key Translate key

Queues AI translation of a single key into a locale. Returns tracking `jobIds`.

ParameterTypeDescription
keyId *string
localeId *string
projectId *string

set_translation Set translation

Manually sets the translation text for a key in a locale.

ParameterTypeDescription
keyId *string
localeId *string
projectId *string
text *string
originstring

list_translations List translations

Lists translations for a locale with status, origin, model and QA score.

ParameterTypeDescription
localeId *string
projectId *string
skipinteger
takeinteger

approve_translation Approve translation

Marks a translation APPROVED.

ParameterTypeDescription
projectId *string
translationId *string

reject_translation Reject translation

Marks a translation REJECTED (queued for re-translation).

ParameterTypeDescription
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.

ParameterTypeDescription
localeId *string
projectId *string
formatstring
keyPrefixstringLegacy namespace prefix, e.g. "home".
onlyApprovedboolean
sourceFilestringReal 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.

ParameterTypeDescription
localeId *string
projectId *string
sourceFile *stringPath of the source document in the repository, e.g. "docs/guide.md".
onlyApprovedboolean
repositoryIdstringOnly 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.

ParameterTypeDescription
content *string
format *string
localeId *string
projectId *string
autoApproveboolean
conflictstring
dryRunboolean
keyPrefixstringNamespace prefix, e.g. "home" (per-file, multi-file projects).
sourceFilestringSource 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`.

ParameterTypeDescription
localeId *string
projectId *string
scopestring

run_qa Run QA on a translation

Runs QA on one translation and returns its score and issues (synchronous).

ParameterTypeDescription
projectId *string
translationId *string

list_qa_issues List QA issues

Open QA issues for a locale, plus the issue-type facets (filter tabs).

ParameterTypeDescription
localeId *string
projectId *string
skipinteger
takeinteger
typestring

list_glossary List glossary terms

Lists glossary terms (project-scoped if projectId given, else org-wide).

ParameterTypeDescription
projectIdstring
skipinteger
takeinteger

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.

ParameterTypeDescription
descriptionstring
doNotTranslateboolean
forbiddenarray
partOfSpeechstring
projectIdstringProject scope; omit for org-wide (create only)
termstring
termIdstringProvide to update an existing term
translationsobject

delete_glossary_term Delete glossary term

Deletes a glossary term. Destructive — confirm first.

ParameterTypeDescription
termId *string

suggest_glossary_terms Suggest glossary terms

AI-suggested glossary terms extracted from the project source strings.

ParameterTypeDescription
projectId *string

list_style_guides List style guides

Lists style guides (project-scoped if projectId given, else org-wide).

ParameterTypeDescription
projectIdstring

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.

ParameterTypeDescription
projectId *string
localeCodestring

create_style_guide Create style guide

Persists a style guide (tone, rules JSON, prompt fragment), project- or locale-scoped.

ParameterTypeDescription
name *string
localeCodestring
projectIdstring
promptFragmentstring
rulesarray
tonestring

tm_stats Translation memory stats

Entry counts per target locale (org-wide, or for a project with `projectId`).

ParameterTypeDescription
projectIdstring

list_tm Browse translation memory

Lists stored TM entries (paginated, newest first), optionally filtered by project and locale.

ParameterTypeDescription
projectIdstring
skipinteger
takeinteger
targetLocalestring

list_repositories List repositories

Lists git repositories connected to a project.

ParameterTypeDescription
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`.

ParameterTypeDescription
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`.

ParameterTypeDescription
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`.

ParameterTypeDescription
installationId *integerFrom `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…

ParameterTypeDescription
fullName *stringowner/repo, e.g. "acme/webapp".
projectId *string
autoSyncEnabledbooleanEnable scheduled auto-sync.
branchstringSource branch (default "main").
filesarrayCrowdin-style source→translation mappings. Fallback only — an in-repo `.syntholoc/config.json` wins.
installationIdintegerGitHub App installation id. Mutually exclusive with `token`.
pathsarraySimple mode: source file paths/globs to track (use instead of `files`). Fallback for in-repo config.
prTargetBranchstringBranch translation PRs target (default = branch).
providerstring
tokenstringAccess token (PAT mode), stored encrypted. Mutually exclusive with `installationId`.
translationBranchstringBranch 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…

ParameterTypeDescription
projectId *string
repositoryId *string
autoSyncEnabledbooleanEnable scheduled auto-sync.
branchstringSource branch.
filesarrayCrowdin-style source→translation mappings (replaces existing).
pathsarraySimple mode: source file paths/globs to track (replaces existing; use instead of `files`).
prTargetBranchstringBranch translation PRs target.
pushSourcesbooleanRewrite the source file(s) in the repo from in-app keys.
syncIntervalHoursintegerAuto-sync interval in hours.
translationBranchstringBranch 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.

ParameterTypeDescription
projectId *string
repositoryId *string

sync_repository Sync repository

Queues an immediate sync of a connected repository (pull → translate → PR).

ParameterTypeDescription
projectId *string
repositoryId *string

push_translations Push translations (PR)

Queues write-back of a locale: export approved translations and open a PR.

ParameterTypeDescription
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.

ParameterTypeDescription
projectId *string
repositoryId *string
autoApproveboolean
conflictstring

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.

ParameterTypeDescription
apiKey *string
label *string
type *string
baseUrlstring | null
defaultModelstring | null
fallbackModelstring | null

get_job Get job

Status, progress, token usage and cost of a background job by id.

ParameterTypeDescription
jobId *string
projectId *string

list_jobs List jobs

Recent background jobs for a project (translate / QA / git sync).

ParameterTypeDescription
projectId *string
skipinteger
takeinteger

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.

ParameterTypeDescription
jobId *string
projectId *string
pollIntervalSecinteger
timeoutSecinteger

project_analytics Project analytics

Real-time quality + progress metrics for a project (per-locale progress, open issues).

ParameterTypeDescription
projectId *string

cost_analytics Cost analytics

LLM token/cost time-series and per-model breakdown over a window (default 30 days).

ParameterTypeDescription
daysinteger
projectIdstring

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).

ParameterTypeDescription
localeId *string
projectId *string