productivity
Google Translate MCP Integration for LangGraph
Connect Google Translate to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Translate to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
Google Translate MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"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 LangGraph
LangGraph 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. |