Skip to main content
Glama

MCP Server for FTP/SSH

by vini1994

FTP/SSH用のMCPサーバー

この MCP サーバーを使用すると、Cursor AI から直接 FTP、SFTP、SSH サーバーに接続してファイルを操作できるため、WordPress ホスティングやその他のリモート サーバーの管理が容易になります。

特徴

  • FTP、SFTP、SSH サーバーへの接続
  • ファイルとディレクトリの一覧表示
  • ファイルのアップロードとダウンロード
  • ファイルとディレクトリの作成、削除、名前変更
  • ファイルの内容の読み取りと書き込み
  • 複数の同時接続をサポート

インストール

  1. Node.jsがインストールされていることを確認してください(v14以上)
  2. このリポジトリをクローンするか、MCPフォルダをコピーします
  3. 依存関係をインストールします:
cd MCP npm install

カーソルの使用

カーソルの設定

.cursor/mcp.json構成ファイルはすでに含まれており、構成されています。カーソルは MCP サーバーを自動的に認識するはずです。

サーバーの起動

MCP サーバーは 2 つの方法で起動できます。

  1. stdio モード(カーソルと併用することを推奨):
npm start
  1. HTTP モード(開発または他のツールでの使用用):
npm run start:http

カーソルでの使用例

Cursor で MCP サーバーを使用する方法の例を次に示します。

// Conectar a um servidor FTP connect(type="ftp", host="meu-servidor.com", port=21, username="usuario", password="senha") // Conectar a um servidor SFTP/SSH connect(type="sftp", host="meu-servidor.com", port=22, username="usuario", password="senha") // Listar arquivos em um diretório list_directory(connectionId="conn_id_retornado", path="/caminho/remoto") // Fazer upload de um arquivo upload_file(connectionId="conn_id_retornado", localPath="/caminho/local/arquivo.txt", remotePath="/caminho/remoto/arquivo.txt") // Baixar um arquivo download_file(connectionId="conn_id_retornado", remotePath="/caminho/remoto/arquivo.txt", localPath="/caminho/local/arquivo.txt") // Ler o conteúdo de um arquivo read_file(connectionId="conn_id_retornado", path="/caminho/remoto/arquivo.txt") // Escrever conteúdo em um arquivo write_file(connectionId="conn_id_retornado", path="/caminho/remoto/arquivo.txt", content="Novo conteúdo do arquivo") // Desconectar quando terminar disconnect(connectionId="conn_id_retornado")

利用可能なツール

道具説明
connectFTP、SFTP、またはSSHサーバーに接続します
list_directoryリモートパス内のファイルとディレクトリを一覧表示します
download_fileリモートサーバーからファイルをダウンロードする
upload_fileリモートサーバーにファイルを送信する
delete_fileリモートサーバーからファイルを削除する
create_directoryリモートサーバー上にディレクトリを作成します
remove_directoryリモートサーバーからディレクトリを削除する
renameリモートサーバー上のファイルまたはディレクトリの名前を変更する
read_fileリモートサーバーからファイルの内容を読み取ります
write_fileリモートサーバー上のファイルにコンテンツを書き込む
disconnectサーバーへの接続を閉じる

安全

  • パスワードと秘密鍵は認証にのみ使用され、永続的に保存されることはありません。
  • すべての接続はセッション中に管理され、プロセスが終了すると閉じられます。
  • セキュリティを強化するために、パスワードではなくキー認証を使用することをお勧めします。

トラブルシューティング

この MCP サーバーの使用中に問題が発生した場合:

  1. すべての依存関係がインストールされていることを確認する
  2. ポートとアクセス資格情報が正しいことを確認してください
  3. リモートサーバーがネットワークからアクセスできることを確認する
  4. SFTP/SSH 接続の場合、パスワードの代わりにprivateKeyパラメータの使用を検討してくださいpassword

ライセンス

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

-
security - not tested
F
license - not found
-
quality - not tested

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.

ユーザーは Cursor AI から直接 FTP、SFTP、SSH サーバーに接続してファイルを操作できるため、WordPress ホスティングとリモート サーバー管理が容易になります。

  1. 特徴
    1. インストール
      1. カーソルの使用
        1. カーソルの設定
        2. サーバーの起動
        3. カーソルでの使用例
      2. 利用可能なツール
        1. 安全
          1. トラブルシューティング
            1. ライセンス

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                Enables AI assistants to interact with WordPress sites through the WordPress REST API. Supports multiple WordPress sites with secure authentication, enabling content management, post operations, and site configuration through natural language.
                Last updated -
                18
                31
                MIT License
              • A
                security
                F
                license
                A
                quality
                Enables Claude to interact with FTP servers through natural language commands, allowing users to list directories, download/upload files, create directories, and delete files/directories on FTP servers.
                Last updated -
                6
                5
                JavaScript
                • Linux
                • Apple
              • A
                security
                F
                license
                A
                quality
                An MCP server that enables integration with GitHub Enterprise API, allowing users to access repository information, manage issues, pull requests, workflows, and other GitHub features through Cursor.
                Last updated -
                16
                33
                14
                TypeScript
                • Linux
                • Apple
              • -
                security
                A
                license
                -
                quality
                Enables AI assistants to interact with WordPress sites through the REST API. Supports multiple WordPress sites with secure authentication, enabling content management, post operations, and site configuration through natural language.
                Last updated -
                18
                MIT License

              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/vini1994/mcp'

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