
A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

A Model Context Protocol server exposing tools to manage files on FTP, FTPS, and SFTP servers, available as a hosted service or a local install.
MCP server for FTP, FTPS, and SFTP file management is cataloged as an MCP server attributed to alxspiker. A Model Context Protocol server exposing tools to manage files on FTP, FTPS, and SFTP servers, available as a hosted service or a local install. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for FTP, FTPS, and SFTP file management are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, FTP_USER, FTP_PASSWORD, and FTP_PASSPHRASE can be stored as AES-256-GCM encrypted values using the enc: format.
Yes, an optional FTP_HOST_KEY_SHA256 setting pins the server host key and refuses the connection if a different key is presented.
README.md · 7371dae7ccfa · 采集于 2026-11-13 09:56:14 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Use the hosted FTP MCP server on Apify for remote access, or install the free local version below. See APIFY.md for hosted setup and pricing details.
This Model Context Protocol (MCP) server provides file-management tools for FTP, FTPS, and SFTP servers. It supports directory listing, binary-safe downloads/uploads, text edits, appends, renames/moves, directory creation, and deletion.
FTP_PROTOCOL=ftp and FTP_SECURE=true.FTP_SECURE does not apply to it.FTP_HOST_KEY_SHA256)mcp-server-ftp)A Cursor plugin directory listing is pending review.
The server is published as mcp-server-ftp:
{
"mcpServers": {
"ftp-server": {
"command": "npx",
"args": ["-y", "mcp-server-ftp"],
"env": {
"FTP_HOST": "ftp.example.com"
}
}
}
}
The repository is also a Cursor plugin: .cursor-plugin/plugin.json plus mcp.json, which runs npx -y mcp-server-ftp as ftp-server. Each FTP_* setting below is a plugin variable you set when installing or configuring the plugin in Cursor.
git clone https://github.com/alxspiker/mcp-server-ftp.git
cd mcp-server-ftp
npm install
npm run build
{
"mcpServers": {
"ftp-server": {
"command": "node",
"args": ["/absolute/path/to/mcp-server-ftp/build/index.js"],
"env": {
"FTP_HOST": "ftp.example.com",
"FTP_PORT": "21",
"FTP_PROTOCOL": "ftp",
"FTP_USER": "your-username",
"FTP_PASSWORD": "your-password"
}
}
}
}
FTPS uses the normal FTP client with TLS enabled:
{
"mcpServers": {
"ftp-server": {
"command": "node",
"args": ["/absolute/path/to/mcp-server-ftp/build/index.js"],
"env": {
"FTP_HOST": "ftps.example.com",
"FTP_PORT": "21",
"FTP_PROTOCOL": "ftp",
"FTP_SECURE": "true",
"FTP_USER": "your-username",
"FTP_PASSWORD": "your-password"
}
}
}
}
FTP_SECURE is only meaningful when FTP_PROTOCOL=ftp. It is ignored by the SFTP path because SFTP is already encrypted over SSH.
For a trusted FTPS server with a self-signed certificate, add "FTP_TLS_REJECT_UNAUTHORIZED": "false" to the FTPS env object. This keeps TLS encryption but disables certificate and hostname verification, so use it only when you independently trust the server and network. Verification stays enabled by default. This setting requires FTP_SECURE=true and FTP_PROTOCOL=ftp.
{
"mcpServers": {
"ftp-server": {
"command": "node",
"args": ["/absolute/path/to/mcp-server-ftp/build/index.js"],
"env": {
"FTP_HOST": "sftp.example.com",
"FTP_PORT": "22",
"FTP_PROTOCOL": "sftp",
"FTP_USER": "your-username",
"FTP_PRIVATE_KEY_PATH": "~/.ssh/id_ed25519",
"FTP_PASSPHRASE": "your-key-passphrase"
}
}
}
}
| Environment variable | Applies to | Description | Default |
|---|---|---|---|
FTP_HOST | all | Server hostname or IP address | localhost |
FTP_PORT | all | Server port | 21 for FTP/FTPS, 22 for SFTP |
FTP_PROTOCOL | all | ftp or sftp | ftp |
FTP_USER | all | Username; supports encrypted enc: values | anonymous |
FTP_PASSWORD | all | Password; supports encrypted enc: values | empty |
FTP_SECURE | FTP/FTPS only | Enables TLS/FTPS for the FTP client | false |
FTP_TLS_REJECT_UNAUTHORIZED | FTPS only | Verify the FTPS certificate and hostname; false allows a trusted self-signed certificate but disables identity checks | true |
FTP_PRIVATE_KEY_PATH | SFTP only | SSH private-key path or op:// 1Password secret reference | auto-detect |
FTP_PASSPHRASE | SFTP only | SSH private-key passphrase; supports encrypted enc: values | empty |
FTP_HOST_KEY_SHA256 | SFTP only | Optional SHA-256 fingerprint of the server host key, as base64. A leading SHA256: prefix is accepted. When set, the connection is refused if the server presents a different key. | unset |
FTP_ENCRYPTION_KEY | encrypted credentials | 64-character hex AES-256 key. Prefer the OS keychain or a global environment variable for local installs. | disabled |
FTP_LOCAL_ROOTS | local file tools | Local directories upload-local-file may read from and download-to-local may write into, separated by : (macOS/Linux) or ; (Windows). ~ is expanded. | disabled |
SFTP supports private-key and password authentication.
The server looks for a private key in this order:
FTP_PRIVATE_KEY_PATH, if set~/.ssh/id_ed25519~/.ssh/id_rsa~/.ssh/id_ecdsaIf no key is found, FTP_PASSWORD is used.
FTP_HOST_KEY_SHA256 is optional. Set it to the host key's SHA-256 fingerprint (base64, or the SHA256: form printed by ssh-keygen -lf). The client then connects only when the server presents that key. Leave it unset to keep the previous, unpinned behavior.
FTP_PRIVATE_KEY_PATH may contain a 1Password secret reference instead of a filesystem path:
"FTP_PRIVATE_KEY_PATH": "op://Private/my-server/private key"
Requirements:
op) must be installed and available on PATH.OP_SERVICE_ACCOUNT_TOKEN.The key is resolved lazily, cached in memory for the process, and is not written to disk.
If the SSH server rejects 1Password's default exported key format, request OpenSSH format:
"FTP_PRIVATE_KEY_PATH": "op://Private/my-server/private key?ssh-format=openssh"
FTP_USER, FTP_PASSWORD, and FTP_PASSPHRASE may be stored as AES-256-GCM encrypted values using the enc: format.
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
npm run build
npm run store-key -- <your-64-char-hex-key>
The server loads the key from macOS Keychain, Windows Credential Manager, or Linux Secret Service when available.
Alternatively, set the key globally in the process environment:
export FTP_ENCRYPTION_KEY=<your-64-char-hex-key>
Do not place FTP_ENCRYPTION_KEY beside the encrypted credentials in the same local MCP config unless your deployment environment gives you no separate secret-storage mechanism.
npm run build
FTP_ENCRYPTION_KEY=<your-64-char-hex-key> npm run encrypt-env -- <plaintext-value>
If the key is already available from the OS keychain or shell environment:
npm run encrypt-env -- <plaintext-value>
| Tool | Description |
|---|---|
list-directory | List contents of a remote directory |
download-file | Download a file; binary content is returned as base64 |
upload-file | Upload text or base64-encoded binary content |
create-directory | Create a directory |
delete-file | Delete a file |
delete-directory | Delete a directory |
rename-file | Rename or move a file or directory |
edit-file | Replace exact text in a remote text file |
append-file | Append content to a file, creating it if needed |
upload-local-file | Upload a local file by path, streamed; checks the remote size afterwards (needs FTP_LOCAL_ROOTS) |
download-to-local | Download a remote file to a local path, streamed, without returning its contents (needs FTP_LOCAL_ROOTS) |
Tool calls return machine-readable structuredContent, and all eleven tools advertise output schemas. Version 1.2.2 introduced a compatibility shim that ensures advertised schemas use the JSON Schema 2020-12 dialect required by current MCP clients.
On SFTP, list-directory reports symlink for symbolic links and other for sockets, devices, and anything else that is not a regular file or directory. Those entries used to be reported as file. fileCount counts only regular files. FTP listings are unchanged.
upload-file and download-file pass file contents through the tool call itself, which suits small text files. For anything larger, such as a built single-page app or an image, the agent would have to write the whole file into the request, which most clients cannot do. upload-local-file and download-to-local instead take a path on the computer running this server and stream the file directly, so size is limited only by the connection.
They are disabled until you list the folders they may use:
"env": {
"FTP_HOST": "ftp.example.com",
"FTP_USER": "your-username",
"FTP_PASSWORD": "your-password",
"FTP_LOCAL_ROOTS": "~/Sites/build:~/Downloads/uploads"
}
O_NOFOLLOW where the platform has it), so the file can't be swapped between the check and the transfer.download-to-local writes to a temporary file with a random name, created exclusively (O_CREAT | O_EXCL, plus O_NOFOLLOW where available) beside the target, and writes through its descriptor only, so a file or symbolic link planted at that name can't redirect the download.overwrite false (the default), the finished download is committed with a no-replace operation (a hard link, or an exclusive copy where the file system has no hard links), so a file that appears at the target during the download is never replaced. With overwrite: true it is renamed over the target. An existing symbolic link at the target is refused, and the temporary file is removed on success and on failure.upload-local-file reports the file's size and SHA-256, and compares the size the server reports afterwards (FTP SIZE or SFTP stat) with the local size.HOL Guard has an opt-in FTP MCP profile (mcp.ftp, catalog ID command.mcp-ftp), merged in PR #4514. Use a HOL Guard release or source build that includes this contribution; releases published before the merge do not include it.
To use the profile:
npx mcp-server-ftp, as shown in the npm configuration.When enabled, delete-directory requires human review before recursively deleting a remote directory and its contents. The other tools and unknown tools inherit the existing Guard policy. Custom grants on the device take precedence over the contributed defaults, and stronger protection requirements remain effective.
The profile is off by default. It matches npm package launches through npx; direct node build/index.js launches are outside this profile.
FTP_SECURE=true only for FTPS servers using the FTP protocol path.FTP_LOCAL_ROOTS is set. Keep the list to folders you are happy for the agent to publish from or download into; anything inside them can be uploaded to the server.npm install.npm run build or npx tsc.node build/index.js.MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for FTP, FTPS, and SFTP file management from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-ftp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.