ftpmcp
🗃️ftpmcp🗃️
FTPおよびFTPSのファイル操作に特化した、Model Context Protocolサーバーです。意図的にSFTPは実装していません。SSHベースの転送は、ここで認証情報と転送ロジックを重複させる代わりに、SSH用のMCPサーバーに委ねるべきものです。
기능
プレーンFTP、明示的FTPS(explicit FTPS)、暗黄的FTPS(implicit FTPS)
1つのMCPプロセス内に任意の数の名前付きFTPホスト
リモート操作は各ホストの
rootに制限されるローカルのアップロードとダウンロードは、シンボリックリンクのチェックを含め、各ホストの
local_rootに制限される読み取り専用モードと別途保護された削除機能
構造化されたMCPの結果とエラー
ツールの応答に認証情報は含まれない
Related MCP server: filesystem-ops
インストール
npm install -g @vielhuber/ftpmcp設定
{
"hosts": [
{
"host": "website",
"hostname": "ftp.example.com",
"protocol": "ftps",
"port": 21,
"username": "user",
"password": "your_password",
"root": "/public_html",
"local_root": "/host/data",
"read_only": false,
"allow_delete": false,
"tls_reject_unauthorized": true,
"timeout": 30000
}
]
}サーバーにファイルを渡します。
export FTP_CONFIG_FILE=/path/to/ftp-hosts.jsonprotocolはftp、ftps、ftps-implicitを受け付けます。サーバーが対応している場合は、FTPSを優先してください。プレーンFTPは認証情報とコンテンツを暗号化せずに送信します。
rootは、そのホストの全ツールパスから見えるリモートルートです。FTPアカウント自体にも、同等のサーバー側chrootを設定してください。FTPは、サーバー側で提供されるシンボリックリンクがクライアント側のパス境界の外を指すことを、確実には防げません。
local_rootはローカルでのアップロードとダウンロードを制限します。相対パスおよびそのディレクトより下の絶対パスの両方を受け入れます。
read_only: true指定时は、アップロード、ディレクトリ作成、名前変更、削除をブロックします。削除を行うには、さらにallow_delete: trueが必要です。
list_hostsを除くすべての操作には、選択したhostエイリアスが必要です。
MCPクライアント
{
"mcpServers": {
"ftp": {
"command": "ftpmcp",
"env": {
"FTP_CONFIG_FILE": "/path/to/ftp-hosts.json"
}
}
}
}工具
ツール | 目的 | ||
| 認証情報なしで設定済みのすべてのホストを一覧表示する | ||
| 設定した接続とログインを検証する | ||
| 1つのリモートディレクトリを一覧表示する | ||
| 選択したホストの | ||
| 本地域のファイルをデフォルトでは上書きせずにアップロードする | ||
| eaten場所 of remote directory | -> (wait original: | Create a remote directory) |
| リモートのファイルまたはディレクトリの名前を変更・移動する | ||
| 削除が有効な場合に1つのファイルを削除する | ||
| 削除が有効な場合に、空のディレクトリまたは明示的に再帰的に指定したディレクトリを削除する |
開発
npm install
npm test
npm run format:checkライセンス
🗃️ftpmcp🗃️
FTP および FTPS のファイル操作に特化した Model Context Protocol サーバーです。意図的に SFTP は実装していません。SSH ベースの転送は、ここで資格情報と転送ロジックを重複させる代わりに、SSH 用の MCP に任せるべきものです。
機能
プレーン FTP、explicit FTPS、implicit FTPS
1 つの MCP プロセス内で任意の数の名前付き FTP ホストを扱える
リモート操作は各ホストの
rootに制限されるローカルのアップロードとダウンロードは、シンボリックリンクのチェックも含めて、各ホストの
local_rootに制限される読み取り専用モードと、別途保護された削除機能
構造化された MCP の結果とエラー
ツールの応答に認証情報の値が含まれない
インストール
npm install -g @vielhuber/ftpmcp設定
{
"hosts": [
{
"host": "website",
"hostname": "ftp.example.com",
"protocol": "ftps",
"port": 21,
"username": "user",
"password": "your_password",
"root": "/public_html",
"local_root": "/host/data",
"read_only": false,
"allow_delete": false,
"tls_reject_unauthorized": true,
"timeout": 30000
}
]
}サーバーにファイルを渡します:
export FTP_CONFIG_FILE=/path/to/ftp-hosts.jsonprotocol は ftp、ftps、ftps-implicit を受け付けます。サーバーが対応している場合は常に FTPS を推奨します。プレーン FTP は認証情報とコンテンツを転送時の暗号化なしで送信します。
root は、そのホスト上のすべてのツールパスに対して表示されるリモートのルートです。FTP アカウント自体にも、同等のサーバー側 chroot を設定してください。FTP は、サーバー提供のシンボリックリンクがクライアント側だけのパス境界の外を指すことを確実には防げません。
local_root はローカルのアップロードとダウンロードを制限します。相対パスと、そのディレクトリより下にある絶対パスの両方が受け入れられます。
read_only: true は、アップロード、ディレクトリ作成、名前変更、削除をブロックします。削除にはさらに allow_delete: true が必要です。
list_hosts を除くすべての操作には、選択した host エイリアスが必要です。
MCP クライアント
{
"mcpServers": {
"ftp": {
"command": "ftpmcp",
"env": {
"FTP_CONFIG_FILE": "/path/to/ftp-hosts.json"
}
}
}
}ツール
ツール | 目的 |
| 認証情報を含めずに、設定済みのすべてのホストを一覧表示する |
| 設定された接続とログインを検証する |
| 1 つのリモートディレクトリを一覧表示する |
| 選択したホストの |
| デフォルトで上書きせずにローカルファイルをアップロードする |
| リモートディレクトリを作成する |
| リモートのファイルまたはディレクトリの名前を変更または移動する |
| 削除が有効な場合に 1 つのファイルを削除する |
| 削除が有効な場合に、空のディレクトリまたは明示的に再帰的に指定されたディレクトリを削除する |
開発
npm install
npm test
npm run format:checkライセンス
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA comprehensive MCP server that enables AI models to perform local file operations, command execution, and task management across multiple platforms. It features advanced capabilities like row-level file editing, directory searching, and system monitoring with built-in security filters.1315Mulan Permissive Software , Version 2
- AlicenseNot gradedqualityCmaintenanceMCP server for performing filesystem operations, enabling file management and manipulation through natural language.MIT
- AlicenseCqualityCmaintenanceA file management MCP server enabling complete file and directory operations, including advanced editing, templates, and batch processing through natural language.19143ISC
- AlicenseAqualityAmaintenanceAn MCP server that enables AI coding agents to deploy files to FTP/FTPS/SFTP servers, with path jail, read-only mode, and dry-run capabilities.10MIT
Related MCP Connectors
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Cloud-hosted MCP server for durable AI memory
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/vielhuber/ftpmcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server