GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
FTP/FTPS/SFTP deployment · Déploiement FTP/FTPS/SFTP. Local confinement / Confinement local.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
FTP_MCP_CONFIG, FTP_MCP_LANG你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ftp-deploy": {
"command": "npx",
"args": [
"-y",
"ftp-deploy-mcp"
],
"env": {
"FTP_MCP_CONFIG": "your-value",
"FTP_MCP_LANG": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add ftp-deploy --env FTP_MCP_CONFIG=your-value --env FTP_MCP_LANG=your-value -- npx -y ftp-deploy-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ftp-deploy": {
"command": "npx",
"args": [
"-y",
"ftp-deploy-mcp"
],
"env": {
"FTP_MCP_CONFIG": "your-value",
"FTP_MCP_LANG": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ftp-deploy": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ftp-deploy-mcp"
],
"env": {
"FTP_MCP_CONFIG": "your-value",
"FTP_MCP_LANG": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
FTP_MCP_CONFIG envFTP_MCP_LANG env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 alebgl77 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.2)于20天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
The deploy button for AI coding agents.
Give Claude Code, Claude Desktop, Cursor, Windsurf, Trae, Antigravity, or any MCP client a focused way to list, read, upload, download, and deploy files on your own FTP, FTPS, and SFTP servers.
The stdio server implements MCP revision 2026-07-28 through the stable modular TypeScript SDK v2 and retains the SDK's legacy negotiation path for older MCP clients.
*Version française → README.fr.md*
CLI and MCP language: English by default; use --lang fr or FTP_MCP_LANG=fr. Language scope and precedence.
Purpose-built deployment controls keep credentials out of tool responses, support read-only servers and dry runs, and limit local file access with localRoot. The repository is covered by an extensive end-to-end suite that runs against local FTP and SFTP servers. There is no telemetry.
Availability: version 0.3.2 is published on
npm and the
Use
npx -y ftp-deploy-mcp@0.3.2for that version. The
is a separate source distribution;
maincan include later changes.
Registry visibility establishes availability, not locked dependency resolution
or qualification of a different commit. See the release guide.
Deployment modes: the ten base tools provide controlled transfers and dry runs. Enabling stateDir adds four durable tools with MCP confirmation, explicit resume and conservative rollback of acknowledged changes. These guarantees belong to the optional durable workflow; legacy ftp_deploy has no transaction or rollback.
| Document | English | Français |
|---|---|---|
| Overview and installation | README | README |
| Changes | Changelog | Modifications |
| Contributing | Guide | Guide |
| Security policy | Policy | Politique |
| Security model | Model | Modèle |
| Release process | Guide | Guide |
| Agent evaluation | Instructions | Instructions |
| Agent performance and client integration | Guide | Guide |
| Scripted MCP conformance | Guide | Guide |
| CLI and MCP languages | Guide | Guide |
| MCP error contract | Contract | Contrat |
| Verified staged transfers | Guide | Guide |
| Scan and admission limits | Limits | Limites |
| Durable state storage | Library | Bibliothèque |
| Durable workflow model | Model | Modèle |
| MIT license | Canonical text | Informative translation |
Explore the current and target architecture diagrams and illustrative scenarios in the bilingual interactive HTML guide. The guide and its English / French build instructions are in the repository, outside the npm package. After cloning, open site/index.html locally and use its language selector.
For reduced motion, view the static completed-state image. See the visual system provenance and generation notes.
The visual direction was explored with ChatGPT Image; the final README assets are rendered deterministically. Their provenance and exact prompts document their illustrative role; they are not a certification.
git clone https://github.com/alebgl77/ftp-deploy-mcp.git, then cd ftp-deploy-mcp.npm ci --omit=dev --ignore-scripts.npm run setup, then edit the generated server config: set an absolute localRoot, replace credentials, and configure the SFTP host-key pin or the FTP/FTPS safety acknowledgments described below.Call ftp_deploy with:
{"server":"prod","local_dir":"dist","remote_dir":"/","dry_run":true}
Windows users can run install.cmd and macOS/Linux users can run ./install.sh instead of steps 3–4. Review every generated server entry before the first connection.
For a tagged version, check out that exact tag before installing. npm ci uses the sole authoritative package-lock.json, with six exact direct pins and the reviewed graph. Keep it with the sources. --ignore-scripts disables automatic dependency lifecycle scripts; setup is a separate, explicit action.
Once published, the v0.3.2 source installation asset is named ftp-deploy-mcp-0.3.2-source.tar.gz: 90 files, including that lockfile. Verify its publication and checksums before extracting it in a fresh directory:
tar --ignore-zeros -xzf ftp-deploy-mcp-0.3.2-source.tar.gz
cd package npm ci --omit=dev --ignore-scripts node src/index.js setup
This installation archive excludes repository tests and maintainer scripts; GitHub's automatic source ZIP/tar contains the complete repository. The separate npm .tgz contains 89 files without a lockfile and follows npm dependency resolution. It provides no locked-install guarantee. See the release guide for verification and limits.
| Protocol | Transport identity | Remote-root behavior | Recommended use |
|---|---|---|---|
| SFTP | Encrypted. hostKeySha256 is required unless allowUnknownHostKey: true explicitly accepts impersonation risk. | realpath/lstat checks refuse symlink components and keep operations below root. A malicious or changing server can still create a race between validation and use. | Preferred. Pin a fingerprint verified out of band. |
| FTPS | Encrypted when certificate verification succeeds. insecureTLS: true also requires allowInsecure: true and disables MITM protection. | A client-side sub-root cannot be a reliable anti-symlink jail. root other than / is refused unless allowUnsafeRemoteRoot: true. | Use a dedicated, server-side chrooted account whose visible root is /. |
| FTP | Plaintext. Refused unless allowInsecure: true accepts interception and credential exposure. | Same limitation as FTPS: the real boundary is the server account/chroot, not lexical client path checks. | Legacy-only, on a trusted network, with a dedicated chrooted account. |
All three protocols also enforce localRoot for ftp_upload, ftp_deploy, and ftp_download. This limits which local files the MCP server can access.
stateDir is configured; confirmation and rollback follow the documented bounds.readOnly mode.doctor command.An explicit configuration path is authoritative:
--config FTP_MCP_CONFIG, when --config is absentAn empty, missing, unreadable, or invalid explicit configuration reports an error without falling back to another file. The MCP tools remain available to report the configuration problem. --config requires a path argument.
Without either selector, the first configuration found wins:
./ftp-servers.json~/.ftp-mcp/servers.jsonThe teaching example below is JSON with comments. Real configuration files must be strict JSON; start from ftp-servers.example.json.
{
"defaultServer": "prod", "stateDir": "/home/alice/.local/state/ftp-deploy-mcp", "requirePlan": true, "servers": { "prod": { "protocol": "sftp", "host": "ssh.example.com", "port": 22, "user": "deploy", "password": "${ENV:PROD_PASSWORD}", "privateKeyPath": "~/.ssh/id_ed25519", "passphrase": "${ENV:PROD_KEY_PASSPHRASE}", "localRoot": "/home/alice/projects/site", "root": "/var/www/site", "hostKeySha256": "SHA256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "readOnly": false } } }
Replace the all-A fingerprint; it is deliberately non-functional for a real host. Use hostKeySha256 as an array during a controlled key rotation:
"hostKeySha256": [
"SHA256:old_verified_43_character_base64_value_here", "SHA256:new_verified_43_character_base64_value_here" ]
The illustrative labels above show the shape but are not valid pins. Each real entry is exactly SHA256: plus 43 characters of unpadded base64.
| Field | Applies to | Meaning |
|---|---|---|
stateDir | top level | Optional absolute, normalized durable-state directory, canonically disjoint from every localRoot. Enabling it advertises the four durable workflow tools. |
requirePlan | top level | With stateDir, defaults to true. Blocks legacy remote mutators except ftp_deploy dry runs; false retains them under the same persistent alias lock. |
| stateLimits | top level | Optional strict durable quotas for state, backups, plans, opera
只显示了开头部分;其余内容请在仓库中阅读