KosmoKrator

productivity

DeepL MCP Integration for Codex

Connect DeepL to Codex through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 5 read 2 write API key auth

Connect DeepL to Codex

Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy.

Register kosmo mcp:serve as a local stdio server and choose the integration allowlist. The gateway is local, scoped to this integration, and starts with --write=deny so Codex can inspect read-capable tools without receiving write access by default.

DeepL MCP Config for Codex

Keep write access denied or ask-based unless the workspace is trusted.

{
  "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

Scoped tools

Expose only DeepL 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.

DeepL Tools Visible to Codex

Codex sees stable MCP tool names generated from the DeepL integration catalog.

MCP toolSource functionTypeDescription
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.

Related DeepL Pages