productivity
DeepL MCP Integration for OpenAI Agents SDK
Connect DeepL to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect DeepL 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.
DeepL MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-deepl": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=deepl",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=deepl --write=deny Why Use KosmoKrator Here
Expose only DeepL 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.
DeepL Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the DeepL integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__deepl__deepl_translate_text | deepl.deepl_translate_text | Write | Translate text using DeepL. Supports automatic source language detection or explicit source language specification. Returns translated text with detected source language. |
integration__deepl__deepl_list_languages | deepl.deepl_list_languages | Read | List languages supported by DeepL. Returns language codes and names. Filter by type to get only source or target languages. |
integration__deepl__deepl_get_usage | deepl.deepl_get_usage | Read | Get current DeepL API usage. Returns the number of characters translated and the character limit for the current billing period. |
integration__deepl__deepl_list_glossaries | deepl.deepl_list_glossaries | Read | List all glossaries in your DeepL account. Returns glossary IDs, names, language pairs, and entry counts. |
integration__deepl__deepl_get_glossary | deepl.deepl_get_glossary | Read | Get details of a specific DeepL glossary by ID. Returns glossary name, source/target languages, entry count, and creation timestamp. |
integration__deepl__deepl_create_glossary | deepl.deepl_create_glossary | Write | Create a new DeepL glossary. Glossaries define custom translations for specific terms. Entries are tab-separated pairs (source\ttarget), one per line. |
integration__deepl__deepl_get_current_user | deepl.deepl_get_current_user | Read | Get current DeepL account information. Returns usage statistics and account details. |