productivity
DeepL MCP Integration for Vercel AI SDK
Connect DeepL to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect DeepL to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
DeepL MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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 Vercel AI SDK
Vercel AI 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. |