Skip to main content
Glama

MCP Server for FTP Access

by alxspiker

FTPアクセス用のMCPサーバー

このモデルコンテキストプロトコル(MCP)サーバーは、FTPサーバーとやり取りするためのツールを提供します。これにより、Claude.appはFTPサーバー上のディレクトリの一覧表示、ファイルのダウンロードとアップロード、ディレクトリの作成、ファイル/ディレクトリの削除を行うことができます。

特徴

  • ディレクトリの内容の一覧表示: FTP サーバー上のファイルとフォルダーを表示します。
  • ファイルのダウンロード: FTP サーバーからファイルの内容を取得します。
  • ファイルのアップロード: 新しいファイルを作成するか、既存のファイルを更新します
  • ディレクトリの作成: FTPサーバー上に新しいフォルダを作成します
  • ファイル/ディレクトリの削除: ファイルまたはディレクトリを削除します

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の mcp-server-ftp を自動的にインストールするには:

npx -y @smithery/cli install @alxspiker/mcp-server-ftp --client claude

前提条件

  • Node.js 16以上
  • Claude for Desktop(またはその他のMCP互換クライアント)

ソースから構築

Linux/macOS
# Clone the repository git clone https://github.com/alxspiker/mcp-server-ftp.git cd mcp-server-ftp # Install dependencies npm install # Build the project npm run build
ウィンドウズ
# Clone the repository git clone https://github.com/alxspiker/mcp-server-ftp.git cd mcp-server-ftp # Run the Windows build helper script build-windows.bat

build-windows.batスクリプトは、TypeScript コンパイラに問題がある場合のフォールバック オプションを使用して、Windows システムでの依存関係のインストールとビルドを処理します。

構成

このサーバーを Claude for Desktop で使用するには、構成ファイルに追加します。

MacOS/Linux

~/Library/Application Support/Claude/claude_desktop_config.jsonを編集します。

{ "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_USER": "your-username", "FTP_PASSWORD": "your-password", "FTP_SECURE": "false" } } } }

ウィンドウズ

%APPDATA%\Claude\claude_desktop_config.jsonを編集します。

{ "mcpServers": { "ftp-server": { "command": "node", "args": ["C:\\path\\to\\mcp-server-ftp\\build\\index.js"], "env": { "FTP_HOST": "ftp.example.com", "FTP_PORT": "21", "FTP_USER": "your-username", "FTP_PASSWORD": "your-password", "FTP_SECURE": "false" } } } }

Windows ビルドの問題のトラブルシューティング

Windows でビルドの問題が発生した場合:

  1. 一般的なビルドの問題を処理する、提供されているbuild-windows.batスクリプトを使用します。
  2. Node.jsとnpmが正しくインストールされていることを確認してください
  3. TypeScriptコンパイラを直接実行してみます: npx tsc
  4. それでも問題が解決しない場合は、次のコマンドを実行して、 buildディレクトリ内の事前コンパイル済みファイルを使用できます。
    node path\to\mcp-server-ftp\build\index.js

設定オプション

環境変数説明デフォルト
FTP_HOSTFTPサーバーのホスト名またはIPアドレスローカルホスト
FTP_PORTFTPサーバーポート21
FTP_USERFTPユーザー名匿名
FTP_PASSWORDFTPパスワード(空の文字列)
FTP_SECUREセキュアFTP(FTPS)を使用する間違い

使用法

Claude for Desktop を設定して再起動すると、自然言語を使用して FTP 操作を実行できるようになります。

  • 「FTP サーバーの /public ディレクトリにあるファイルを一覧表示する」
  • 「FTPサーバーからファイル/data/report.txtをダウンロードする」
  • 「このテキストを notes.txt というファイルとして FTP サーバーにアップロードします」
  • 「FTPサーバーに「backups」という新しいディレクトリを作成します」
  • 「FTPサーバーからobsolete.txtファイルを削除する」
  • 「FTPサーバーから空のディレクトリ/old-projectを削除します」

利用可能なツール

ツール名説明
list-directoryFTPディレクトリの内容を一覧表示する
download-fileFTPサーバーからファイルをダウンロードする
upload-fileFTPサーバーにファイルをアップロードする
create-directoryFTPサーバーに新しいディレクトリを作成する
delete-fileFTPサーバーからファイルを削除する
delete-directoryFTPサーバーからディレクトリを削除する

セキュリティに関する考慮事項

  • FTP認証情報はClaude設定ファイルに保存されます。このファイルに適切な権限が付与されていることを確認してください。
  • サーバーが FTPS (セキュア FTP) をサポートしている場合はFTP_SECURE=trueを設定して FTPS (セキュア FTP) の使用を検討してください。
  • サーバーは、システムの一時ディレクトリにアップロードとダウンロード用の一時ファイルを作成します。

ライセンス

マサチューセッツ工科大学

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Claude が自然言語コマンドを通じて FTP サーバーと対話できるようにし、ユーザーが FTP サーバー上のディレクトリの一覧表示、ファイルのダウンロード/アップロード、ディレクトリの作成、ファイル/ディレクトリの削除を行えるようにします。

  1. 特徴
    1. インストール
      1. Smithery経由でインストール
      2. 前提条件
      3. ソースから構築
    2. 構成
      1. MacOS/Linux
      2. ウィンドウズ
    3. Windows ビルドの問題のトラブルシューティング
      1. 設定オプション
        1. 使用法
          1. 利用可能なツール
            1. セキュリティに関する考慮事項
              1. ライセンス

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  Enables Claude to interact with Ethereum nodes, allowing users to check ENS token balances, view smart contract code, and decode transactions through natural language.
                  Last updated -
                  5
                  1
                  JavaScript
                  MIT License
                • -
                  security
                  A
                  license
                  -
                  quality
                  The Claude Dev Server enables direct interaction with the file system within a specified workspace, allowing users to perform file and directory operations and implement code artifacts in software development using natural language commands.
                  Last updated -
                  2
                  Python
                  MIT License
                  • Apple
                • -
                  security
                  F
                  license
                  -
                  quality
                  A filesystem Model Context Protocol server that provides Claude Desktop with capabilities to read, write, and manipulate files on your system.
                  Last updated -
                  TypeScript
                • -
                  security
                  A
                  license
                  -
                  quality
                  A server that lets Claude desktop app execute terminal commands on your computer and edit files through Model Context Protocol, featuring command execution, process management, and advanced file operations.
                  Last updated -
                  22,344
                  MIT License
                  • Linux
                  • Apple

                View all related MCP servers

                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/alxspiker/mcp-server-ftp'

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