KosmoKrator

productivity

Google Translate MCP Integration for Claude Code

Connect Google Translate to Claude Code through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 5 read 2 write API key auth

Connect Google Translate to Claude Code

Connect local KosmoKrator integrations to Claude Code through one scoped MCP gateway entry.

Add KosmoKrator as a stdio MCP server in the Claude Code project config and select the integrations that should be visible. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Code can inspect read-capable tools without receiving write access by default.

Google Translate MCP Config for Claude Code

Claude Code can launch the local kosmo binary directly from the project MCP config.

{
  "mcpServers": {
    "kosmokrator-google-translate": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=google-translate",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=google-translate --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Google Translate instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Google Translate Tools Visible to Claude Code

Claude Code sees stable MCP tool names generated from the Google Translate integration catalog.

MCP toolSource functionTypeDescription
integration__google_translate__google_translate_translate_text google-translate.google_translate_translate_text Write Translate text using Google Cloud Translation. Supports automatic source language detection or explicit source language specification. Returns translated text with detected source language.
integration__google_translate__google_translate_detect_language google-translate.google_translate_detect_language Read Detect the language of text using Google Cloud Translation. Returns detected language codes and confidence scores.
integration__google_translate__google_translate_list_supported_languages google-translate.google_translate_list_supported_languages Read List languages supported by Google Cloud Translation. Returns language codes and names. Optionally specify a target language to localize language names.
integration__google_translate__google_translate_list_glossaries google-translate.google_translate_list_glossaries Read List all glossaries in your Google Cloud Translation project. Returns glossary names, language pairs, and entry counts.
integration__google_translate__google_translate_get_glossary google-translate.google_translate_get_glossary Read Get details of a specific Google Cloud Translation glossary by name. Returns glossary name, language pair, entry count, and timestamps.
integration__google_translate__google_translate_create_glossary google-translate.google_translate_create_glossary Write Create a new Google Cloud Translation glossary. Glossaries define custom translations for specific terms. Provide term pairs as an array of source/target strings.
integration__google_translate__google_translate_get_current_user google-translate.google_translate_get_current_user Read Verify the Google Cloud Translation API key and get connection information. Confirms the API key is valid and the service is reachable.

Related Google Translate Pages