BabelizeBabelize
Integrations

MCP Server

AI-native translation integration via @babelize/mcp for Cursor, Claude, and AI coding agents.

The Babelize MCP Server provides seamless integration between your IDE or AI client and the Babelize localization platform. By running the MCP server, AI coding agents (Cursor, Claude Desktop, opencode) can scan, configure, and trigger translation pipelines directly within their conversation context.

Installation

npm install -g @babelize/mcp

Or run on-demand:

npx -y @babelize/mcp

Quick Start

  1. Get an API key — Dashboard → SettingsAPI Keys
  2. Set the key:
    export BABELIZE_API_KEY=bblz_sk_...
    Or create .babelize/config.json:
    { "apiKey": "bblz_sk_..." }
  3. Configure your client (see below)

Client Setup

Cursor

.cursor/mcp.json or Settings → Beta → MCP → Add New:

{
  "mcpServers": {
    "babelize": {
      "command": "npx",
      "args": ["-y", "@babelize/mcp"],
      "env": { "BABELIZE_API_KEY": "bblz_sk_..." }
    }
  }
}

Claude Desktop

claude_desktop_config.json:

{
  "mcpServers": {
    "babelize": {
      "command": "npx",
      "args": ["-y", "@babelize/mcp"],
      "env": { "BABELIZE_API_KEY": "bblz_sk_..." }
    }
  }
}

opencode

.opencode.json:

{
  "mcpServers": {
    "babelize": {
      "command": "npx",
      "args": ["-y", "@babelize/mcp"],
      "env": { "BABELIZE_API_KEY": "bblz_sk_..." }
    }
  }
}

Available Tools

ToolParametersDescriptionAuth
babelize_scandirectory (required), extensions (optional)Scan a local directory for hardcoded stringsNo
babelize_scan_stringscode (required)Extract translatable strings from a code snippetNo
babelize_runproject_id (required), target_locales (required), source_locale (optional)Trigger a translation runYes
babelize_statusbabel_id (required)Check status of a translation runYes
babelize_glossary_getproject_id (required), search (optional)List glossary entries for a projectYes
babelize_glossary_setproject_id (required), source (required), target (required), type (optional), locale (optional)Add a glossary entryYes

No-Auth Tools

babelize_scan and babelize_scan_strings work without an API key — perfect for letting AI agents explore your codebase before you commit.

Configuration Priority

  1. CLI Arguments--api-key, --api-url, --api-base
  2. Environment VariablesBABELIZE_API_KEY, BABELIZE_API_URL
  3. Local Config File.babelize/config.json

Options

CLI OptionEnv VariableDefaultDescription
--api-keyBABELIZE_API_KEYYour Babelize API key
--api-urlBABELIZE_API_URLhttps://api.babelize.co/apiAPI base URL
--api-baseAPI base path (without /api suffix)

Last updated: 2026-06-19

How is this guide?

On this page