DD

deepl/deepl-mcp-server

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

119 stars 20 forks Качество 89 Тренд 35MIT

deepl/deepl-mcp-server — это кандидат на MCP-сервер, импортированный из https://github.com/deepl/deepl-mcp-server.

Обзор

deepl/deepl-mcp-server — это кандидат на MCP-сервер, импортированный из https://github.com/deepl/deepl-mcp-server.

Обзор (машинный перевод)

[! ПРИМЕЧАНИЕ] Для лучшего опыта и последних функций ознакомьтесь с удалённым MCP сервером DeepL, чтобы использовать DeepL в вашем AI-агенте. Установка не требуется, просто добавьте его в Claude, ChatGPT, Microsoft Copilot или любой MCP-клиент и войдите через свой аккаунт DeepL.

Работаете в терминале или с программным агентом? Попробуйте DeepL CLI. Он охватывает перевод, документы, глоссарии и синхронизацию файлов i18n с вашим API-ключом.

Сервер протокола Model Context Protocol (MCP), который предоставляет перевод текста DeepL, перевод документов, переформулирование, а также поиск глоссарий и правил стиля в виде инструментов MCP.

Использование

Вам нужен Node.js 18 или выше и ключ DeepL API. Выберите план API и создайте ключ в своём аккаунте DeepL.

Сервер взаимодействует через stdio, поэтому обычно запускается MCP-клиентом, а не вручную. Чтобы попробовать напрямую:

Он выходит немедленно, если DEEPL_API_KEY не установлен.

Что касается работы с самим сервером:

Конфигурация

Зарегистрируйте его как stdio сервер с DEEPL_API_KEY в среде сервера. В коде Клода:

Для клиентов, настроенных через JSON-файл:

Где находится этот файл и как каждый клиент ожидает объявления локальных stdio серверов:

  • Код Клода
  • Claude Desktop
  • Курсор
  • Код VS

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

deepl-mcp-server

[!NOTE] For the best experience and the latest features check out the DeepL remote MCP server to use DeepL in your AI agent. No installation required, just add it to Claude, ChatGPT, Microsoft Copilot or any MCP client and sign in with your DeepL account.

Working in a terminal or with a coding agent? Try the DeepL CLI. It covers translation, documents, glossaries and i18n file sync with your API key.

A Model Context Protocol (MCP) server that exposes DeepL text translation, document translation, rephrasing, and glossary and style rule lookups as MCP tools.

Usage

You need Node.js 18 or newer and a DeepL API key. Pick an API plan and create a key in your DeepL account.

The server communicates over stdio, so it is normally started by an MCP client rather than by hand. To try it directly:

DEEPL_API_KEY=your-api-key npx -y deepl-mcp-server

It exits immediately if DEEPL_API_KEY is not set.

To work on the server itself:

git clone https://github.com/DeepL/deepl-mcp-server.git
cd deepl-mcp-server
npm install

Configuration

Register it as a stdio server with DEEPL_API_KEY in the server’s environment. In Claude Code:

claude mcp add deepl --env DEEPL_API_KEY=your-api-key -- npx -y deepl-mcp-server

For clients configured through a JSON file:

{
  "mcpServers": {
    "deepl": {
      "command": "npx",
      "args": ["-y", "deepl-mcp-server"],
      "env": {
        "DEEPL_API_KEY": "your-api-key"
      }
    }
  }
}

Where that file lives and how each client expects local stdio servers to be declared:

To run a local checkout instead of the published package, use node as the command and the absolute path to src/index.mjs as the argument.

Tools

| Tool | Description | Parameters |

Открыть полный README на GitHub

Установка

npx -y deepl-mcp-server
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "deepl": { "command": "npx", "args": ["-y", "deepl-mcp-server"], "env": { "DEEPL_API_KEY": "your-api-key" } } } }