Skip to main content
Glama
alebgl77

ftp-deploy-mcp

by alebgl77

ftp-deploy-mcp

Кнопка деплоя для ИИ-агентов, пишущих код. Claude Code · Claude Desktop · Cursor · Windsurf · Trae · Antigravity → ваши собственные FTP / FTPS / SFTP-серверы.

Французская версия → README.fr.md

CI License: MIT Node >=18 MCP compatible PRs welcome

Ваш агент выполняет деплой — вам нужно только попросить.


Зачем

  • Любой веб-проект в итоге упирается в одно: «теперь залей это на сервер».

  • ИИ-агенты пишут отличный код, но у большинства из них нет безопасного способа доставить его на классический хостинг — OVH, Ionos, Hostinger, o2switch и весь остальной мир общего хостинга до сих пор работают на FTP/SFTP, а не на git push.

  • ftp-deploy-mcp даёт любому MCP-клиенту путь для деплоя в вашу собственную инфраструктуру — в том же диалоге, где был написан код.

  • В отличие от универсальных MCP-серверов, которые выполняют SSH-команды, этот специально создан для развёртывания файлов: изоляция путей (path jail), режим только для чтения, dry-run и учётные данные, которые никогда не попадают в контекст модели.

Related MCP server: mcp-remote-ssh

Возможности

Возможность

Описание

Несколько серверов

FTP / FTPS / SFTP, любое количество серверов в одной конфигурации

Деплой одной командой

Рекурсивный деплой каталога, исключения в стиле gitignore на любой глубине, dry-run

Изоляция путей (path jail)

Каждая операция ограничена корнем root, заданным отдельно для каждого сервера

Режим только для чтения

Блокирует любые записи на серверах, которые должны оставаться нетронутыми

Импорт из FileZilla

Конвертация ваших существующих сайтов из sitemanager.xml одной командой

Автонастройка

Автоматически настраивает 5+ MCP-клиентов, создавая резервные копии конфигураций с меткой времени

Doctor

Read-only диагностика Node, конфигурации, серверов и подключения клиентов

Без сборки

Чистый ESM JavaScript — стандартная библиотека Node + 5 небольших зависимостей

Безопасно по умолчанию

Обычный FTP / непроверенный TLS отклоняются, если явно не разрешены для конкретного сервера

Проверено в бою

209 e2e-проверок на реальных локальных FTP + SFTP-серверах

Без телеметрии

С вашей машины ничего не уходит, кроме вызовов к вашим собственным серверам

Быстрый старт

  1. git clone https://github.com/alebgl77/ftp-deploy-mcp.git && cd ftp-deploy-mcp

  2. Запустите install.cmd (двойной клик, Windows) или ./install.sh (macOS / Linux).

  3. Перезапустите IDE и попросите агента: «Задеплой ./dist на прод».

Как это работает

flowchart LR
subgraph agents [AI agents]
  A[Claude Code]; B[Cursor]; C[Windsurf]; D[Trae]; E[Antigravity]
end
agents -- MCP stdio --> S[ftp-deploy-mcp<br/>10 tools · path jail · read-only guard]
S -- FTP / FTPS --> F[(your web hosts)]
S -- SFTP --> G[(your servers)]
K[ftp-servers.json<br/>credentials stay local] -.-> S

1. Что это

MCP-сервер (Model Context Protocol), работающий через stdio и предоставляющий вашему агенту 10 инструментов для написания кода. Учётные данные хранятся в локальном конфигурационном файле и никогда не проходят через контекст LLM. Каждая удалённая операция ограничена корнем root, который вы выбираете для каждого сервера.

Требуется Node.js >= 18. Никаких нативных зависимостей, требующих компиляции.


2. Установка

⚡ Установка одной командой (рекомендуется)

git clone https://github.com/alebgl77/ftp-deploy-mcp.git
cd ftp-deploy-mcp

Затем запустите мастер настройки:

  • Windows: двойной клик по install.cmd.

  • macOS / Linux: ./install.sh (при необходимости сначала выполните chmod +x install.sh).

  • Или вручную: npm install && npm run setup.

Мастер setup сделает всё за вас:

  • создаст или импортирует конфигурацию серверов (включая импорт из FileZilla ваших существующих сайтов);

  • проверит подключение к каждому серверу;

  • автоматически запишет конфигурационные файлы обнаруженных MCP-клиентов (Claude Code, Claude Desktop, Cursor, Windsurf, Antigravity) — с резервной копией .backup-<date> перед изменением любого существующего файла;

  • выведет (и скопирует) готовый к вставке блок для Trae, который настраивается через его интерфейс.

Затем перезапустите IDE и попросите агента, например: «Список моих FTP-серверов».

Диагностика и опции

В любой момент доступна read-only диагностика (ничего не записывает):

npm run doctor          # or: node src/index.js doctor

Она выводит версию Node, какой конфигурационный файл используется, список серверов (никогда — пароли) и — для каждого клиента — подключена ли запись ftp к этой установке.

Опции setup (node src/index.js setup [options]):

Опция

Действие

--yes

Неинтерактивный режим (сохраняет существующую конфигурацию или импортирует с помощью --from-filezilla).

--clients <all|none|id,id>

Клиенты для настройки (по умолчанию: все обнаруженные).

--from-filezilla [path]

Импорт из FileZilla (путь необязателен → расположение по умолчанию).

--config-dest <path>

Куда сохранить конфигурационный файл (по умолчанию ~/.ftp-mcp/servers.json).

--skip-test

Пропустить проверки подключения.

--dry-run

Показать запланированные действия и ничего не записывать.

--force

Заменить существующую, но отличающуюся запись ftp.

(b) Глобальная установка

npm install -g .

Команда ftp-deploy-mcp теперь в вашем PATH; используйте её вместо node .../src/index.js.

(c) Публикация в npm (для использования через npx -y)

Если вы опубликуете этот пакет в npm под своим именем, клиенты смогут запускать его без предварительной установки:

{ "command": "npx", "args": ["-y", "your-package-name"] }

3. Конфигурация серверов

Создайте файл ftp-servers.json. Сервер ищет его в следующем порядке (срабатывает первый найденный):

  1. --config <path> (флаг командной строки)

  2. переменная окружения FTP_MCP_CONFIG (путь к JSON)

  3. ./ftp-servers.json (рабочий каталог процесса)

  4. ~/.ftp-mcp/servers.json

Полная схема

{
  "defaultServer": "prod",          // optional: used when "server" is not given
  "servers": {
    "prod": {
      "protocol": "sftp",           // REQUIRED: "ftp" | "ftps" | "sftp"
      "host": "ssh.example.com",    // REQUIRED
      "port": 22,                    // optional (defaults: ftp/ftps 21, implicit ftps 990, sftp 22)
      "user": "deploy",             // REQUIRED
      "password": "${ENV:PROD_PW}", // optional: password (or an env placeholder)
      "privateKeyPath": "~/.ssh/id_ed25519", // optional (sftp); "~" is expanded
      "passphrase": "…",            // optional: private-key passphrase
      "root": "/var/www/site",      // optional (default "/"): ALL ops are jailed under it
      "readOnly": false,             // optional: blocks upload/deploy/mkdir/rename/delete
      "insecureTLS": false,           // optional (ftps): skip certificate checks — requires "allowInsecure"
      "implicitTLS": false,          // optional (ftps): implicit TLS (port 990, legacy servers)
      "allowInsecure": false         // optional: explicit opt-in REQUIRED for plain "ftp" or "insecureTLS"
    }
  }
}

Приведённый выше блок использует комментарии // только в учебных целях. Настоящий файл должен быть строгим JSON (без комментариев). См. ftp-servers.example.json.

Подстановка переменных окружения

Любое строковое значение может содержать ${ENV:VARIABLE_NAME}. При запуске оно заменяется значением переменной окружения. Если переменная не задана, инструменты возвращают понятную ошибку с указанием отсутствующей переменной.

"password": "${ENV:OVH_FTP_PASSWORD}"

Советы по безопасности

  • Предпочитайте SFTP. Обычные ftp и ftps с insecureTLS: true отклоняются по умолчанию: на этих транспортах сетевой злоумышленник может перехватить или изменить учётные данные и файлы. Чтобы всё же использовать такой транспорт, необходимо явно задать для сервера "allowInsecure": true — и тогда каждый лог запуска и результат работы инструментов будет содержать заметное предупреждение о безопасности.

  • Добавьте ftp-servers.json в ваш .gitignore (в этом репозитории это уже сделано).

  • Ограничьте права доступа к файлу (chmod 600 ftp-servers.json в Unix).

  • Предпочитайте переменные окружения (${ENV:…}) или SSH-ключ вместо пароля в открытом виде.

  • Используйте readOnly: true для серверов, на которые агент никогда не должен записывать.

  • Задавайте root максимально узким: изоляция не позволит выйти за пределы через ../.


4. Импорт из FileZilla

У вас уже есть сайты в FileZilla? Сконвертируйте их:

# Auto-detect the default sitemanager.xml location…
node src/index.js import-filezilla

# …or an explicit file, written to an ftp-servers.json
node src/index.js import-filezilla --file /path/sitemanager.xml --out ./ftp-servers.json

Без --out JSON выводится в stdout. Пароли в кодировке Base64 декодируются; сайты без сохранённого пароля получают заполнитель ${ENV:<NAME>_PASSWORD} (переменную вы задаёте сами). Пример вывода:

{
  "defaultServer": "my-site",
  "servers": {
    "my-site": {
      "protocol": "ftp",
      "host": "ftp.example.com",
      "user": "deploy",
      "password": "…",
      "root": "/www/html"
    }
  }
}

Внимание: сгенерированный файл содержит декодированные пароли в открытом виде — не храните его в системе контроля версий (.gitignore) и ограничьте права доступа (chmod 600).

Сайты на обычном FTP: импортированные серверы с "protocol": "ftp" (как в примере выше) отклоняются при подключении, пока вы не переключите их на sftp/ftps или явно не зададите для них "allowInsecure": true — импорт выводит предупреждение для каждого такого сервера. См. Безопасность.


5. Настройка клиентов вручную (если вы не используете setup)

npm run setup записывает эти файлы автоматически (с резервными копиями). Этот раздел пригодится, только если вы предпочитаете настроить всё вручную.

Замените /absolute/path/to/ftp-deploy-mcp/src/index.js на реальный путь (прямые слэши / работают и в Windows). Если вы опубликовали пакет в npm, замените "command": "node", "args": ["…/src/index.js"] на "command": "npx", "args": ["-y", "your-package-name"].

Расположения файлов ниже — стандартные на момент написания; интерфейсы этих продуктов развиваются, поэтому при необходимости сверяйтесь с их документацией.

Claude Code

.mcp.json в корне проекта:

{
  "mcpServers": {
    "ftp": {
      "command": "node",
      "args": ["/absolute/path/to/ftp-deploy-mcp/src/index.js"]
    }
  }
}

Или одной командой:

claude mcp add ftp -- node /absolute/path/to/ftp-deploy-mcp/src/index.js

Claude Desktop

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "ftp": {
      "command": "node",
      "args": ["/absolute/path/to/ftp-deploy-mcp/src/index.js"]
    }
  }
}

Cursor

~/.cursor/mcp.json (глобально) или .cursor/mcp.json (для проекта):

{
  "mcpServers": {
    "ftp": {
      "command": "node",
      "args": ["/absolute/path/to/ftp-deploy-mcp/src/index.js"]
    }
  }
}

Windsurf

~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "ftp": {
      "command": "node",
      "args": ["/absolute/path/to/ftp-deploy-mcp/src/index.js"]
    }
  }
}

Trae

У Trae нет стабильного конфигурационного файла — всё делается через его интерфейс. Панель ИИ-чата → Settings/шестерёнка → MCP → AddConfigure Manually, затем вставьте (это блок, который setup выводит и копирует в буфер обмена):

{
  "mcpServers": {
    "ftp": {
      "command": "node",
      "args": ["/absolute/path/to/ftp-deploy-mcp/src/index.js"]
    }
  }
}

Antigravity

В зависимости от версии это один из файлов:

  • ~/.gemini/antigravity/mcp_config.json

  • вариант: ~/.gemini/config/mcp_config.json

{
  "mcpServers": {
    "ftp": {
      "command": "node",
      "args": ["/absolute/path/to/ftp-deploy-mcp/src/index.js"]
    }
  }
}

Вы также можете воспользоваться панелью MCP агента (управление MCP-серверами) → добавить сервер, используя ту же структуру.


6. 10 инструментов

Все удалённые пути (path, remote_path, …) относительны корня root сервера и используют стиль POSIX. Параметр server всегда необязателен (см. порядок определения ниже).

Tool

Параметры

Описание

ftp_list_servers

(нет)

Список настроенных серверов (протокол, хост, порт, корень, только чтение, тип аутентификации). Никогда не пароль.

ftp_test

server?

Подключиться, вывести список корневого каталога, подтвердить успех.

ftp_list

server?, path?

Вывести список удалённого каталога (сначала каталоги).

ftp_read

server?, path, max_bytes?

Прочитать текстовый файл (по умолчанию 262144, максимум 1048576 байт). Отказывается читать бинарные файлы.

ftp_upload

server?, local_path, remote_path?

Загрузить один файл с созданием родительских каталогов.

ftp_deploy

server?, local_dir, remote_dir?, include?, exclude?, dry_run?

Рекурсивно развернуть каталог по одному соединению, с исключениями по умолчанию. dry_run работает даже на сервере только для чтения (readOnly).

ftp_download

server?, remote_path, local_path, overwrite?

Скачать файл; отказывается перезаписывать, если не указано overwrite: true.

ftp_mkdir

server?, path

Создать каталог (рекурсивно).

ftp_rename

server?, from_path, to_path

Переименовать или переместить.

ftp_delete

server?, path, recursive?

Удалить файл; для каталога требуется recursive: true. Никогда не корень.

Определение сервера: явный параметр serverdefaultServer → единственный сервер, если он только один → в противном случае ошибка со списком доступных имён.

Исключения по умолчанию для ftp_deploy: **/node_modules/**, **/.git/**, .env, .env.*, *.log, .DS_Store, Thumbs.db, ftp-servers.json, **/.ftp-mcp/** (ваши glob-шаблоны exclude добавляются; include ограничивает набор соответствующими файлами). Шаблоны без слеша совпадают на любой глубине (как в gitignore): вложенный apps/api/.env тоже исключается.


7. Примеры запросов

  • «Развернуть ./dist на сервере prod.»

  • «Показать, что находится в /www на ovh.»

  • «Забрать .htaccess с prod и показать мне.»

  • «Сделать пробный запуск развёртывания ./build в /www, чтобы я увидел, что будет отправлено.»

  • «Переименовать index.old.html в index.html на prod.»


8. Безопасность

  • Безопасные транспорты по умолчанию: обычный FTP и FTPS с отключённой проверкой сертификата (insecureTLS: true) отклоняются, если в записи сервера явно не указано "allowInsecure": true. Если разрешено, предупреждение о безопасности показывается при запуске, в ftp_list_servers, в doctor и добавляется к каждому результату вызова инструмента для этого сервера.

  • Корневая изоляция: каждая операция нормализуется, а затем проверяется, что она остаётся в пределах корня (root) сервера. Любая попытка выхода за пределы (../…) отклоняется, даже если root равен /.

  • Только чтение: readOnly: true блокирует все операции записи (загрузка, развёртывание, mkdir, переименование, удаление); чтение продолжает работать.

  • Учётные данные вне LLM: пароли, кодовые фразы и ключи никогда не возвращаются в результатах работы инструментов.

  • Никакой телеметрии, никаких исходящих соединений, кроме как к вашим собственным серверам.

  • Соединение на каждый вызов: каждый инструмент открывает соединение, выполняет операцию и закрывает его — постоянной сессии нет.


9. Устранение неполадок

  • Тайм-аут / невозможно подключиться (FTP): обычно пассивный режим блокируется брандмауэром. Убедитесь, что пассивные порты вашего сервера доступны.

  • Аутентификация по ключу SFTP: укажите privateKeyPath (~ раскрывается) и, если ключ зашифрован, passphrase. Проверьте права доступа к ключу.

  • «INSECURE CONNECTION REFUSED»: сервер использует обычный FTP или FTPS с отключённой проверкой сертификата. Переключите его на sftp (или ftps с действительным сертификатом) или — только если вы полностью принимаете риск перехвата — укажите "allowInsecure": true для этого сервера.

  • Самоподписанный FTPS: insecureTLS: true принимает непроверенный сертификат. Это отключает защиту от атак «человек посередине», поэтому также требует "allowInsecure": true и выводит предупреждение о безопасности при каждом вызове. Предпочтительнее установить действительный сертификат.

  • Неявный FTPS (порт 990): укажите implicitTLS: true (протокол ftps) для устаревших серверов, которые шифруют с первого байта, без команды AUTH TLS.

  • «no server configured»: файл не найден ни в одном из 4 мест. Создайте ftp-servers.json или передайте --config <path> / FTP_MCP_CONFIG=<path>.

  • Клиент не видит инструменты после setup: полностью перезапустите IDE (закройте все окна, а не только проект), затем проверьте подключение с помощью npm run doctor.

  • Сервер запускается, несмотря на недопустимую конфигурацию: это сделано намеренно (клиенты MCP не любят серверы, которые умирают при запуске). Точная ошибка выводится в stderr при запуске и возвращается при каждом вызове инструмента.


Разработка

npm test          # runs the full smoke test (local FTP + SFTP, no external network)
node src/index.js --version
node src/index.js --help

Участие в разработке

Вклад приветствуется — см. CONTRIBUTING.md с описанием настройки разработки, принципов проекта и чек-листа для pull request.

Безопасность

Нашли уязвимость? Пожалуйста, не открывайте публичный issue — см. SECURITY.md о том, как сообщить о ней конфиденциально.

Лицензия

MIT — см. LICENSE.

Available Tools

8 tools
ftp_deleteDelete a remote file or directoryA

Delete a remote file, or a directory when recursive:true. Never deletes the server root.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesRemote path to delete, relative to the server root.
serverNoName of the configured server. Defaults to the configured default, or the sole server.
recursiveNoRequired to delete a directory and its contents.

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden. It discloses the recursive behavior for directories and a safety guarantee about not deleting server root. However, it does not mention error handling, confirmation requirements, or return values, leaving gaps for a destructive operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the primary function, and a second sentence for an important safety constraint. No extraneous information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the essential behavior and a key constraint, but lacks details on return values, error conditions, or what happens when path does not exist. For a destructive operation without output schema, more completeness would be beneficial.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with good parameter descriptions. The tool description adds value by explicitly linking the 'recursive' parameter to directory deletion and adding the safety constraint about server root, which is not in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states the action (delete) and the resource (remote file or directory), with a condition for directories (recursive:true). Distinguishes from sibling tools which perform different operations like list, upload, download.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides implicit usage via the description of functionality, but no explicit when-to-use or when-to-avoid compared to siblings. The safety note 'Never deletes the server root' offers a constraint but not usage guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

ftp_deployDeploy a local directoryA

Recursively upload a local directory to the server over a single connection, applying default and custom exclude globs (and optional include globs). Supports dry_run.

ParametersJSON Schema
NameRequiredDescriptionDefault
serverNoName of the configured server. Defaults to the configured default, or the sole server.
dry_runNoIf true, list what would be uploaded without connecting.
excludeNoExtra glob patterns to exclude, added to the built-in defaults.
includeNoGlob patterns; when given, a file must match at least one to be uploaded.
local_dirYesLocal directory to deploy (relative paths resolve against the process cwd).
remote_dirNoDestination remote directory, relative to the server root. Defaults to the root.

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description reveals some behaviors (recursive upload, single connection, glob application, dry_run) but omits details like default excludes, error handling, permission requirements, and return values. The mention of default excludes is helpful but incomplete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences front-load the main action and critical features (recursive upload, connection, globs, dry_run). No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the main functionality for a moderately complex tool (6 params, no output schema), but lacks details on default excludes, error behavior, and return values. It does not fully compensate for missing annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with clear parameter descriptions. The description adds context about recursion and glob behavior, but adds little beyond the schema's own descriptions. Baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'upload' and the resource 'local directory', and highlights key features: recursive, single connection, exclude/include globs, dry_run. It distinguishes from sibling tools like ftp_upload (single file) and ftp_download.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for bulk deployment via 'recursively upload a local directory' and 'over a single connection', but does not explicitly state when to use versus alternatives. No when-not or exclusion guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

ftp_downloadDownload a remote fileA

Download a remote file to a local path, auto-creating local parent directories. Refuses to overwrite unless overwrite:true.

ParametersJSON Schema
NameRequiredDescriptionDefault
serverNoName of the configured server. Defaults to the configured default, or the sole server.
overwriteNoAllow overwriting an existing local file.
local_pathYesLocal destination path (relative paths resolve against the process cwd).
remote_pathYesRemote file path, relative to the server root.

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses two important non-obvious behaviors: auto-creating parent directories and refusing overwrite unless overwrite:true. It does not mention error handling or return value, but the core behaviors are well-covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences with no fluff. It is front-loaded with the main action and immediately provides key constraints.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description could mention the return value or success status. However, it adequately describes the side effects (auto-create directories, overwrite behavior). It does not cover what happens on error or missing remote file, which would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. The description adds context about auto-creating directories and overwrite behavior, but does not add parameter-specific details beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it downloads a remote file to a local path, and adds key behaviors (auto-creating parent directories, overwrite guard). This distinguishes it from siblings like ftp_upload, ftp_list, ftp_delete, etc.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage (download vs upload), but does not explicitly mention when to use this tool versus alternatives like ftp_deploy or ftp_list. No exclusion or alternative tool names are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

ftp_listList a remote directoryB

List the contents of a remote directory (relative to the server root). Directories are listed first.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathNoRemote directory, relative to the server root. Defaults to the root.
serverNoName of the configured server. Defaults to the configured default, or the sole server.

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden of behavioral disclosure. It only mentions that 'Directories are listed first', but does not disclose whether the operation is read-only, authentication requirements, error handling, or any side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise, consisting of two short sentences. Every sentence adds value: the first defines the purpose, the second adds a behavioral detail. It is front-loaded and free of unnecessary information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple list tool with no output schema, the description is minimally adequate. It does not specify the format of returned data (e.g., full paths, file sizes, dates) or behavior for invalid paths, leaving some ambiguity for the agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema provides complete descriptions for both parameters (path and server), achieving 100% coverage. The description adds no further meaning beyond what the schema already states, earning a baseline score of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the tool's action: 'List the contents of a remote directory'. It specifies that paths are relative to the server root and that directories are listed first, which distinguishes it from sibling tools like ftp_list_servers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use ftp_list versus its siblings. The description lacks explicit context about when to choose this tool over ftp_list_servers, ftp_download, or other file operations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

ftp_list_serversList configured serversA

List all configured FTP/FTPS/SFTP servers (name, protocol, host, port, root, read-only, auth kind) and which is default. Never reveals passwords or keys.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses that passwords/keys are never revealed and lists output fields, but omits details like speed, authentication requirements, or whether it caches results. For a list tool, this is adequate but not thorough.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no superfluous words. It front-loads the action and resource, then provides specifics. Every sentence serves a purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and low complexity (zero parameters), the description sufficiently covers what the tool returns (list of server details) and a critical behavioral note (no secrets leaked). It could describe the output format (e.g., array of objects) but the listed fields compensate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so schema coverage is effectively 100%. The description adds value by enumerating the output fields and adding a security guarantee, which based on the guidelines yields a baseline of 4 with no penalty.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'List' and identifies the resource as 'all configured FTP/FTPS/SFTP servers'. It explicitly enumerates the fields returned (name, protocol, etc.), distinguishing it from sibling tools that perform file operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

While no explicit when-to-use or alternatives are stated, the context of sibling tools (all action-oriented) implies this tool is for pre-operation configuration review. A note on when to use (e.g., before downloading) would improve clarity.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

ftp_mkdirCreate a remote directoryB

Recursively create a remote directory (relative to the server root).

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesRemote directory to create, relative to the server root.
serverNoName of the configured server. Defaults to the configured default, or the sole server.

TDQS

B3.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden. It discloses recursion and relativity, but fails to mention authorization needs, side effects, error handling (e.g., if directory exists), or success criteria.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded, and free of verbose or redundant content. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple directory creation tool, the description is fairly complete. It covers recursion and path relativity. Lacks error behavior and return value info, but output schema is absent and tool is straightforward.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for both parameters. The description adds no additional meaning beyond the schema; it simply restates the path property. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action (create) and resource (remote directory), with additional specificity: 'recursively' and 'relative to the server root'. It distinguishes the tool from siblings like ftp_list, ftp_download, etc.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool vs alternatives (e.g., ftp_upload, ftp_deploy). The description only states what the tool does, not under what circumstances it should be chosen.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

ftp_testTest a server connectionA

Connect to a server, list its root directory, and report success.

ParametersJSON Schema
NameRequiredDescriptionDefault
serverNoName of the configured server. Defaults to the configured default, or the sole server.

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses three actions (connect, list, report success) but does not clarify what 'report success' entails (e.g., return value, success indicator) or whether there are side effects. Moderately transparent but incomplete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence that is concise, front-loaded, and contains no superfluous information. Every word adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simplicity of the tool (one optional parameter, no output schema), the description is sufficiently complete. It could mention what the tool returns, but the key actions are covered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The sole parameter 'server' is described in the input schema with default behavior. The tool description adds no further meaning beyond the schema, so it meets the baseline for full schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it connects to a server, lists root directory, and reports success. It distinguishes itself from sibling tools like ftp_list (which likely lists a specific path) and ftp_list_servers (which lists configured servers).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for testing connectivity, but does not explicitly state when to use this tool versus alternatives like ftp_list (for listing files) or ftp_list_servers (for viewing server configurations). No when-not-to-use guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

ftp_uploadUpload a local fileA

Upload one local file to the server, auto-creating parent directories. Remote path defaults to the file basename at the root.

ParametersJSON Schema
NameRequiredDescriptionDefault
serverNoName of the configured server. Defaults to the configured default, or the sole server.
local_pathYesLocal file path (relative paths resolve against the process cwd).
remote_pathNoDestination remote path, relative to the server root. Defaults to the local basename at the root.

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It discloses that the tool auto-creates parent directories and sets a default remote path. However, it does not mention overwrite behavior, error handling, or authentication requirements, leaving some gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single clear sentence, front-loaded with the core action and key behavioral traits. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 3 parameters, no output schema, and no annotations, the description covers the main purpose and two behavioral details. Missing information on success/failure response, overwrite policy, and prerequisites, but sufficient for basic understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the description reinforces the default behavior for remote_path. It adds value with auto-creation context but does not significantly extend beyond schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'upload' and the resource 'local file' to the server, with specifics about auto-creating parent directories and default remote path. It effectively distinguishes from sibling tools like ftp_download, ftp_list, etc.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for uploading a single file to the server, with details on auto-creation and default path. It does not explicitly state when not to use it or mention alternatives, but the context is clear enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 8 tool updatesv0.1.0
    • First observedftp_delete
    • First observedftp_deploy
    • First observedftp_download
    • First observedftp_list
    • First observedftp_list_servers
    • First observedftp_mkdir
    • First observedftp_test
    • First observedftp_upload

TDQS

A4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: server listing, download, directory creation, deletion, connectivity test, directory listing, file upload, and directory deployment. No ambiguity between tools.

Naming Consistency5/5

All tools follow a consistent 'ftp_' prefix with snake_case verbs (e.g., ftp_list_servers, ftp_download). Naming is predictable and uniform.

Tool Count5/5

8 tools cover the essential operations for an FTP deployment server without being excessive or insufficient. The count is well-scoped.

Completeness4/5

Core CRUD operations are covered (list, download, upload, delete, mkdir) plus deployment and connection testing. Minor gaps like rename or file info are not critical for the deployment focus.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    An enterprise-grade MCP server for FTP and SFTP operations optimized for AI coding assistants, featuring smart synchronization, connection pooling, and unified diff patching.
    28
    42
    2
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    MCP server giving AI agents full SSH access with persistent sessions, structured command output, SFTP file transfer, and port forwarding.
    18
    10
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that gives AI agents SSH capabilities to execute commands, transfer files, and inspect remote systems through a preconfigured host list.
    84
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that enables AI assistants to perform development operations on remote servers via SSH, including executing commands, managing files, and browsing directories.
    1
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alebgl77/ftp-deploy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server