KosmoKrator

productivity

Transifex CLI for AI Agents

Use the Transifex CLI from KosmoKrator to call Transifex tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

7 functions 7 read 0 write API token auth

Transifex CLI Setup

Transifex can be configured headlessly with `kosmokrator integrations:configure transifex`.

# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure transifex --set api_token="$TRANSIFEX_API_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor transifex --json
kosmokrator integrations:status --json

Credentials

Authentication type: API token api_token. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
api_token TRANSIFEX_API_TOKEN Secret secret yes API Token
base_url TRANSIFEX_BASE_URL URL url no API Base URL

Call Transifex Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call transifex.transifex_list_projects '{}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:transifex transifex_list_projects '{}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

kosmo integrations:docs transifex --json
kosmo integrations:docs transifex.transifex_list_projects --json
kosmo integrations:schema transifex.transifex_list_projects --json
kosmo integrations:search "Transifex" --json
kosmo integrations:list --json

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to Transifex.

transifex.transifex_list_projects

Read read

List all Transifex projects. Returns project slugs, names, descriptions, and language statistics.

Parameters
none

Generic CLI call

kosmo integrations:call transifex.transifex_list_projects '{}' --json

Provider shortcut

kosmo integrations:transifex transifex_list_projects '{}' --json

transifex.transifex_get_project

Read read

Get details of a specific Transifex project including its name, description, source language, and team.

Parameters
project_id

Generic CLI call

kosmo integrations:call transifex.transifex_get_project '{"project_id":"example_project_id"}' --json

Provider shortcut

kosmo integrations:transifex transifex_get_project '{"project_id":"example_project_id"}' --json

transifex.transifex_list_resources

Read read

List all resources (source files) in a Transifex project. Returns resource slugs, names, types, and word/string counts.

Parameters
project_id

Generic CLI call

kosmo integrations:call transifex.transifex_list_resources '{"project_id":"example_project_id"}' --json

Provider shortcut

kosmo integrations:transifex transifex_list_resources '{"project_id":"example_project_id"}' --json

transifex.transifex_get_resource

Read read

Get details of a specific Transifex resource including its name, type, word count, string count, and translation progress.

Parameters
project_id, resource_id

Generic CLI call

kosmo integrations:call transifex.transifex_get_resource '{"project_id":"example_project_id","resource_id":"example_resource_id"}' --json

Provider shortcut

kosmo integrations:transifex transifex_get_resource '{"project_id":"example_project_id","resource_id":"example_resource_id"}' --json

transifex.transifex_list_translations

Read read

List translations for a specific resource in a Transifex project. Optionally filter by language code.

Parameters
project_id, resource_id, lang_code

Generic CLI call

kosmo integrations:call transifex.transifex_list_translations '{"project_id":"example_project_id","resource_id":"example_resource_id","lang_code":"example_lang_code"}' --json

Provider shortcut

kosmo integrations:transifex transifex_list_translations '{"project_id":"example_project_id","resource_id":"example_resource_id","lang_code":"example_lang_code"}' --json

transifex.transifex_list_languages

Read read

List all languages configured for a Transifex project. Returns language codes, names, and translation progress.

Parameters
project_id

Generic CLI call

kosmo integrations:call transifex.transifex_list_languages '{"project_id":"example_project_id"}' --json

Provider shortcut

kosmo integrations:transifex transifex_list_languages '{"project_id":"example_project_id"}' --json

transifex.transifex_get_current_user

Read read

Get information about the currently authenticated Transifex user, including username, email, and account details.

Parameters
none

Generic CLI call

kosmo integrations:call transifex.transifex_get_current_user '{}' --json

Provider shortcut

kosmo integrations:transifex transifex_get_current_user '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

transifex.transifex_list_projects

List all Transifex projects. Returns project slugs, names, descriptions, and language statistics.

Operation
Read read
Schema command
kosmo integrations:schema transifex.transifex_list_projects --json
ParameterTypeRequiredDescription
No parameters.

transifex.transifex_get_project

Get details of a specific Transifex project including its name, description, source language, and team.

Operation
Read read
Schema command
kosmo integrations:schema transifex.transifex_get_project --json
ParameterTypeRequiredDescription
project_id string yes The project slug or ID (e.g., "my-project-slug").

transifex.transifex_list_resources

List all resources (source files) in a Transifex project. Returns resource slugs, names, types, and word/string counts.

Operation
Read read
Schema command
kosmo integrations:schema transifex.transifex_list_resources --json
ParameterTypeRequiredDescription
project_id string yes The project slug or ID (e.g., "my-project-slug").

transifex.transifex_get_resource

Get details of a specific Transifex resource including its name, type, word count, string count, and translation progress.

Operation
Read read
Schema command
kosmo integrations:schema transifex.transifex_get_resource --json
ParameterTypeRequiredDescription
project_id string yes The project slug or ID (e.g., "my-project-slug").
resource_id string yes The resource slug or ID (e.g., "my-resource-slug").

transifex.transifex_list_translations

List translations for a specific resource in a Transifex project. Optionally filter by language code.

Operation
Read read
Schema command
kosmo integrations:schema transifex.transifex_list_translations --json
ParameterTypeRequiredDescription
project_id string yes The project slug or ID (e.g., "my-project-slug").
resource_id string yes The resource slug or ID (e.g., "my-resource-slug").
lang_code string no Optional language code to filter translations (e.g., "fr", "de", "ja").

transifex.transifex_list_languages

List all languages configured for a Transifex project. Returns language codes, names, and translation progress.

Operation
Read read
Schema command
kosmo integrations:schema transifex.transifex_list_languages --json
ParameterTypeRequiredDescription
project_id string yes The project slug or ID (e.g., "my-project-slug").

transifex.transifex_get_current_user

Get information about the currently authenticated Transifex user, including username, email, and account details.

Operation
Read read
Schema command
kosmo integrations:schema transifex.transifex_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.