MCP.so
ログイン

MCP SSH/SFTP 服务器

@naya-cat-1

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

naya-cat-1

MCP SSH/SFTP 服务器 について

概要はまだありません

#mcp-ssh-sftp-server#ssh#sftp

MCP SSH/SFTP 服务器 の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

MCP SSH/SFTP 服务器 のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP SSH/SFTP 服务器?

A collection of SSH and SFTP servers implementing the Model Context Protocol (MCP). The SSH server enables remote command execution, while the SFTP server provides file transfer capabilities such as listing directories, uploading, and downloading files. It is intended for developers and operators who need programmatic remote server management and file operations via an MCP-compatible interface.

How to use MCP SSH/SFTP 服务器?

Copy servers.json.example to servers.json, then edit the file with your server credentials (host, port, username, password). The MCP host (e.g., an AI assistant) can then call the provided tools: execute_ssh_command for SSH commands, and list_directory, upload_file, download_file for SFTP operations. Each tool requires the server connection parameters and the operation-specific path/command.

Key features of MCP SSH/SFTP 服务器

  • Remote SSH command execution with auto-disconnect
  • SFTP directory listing, upload, and download
  • Automatic connection retry mechanism (SFTP only)
  • Detailed debug logging for SFTP operations
  • Connection timeout handling and resource cleanup
  • Credentials used only in memory, not persisted

Use cases of MCP SSH/SFTP 服务器

  • Execute a command on a remote server and retrieve its output
  • List files in a remote directory via SFTP
  • Upload a local file to a remote server
  • Download a file from a remote server to local storage

よくある質問

1

How do I configure the MCP SSH/SFTP 服务器?

Copy `servers.json.example` to a new file named `servers.json`, then fill in the server details (host, port, username, password). The file is already in `.gitignore` to prevent accidental commits.

2

What authentication is supported?

The current implementation uses password authentication. The README recommends using private key authentication instead for better security.

3

How does the server handle errors?

Both SSH and SFTP servers implement connection timeout handling. The SFTP server additionally features automatic retry on failure. All errors produce detailed messages, and resources (connections) are automatically cleaned up after each operation.

4

Is my credentials safe?

Passwords are only kept in memory temporarily and never persisted to disk. Each operation automatically disconnects, and the connection has a timeout mechanism. The configuration file (`servers.json`) is ignored by version control.

5

What tools are available?

SSH: `execute_ssh_command` (requires host, port, username, password, command). SFTP: `list_directory`, `upload_file`, `download_file` (each require host, port, username, password, and the relevant remote/local path).

コメント

「開発者ツール」の他のコンテンツ