productivity
Google Translate MCP Integration for OpenAI Agents SDK
Connect Google Translate to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Translate to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Google Translate MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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 OpenAI Agents
OpenAI Agents 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. |