Repository avatar
Developer Tools
v0.3.0
active

mcp

com.translatize/mcp

Read, edit, branch, translate and QA-check Translatize translation labels from AI agents.

Documentation

Translatize integrations

Client-side tooling for the Translatize integration API (the machine-token API authenticated with Authorization: Bearer mcni_...). This is an npm workspace root that is intentionally separate from the apps in the repo – it has the only package.json with workspaces, and the repo root stays package.json-free.

Packages

PackageDirectoryStatusWhat it is
@translatize/corecore/availableZero-dependency TypeScript SDK for the integration API (client + flatten/unflatten helpers). The shared foundation everything else builds on.
@translatize/clicli/availableCommand-line tool (translatize init/pull/push/status/qa/screenshots upload/release) built on @translatize/core. Syncs translations from CI with git-like branching, gates on QA, uploads screenshot captures and publishes OTA releases.
@translatize/mcpmcp/availableModel Context Protocol server exposing the API to AI agents (Claude Code, Cursor, ...) over stdio, built on @translatize/core: 31 tools and 2 workflow prompts.
@translatize/playwrightplaywright/new in 0.2.0Captures screenshots with text positions from Playwright tests, for translatize screenshots upload.
@translatize/otaota/new in 0.2.0Zero-dependency over-the-air client (browser, React Native, Node) with an i18next backend.
@translatize/ota-workerota-worker/privateThe Cloudflare Worker that serves OTA releases. Deployed with wrangler, not published.
@translatize/github-appgithub-app/privateThe GitHub App service (container). Not published.
@translatize/gitlab-appgitlab-app/privateThe GitLab merge-request service (container). Not published.
@translatize/pr-syncpr-sync/privateThe pull-request and merge-request sync both services are built on. Not published.
@translatize/mcp-remotemcp-remote/privateThe hosted MCP server (container): the same tools over Streamable HTTP, behind OAuth. Not published.

The Claude Code plugin in claude-plugin/ bundles the MCP server plus two skills (localize-repo, translatize-strings).

Outside the npm workspace, each with its own toolchain:

PackageDirectoryRegistryWhat it is
TranslatizeOTAota-swift/SwiftPM, github.com/Translatize/ota-swiftOver-the-air client for iOS and macOS.
com.translatize:otaota-android/Maven CentralOver-the-air client for Android, plus ota-compose.
translatize_otaota-flutter/pub.devOver-the-air client for Flutter.

CI templates

Ready-to-use CI integrations complement the packages. They shell out to the @translatize/cli (npx @translatize/cli ...) rather than being npm packages, so you consume them as workflow/pipeline config, not via npm install:

TemplateHomeWhat it is
GitHub Actiongithub.com/Translatize/sync-actionComposite action (translatize/sync-action) wrapping the CLI's pull/push/status/qa for GitHub workflows.
GitLab CIgitlab.com/translatize/gitlabCI/CD Catalog component (templates/translatize.yml) plus copy-paste .gitlab-ci.yml jobs.
Bitbucket and Azure Pipelinesci-templates/Copy-paste pipelines: status --fail-on-missing and qa on pull requests, push on merge.

Development

cd integrations
npm install        # installs every workspace and hoists dev deps
npm run build      # builds each workspace that defines a build script
npm test           # runs each workspace's test suite

Requires Node.js >= 18.17 (native fetch, node:test).

Publishing

The @translatize/core, @translatize/cli, @translatize/mcp, @translatize/ota and @translatize/playwright packages are published to npm under the @translatize scope, in lockstep versions. Publishing is manual – nothing here publishes automatically. Follow PUBLISHING.md: build first, then npm publish --access public per package, core first. Don't use npm publish --workspaces – it would also try the private packages.

NPM
@translatize/mcp
Install Command
npm install @translatize/mcp

Remote