productivity
Google Translate MCP Integration for Claude Agent SDK
Connect Google Translate to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Translate to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Google Translate MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"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
Expose only Google Translate instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Google Translate Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the Google Translate integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |