productivity
Crowdin CLI for CI
Use the Crowdin CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write API token auth
Crowdin CLI for CI
Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.
Use this shape when a pipeline needs to read or update an external service. The Crowdin CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Crowdin CLI for CI
kosmokrator integrations:configure crowdin --set api_token="$CROWDIN_API_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call crowdin.crowdin_list_projects '{"group_id":1,"limit":1,"offset":1}' --json Discovery Before Execution
Agents and scripts can inspect Crowdin docs and schemas before choosing a function.
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 Useful Crowdin CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
crowdin.crowdin_list_projects | Read | group_id, limit, offset | List Crowdin projects. Returns project IDs, names, target languages, and other metadata. Supports pagination and filtering by group. |
crowdin.crowdin_get_project | Read | project_id | Get details of a specific Crowdin project by ID. Returns project name, description, source/target languages, and other settings. |
crowdin.crowdin_list_strings | Read | project_id, file_id, branch_id, limit, offset | List source strings in a Crowdin project. Returns string IDs, text, context, and file associations. Supports filtering by file or branch. |
crowdin.crowdin_get_string | Read | project_id, string_id | Get details of a specific source string in a Crowdin project. Returns string text, context, file path, and other metadata. |
crowdin.crowdin_list_translations | Read | project_id, string_id, language_id, limit, offset | List translations in a Crowdin project. Returns translated text, language info, and approval status. Supports filtering by string or language. |
crowdin.crowdin_list_languages | Read | limit, offset | List languages supported by Crowdin. Returns language IDs, locale codes (e.g., "en", "de", "fr"), names, and text direction. |
crowdin.crowdin_get_current_user | Read | none | Get the currently authenticated Crowdin user profile. Returns username, email, display name, and avatar URL. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.