KosmoKrator

productivity

Crowdin CLI for AI Agents

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

Crowdin CLI Setup

Crowdin can be configured headlessly with `kosmokrator integrations:configure crowdin`.

Install, configure, and verify
# 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 crowdin --set api_token="$CROWDIN_API_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor crowdin --json
kosmokrator integrations:status --json

Credentials

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

KeyEnv varTypeRequiredLabel
api_token CROWDIN_API_TOKEN Secret secret yes API Token
base_url CROWDIN_BASE_URL URL url no API Base URL

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call crowdin.crowdin_list_projects '{"group_id":1,"limit":1,"offset":1}' --json
Provider shortcut
kosmo integrations:crowdin crowdin_list_projects '{"group_id":1,"limit":1,"offset":1}' --json

Discovery

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

Discovery commands
kosmo integrations:docs crowdin --json
kosmo integrations:docs crowdin.crowdin_list_projects --json
kosmo integrations:schema crowdin.crowdin_list_projects --json
kosmo integrations:search "Crowdin" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

crowdin.crowdin_list_projects

List Crowdin projects. Returns project IDs, names, target languages, and other metadata. Supports pagination and filtering by group.

Read read
Parameters
group_id, limit, offset
Generic call
kosmo integrations:call crowdin.crowdin_list_projects '{"group_id":1,"limit":1,"offset":1}' --json
Shortcut
kosmo integrations:crowdin crowdin_list_projects '{"group_id":1,"limit":1,"offset":1}' --json

crowdin.crowdin_get_project

Get details of a specific Crowdin project by ID. Returns project name, description, source/target languages, and other settings.

Read read
Parameters
project_id
Generic call
kosmo integrations:call crowdin.crowdin_get_project '{"project_id":1}' --json
Shortcut
kosmo integrations:crowdin crowdin_get_project '{"project_id":1}' --json

crowdin.crowdin_list_strings

List source strings in a Crowdin project. Returns string IDs, text, context, and file associations. Supports filtering by file or branch.

Read read
Parameters
project_id, file_id, branch_id, limit, offset
Generic call
kosmo integrations:call crowdin.crowdin_list_strings '{"project_id":1,"file_id":1,"branch_id":1,"limit":1,"offset":1}' --json
Shortcut
kosmo integrations:crowdin crowdin_list_strings '{"project_id":1,"file_id":1,"branch_id":1,"limit":1,"offset":1}' --json

crowdin.crowdin_get_string

Get details of a specific source string in a Crowdin project. Returns string text, context, file path, and other metadata.

Read read
Parameters
project_id, string_id
Generic call
kosmo integrations:call crowdin.crowdin_get_string '{"project_id":1,"string_id":1}' --json
Shortcut
kosmo integrations:crowdin crowdin_get_string '{"project_id":1,"string_id":1}' --json

crowdin.crowdin_list_translations

List translations in a Crowdin project. Returns translated text, language info, and approval status. Supports filtering by string or language.

Read read
Parameters
project_id, string_id, language_id, limit, offset
Generic call
kosmo integrations:call crowdin.crowdin_list_translations '{"project_id":1,"string_id":1,"language_id":1,"limit":1,"offset":1}' --json
Shortcut
kosmo integrations:crowdin crowdin_list_translations '{"project_id":1,"string_id":1,"language_id":1,"limit":1,"offset":1}' --json

crowdin.crowdin_list_languages

List languages supported by Crowdin. Returns language IDs, locale codes (e.g., "en", "de", "fr"), names, and text direction.

Read read
Parameters
limit, offset
Generic call
kosmo integrations:call crowdin.crowdin_list_languages '{"limit":1,"offset":1}' --json
Shortcut
kosmo integrations:crowdin crowdin_list_languages '{"limit":1,"offset":1}' --json

crowdin.crowdin_get_current_user

Get the currently authenticated Crowdin user profile. Returns username, email, display name, and avatar URL.

Read read
Parameters
none
Generic call
kosmo integrations:call crowdin.crowdin_get_current_user '{}' --json
Shortcut
kosmo integrations:crowdin crowdin_get_current_user '{}' --json

Function Schemas

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

crowdin.crowdin_list_projects 3 parameters
Schema command
kosmo integrations:schema crowdin.crowdin_list_projects --json
ParameterTypeRequiredDescription
group_id integer no Filter projects by group ID.
limit integer no Maximum number of projects to return (max 500, default 25).
offset integer no Pagination offset (default 0).
crowdin.crowdin_get_project 1 parameters
Schema command
kosmo integrations:schema crowdin.crowdin_get_project --json
ParameterTypeRequiredDescription
project_id integer yes The project ID.
crowdin.crowdin_list_strings 5 parameters
Schema command
kosmo integrations:schema crowdin.crowdin_list_strings --json
ParameterTypeRequiredDescription
project_id integer yes The project ID.
file_id integer no Filter strings by file ID.
branch_id integer no Filter strings by branch ID.
limit integer no Maximum number of strings to return (default 25).
offset integer no Pagination offset (default 0).
crowdin.crowdin_get_string 2 parameters
Schema command
kosmo integrations:schema crowdin.crowdin_get_string --json
ParameterTypeRequiredDescription
project_id integer yes The project ID.
string_id integer yes The string ID.
crowdin.crowdin_list_translations 5 parameters
Schema command
kosmo integrations:schema crowdin.crowdin_list_translations --json
ParameterTypeRequiredDescription
project_id integer yes The project ID.
string_id integer no Filter translations by source string ID.
language_id integer no Filter translations by language ID.
limit integer no Maximum number of translations to return (default 25).
offset integer no Pagination offset (default 0).
crowdin.crowdin_list_languages 2 parameters
Schema command
kosmo integrations:schema crowdin.crowdin_list_languages --json
ParameterTypeRequiredDescription
limit integer no Maximum number of languages to return (default 25).
offset integer no Pagination offset (default 0).
crowdin.crowdin_get_current_user 0 parameters
Schema command
kosmo integrations:schema crowdin.crowdin_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.