Tolgee MCP by usefulapi
v1.2.1Read projects, keys, translations and tasks; set translations and review states in Tolgee.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
tolgee_get_current_user Get the current user
Return the Tolgee account behind the token: name, username and email. Good first call to confirm which account is connected. Tolgee API: GET /v2/user.
tolgee_list_projects List projects
List the Tolgee projects this token can access, with ids, names, base language and settings. Call this first to find a projectId. Tolgee API: GET /v2/projects.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starting at 0. |
search | string | Text to search for. |
size | integer | Items per page (1-100). |
tolgee_get_project Get a project
Return one project: name, slug, base language, namespace and branching settings, and the caller's permission. Tolgee API: GET /v2/projects/{projectId}.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | Tolgee project id (from tolgee_list_projects). |
tolgee_list_languages List project languages
List the languages of a project with their tags (for example en, de-DE), names and which one is the base language. Tolgee API: GET /v2/projects/{projectId}/languages.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | Tolgee project id (from tolgee_list_projects). |
page | integer | Page number, starting at 0. |
search | string | Text to search for. |
size | integer | Items per page (1-100). |
tolgee_list_namespaces List namespaces
List the namespaces of a project (keys can be grouped in namespaces). Tolgee API: GET /v2/projects/{projectId}/namespaces.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | Tolgee project id (from tolgee_list_projects). |
page | integer | Page number, starting at 0. |
search | string | Text to search for. |
size | integer | Items per page (1-100). |
tolgee_list_branches List branches
List the branches of a project (when branching is on, keys and translations differ per branch). Tolgee API: GET /v2/projects/{projectId}/branches.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | Tolgee project id (from tolgee_list_projects). |
page | integer | Page number, starting at 0. |
search | string | Text to search for. |
size | integer | Items per page (1-100). |
tolgee_list_members List project members
List the people with access to a project, with their permissions and roles. Tolgee API: GET /v2/projects/{projectId}/users.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | Tolgee project id (from tolgee_list_projects). |
page | integer | Page number, starting at 0. |
search | string | Text to search for. |
size | integer | Items per page (1-100). |
tolgee_list_keys List keys
List the localization keys of a project, one page at a time, with names, namespaces and descriptions. Tolgee API: GET /v2/projects/{projectId}/keys.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | Tolgee project id (from tolgee_list_projects). |
branch | string | Branch name, when the project uses branching. |
page | integer | Page number, starting at 0. |
size | integer | Items per page (1-100). |
tolgee_get_key Get a key
Return one localization key with its id, name, namespace, description and character limit. Tolgee API: GET /v2/projects/{projectId}/keys/{id}.
| Parameter | Type | Description |
|---|---|---|
keyId * | integer | Key id (from tolgee_list_keys). |
projectId * | integer | Tolgee project id (from tolgee_list_projects). |
tolgee_search_translations Search translations
Find keys with their translations, filtered by text, key name, namespace or missing language. Returns one cursor page; pass the returned cursor to get the next page. Tolgee API: GET /v2/projects/{projectId}/translations.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | Tolgee project id (from tolgee_list_projects). |
branch | string | Branch name, when the project uses branching. |
cursor | string | Cursor from the previous page, to get the next page. |
filterKeyName | string | Only keys with exactly this name. Use search for a text match. |
filterNamespace | string | Only keys in this namespace. Send an empty string for the default namespace. |
filterUntranslatedInLang | string | Only keys with no translation in this language tag. |
languages | string | Comma-separated language tags to return, for example en,de. |
search | string | Text to search for. |
size | integer | Items per page (1-100). |
tolgee_list_tasks List tasks
List translation tasks of a project, with state, language, assignees and progress. Filter by state or language. Tolgee API: GET /v2/projects/{projectId}/tasks.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | Tolgee project id (from tolgee_list_projects). |
branch | string | Branch name, when the project uses branching. |
filterLanguage | string | Language ids to keep, comma-separated numbers from tolgee_list_languages (not tags). |
filterState | string | Task states to keep: NEW, IN_PROGRESS, FINISHED or CANCELED (comma-separated for several). |
page | integer | Page number, starting at 0. |
size | integer | Items per page (1-100). |
tolgee_get_task Get a task
Return one translation task by its number: name, language, due date, assignees and progress. Tolgee API: GET /v2/projects/{projectId}/tasks/{taskNumber}.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | Tolgee project id (from tolgee_list_projects). |
taskNumber * | integer | Task number (from tolgee_list_tasks). |
tolgee_set_translations Set translations
Create a key if it is missing, then set its translation text for the given languages. Existing text in those languages is overwritten. Other languages stay as they are. Tolgee API: POST /v2/projects/{projectId}/translations.
| Parameter | Type | Description |
|---|---|---|
key * | string | Key name, for example checkout.button.pay. |
projectId * | integer | Tolgee project id (from tolgee_list_projects). |
translations * | object | Map of language tag to text, for example {"en": "Pay now", "de": "Jetzt zahlen"}. |
branch | string | Branch name, when the project uses branching. |
namespace | string | Namespace of the key (default namespace when omitted). |
tolgee_set_translation_state Set translation state
Set one translation to TRANSLATED or REVIEWED. Use the translation id from tolgee_search_translations. Tolgee API: PUT /v2/projects/{projectId}/translations/{translationId}/set-state/{state}.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | Tolgee project id (from tolgee_list_projects). |
state * | string | The new state. |
translationId * | integer | Translation id (from tolgee_search_translations). |