productivity
DeepL MCP Integration for Claude Agent SDK
Connect DeepL to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect DeepL 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.
DeepL MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"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 Claude Agent SDK
Claude Agent SDK 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. |