# FTP / FTPS / SFTP File Manager

> Let your AI agent manage files on FTP, FTPS and SFTP servers: list, download, upload, edit, rename and delete, with safe-use rules. Uses the free open-source mcp-server-ftp (github.com/alxspiker/mcp-server-ftp).

FTP / FTPS / SFTP File Manager is a free AI agent skill on Agensi by Alx Spiker, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Alx Spiker](https://www.agensi.io/creators/alx-spiker)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Uses: 4
- Version: 1.0
- Last updated: 2026-10-15
- Security: scan passed (2026-10-15); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ftp-ftps-sftp-file-manager
- Tags: devops, web-design, ftp, sftp, ftps, mcp, file-management, web-hosting

## About this skill

Interacting with remote servers via FTP, FTPS, or SFTP usually requires context-switching to a dedicated client or terminal. This skill enables your agent to manage remote files and directories directly through the `mcp-server-ftp` protocol. It provides a structured way to handle deployments, server-side hotfixes, and log inspections without leaving your development environment.

### What it does
- **Remote file operations** Download, upload, or append to files on FTP/SFTP servers.
- **Directory management** List, create, move, or delete folders on the remote host.
- **Granular editing** Modify specific text snippets within remote files to avoid full re-uploads.
- **Safe deployments** Orchestrate the transfer of build artifacts to production or staging environments.
- **Resource auditing** Inspect file sizes and directory structures to manage server storage.

### How it works
1. **Target Discovery** Use `list-directory` to map out the remote path and confirm file existence.
2. **Context Retrieval** Download the specific file or log to analyze current content.
3. **Execution** Apply changes via `edit-file` for small patches or `upload-file` for new assets.
4. **Verification** Confirm the operation succeeded by re-listing or re-downloading the modified resource.

### Frameworks & tools
This skill is designed for the `mcp-server-ftp` MCP server. It supports standard FTP, FTPS (with TLS), and SFTP (SSH File Transfer Protocol). It integrates with MCP-compliant environments like Claude Desktop, Claude Code, and Cursor.

### Why this beats prompting it yourself
Generic agents often struggle with the stateful nature of FTP connections and the risks of overwriting critical files. This skill enforces a "look before you touch" workflow, ensuring the agent verifies paths, handles binary/text modes correctly, and follows backup protocols before performing destructive actions.

### Use cases
- **Hotfixing live sites** Fix typos or logic errors in `index.php` or `.htaccess` directly on the server.
- **Log analysis** Retrieve and summarize large log files from `/var/log` without manual SSH sessions.
- **Asset deployment** Move local build folders to a remote web root while preserving existing directory structures.
- **Server cleanup** Identify and remove old backups or temporary files based on directory listings.

### Known limitations
Requires manual installation of the mcp-server-ftp NPM package. Performance is bound by server latency and bandwidth. Destructive actions require manual user confirmation.

## Requires

- Ftp MCP

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the FTP / FTPS / SFTP File Manager skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does the FTP File Manager skill improve my development workflow?

This skill allows your AI agent to perform complex file operations like uploading, downloading, and editing files directly on remote servers using FTP, FTPS, and SFTP protocols without you having to switch to an external client.

### Which AI agents and environments are compatible with this skill?

It is fully compatible with any environment that supports the Model Context Protocol (MCP), including Claude Desktop, Claude Code, and Cursor.

### What are the technical requirements for setting up this skill?

Setup requires installing the `mcp-server-ftp` NPM package and configuring your server credentials; once linked, your agent can autonomously discover and manage the remote file structure.

### Does this skill support secure connections like SFTP and FTPS?

Yes, the skill is designed to handle standard FTP, encrypted FTPS (via TLS), and SFTP (via SSH), ensuring you can manage files across both legacy and secure modern server environments.

### How does the skill handle safety and prevent accidental file deletions?

To prevent accidental data loss, the skill follows a 'verify-before-action' workflow and requires manual user confirmation before executing destructive commands like deleting or overwriting files.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
