SSH MCP Server
SSH MCP Server
AIクライアントにあなたのサーバーを安全に操作させる —— SSHベースのMCPサーバー
標準化されたMCPツールを通じてリモートでコマンド実行とファイル転送を行います。Web管理コンソールとWindowsトレイアプリを内蔵。
できること
Claude Code、CursorなどMCPプロトコルに対応したAIクライアントをあなたのSSHサーバーに接続すれば、AIは次のことができます:
⚙️ コマンド実行 —— リモート運用・保守、ログ調査、サービス管理
📤 アップロード / 📥 ダウンロード —— 設定配布、ログ取得、大容量ファイルのレジューム転送
🖥️ 複数マシン管理 —— プロジェクト → 環境 → ホストの3階層ツリー。一度設定すればどこでも利用可能
2つの利用形態から選択できます:
形態 | 適したシーン |
CLI / npm パッケージ | stdio MCP Serverとして任意のMCPクライアントに接続。軽量ですぐ使える |
Windows デスクトップアプリ(推奨) | 純粋なトレイ常駐 + 内蔵Web管理コンソール + オンライン自動更新。Node.js環境不要 |
Related MCP server: sshops
✨ コア機能
接続機能
🔐 多様な認証:パスワード / 秘密鍵(暗号化秘密鍵含む)/ SSH Agent / キーボードインタラクティブ 2FA
🔗 SOCKS5とHTTP(S)プロキシ。踏み台ネットワークを透過
🚄 デュアル転送モード:
exec—— コマンドごとに1チャネル。標準Linuxホストshell—— 永続セッション + マーカープロトコル。バスティオンホスト / 踏み台サーバーに適合
⏱️ 接続 / コマンド / SFTPの各タイムアウトを個別に制御可能。大容量ファイルはfastPut/fastGetによる分割・並行転送
セキュリティポリシー
コマンドのホワイトリスト / ブラックリスト(正規表現)。ホストレベルとグローバルレベルの二重フィルタリング
ローカルとリモートのパスホワイトリストでファイル転送範囲を制限
完全な監査ログ:コマンド、出力、転送記録を追跡可能
Web管理コンソール
プロジェクト-環境-ホストの3階層ビジュアル管理。接続のドラッグ&ドロップ並べ替え
接続テスト、JSON一括インポート/エクスポート、
~/.ssh/configの自動再利用定期バックアップスナップショットとワンクリック復元。MCPクライアント(Claude Codeなど)のワンクリック登録
ライト/ダークのデュアルテーマ。システム設定に追従して切り替え
Windowsデスクトップアプリ
🎯 純粋なトレイ常駐の単一exe:SSHサービス、MCP Server、Admin静的サイトをすべて内蔵。Node.js依存なし
起動時自動起動、シャットダウン時まで常駐。「管理ページを開く」でシステム標準ブラウザを直接起動
🔄 オンライン自動更新:minisignによる署名検証を内蔵。新バージョンを自動検出してサイレントアップグレード
📸 画面紹介
接続管理 —— 3階層ツリーで全ホストを管理:
システムページ —— サービス状態とMCPクライアントのワンクリック登録:
🚀 クイックスタート
方法1:Windowsデスクトップアプリ
ReleasesからSSH-MCP-Server_x.x.x_x64-setup.exeをダウンロードしてインストールします。起動後はシステムトレイに常駐し、トレイメニューの「管理ページを開く」でWebコンソールに入ります。
インストール済みユーザーは、その後のアップグレードが自動的に完了し、手動操作は不要です。
方法2:npmパッケージ(stdio MCP Server)
# 全局安装
npm install -g @sieop/ssh-mcp-serverMCPクライアントに登録します(Claude Codeを例に):
claude mcp add ssh-server -- ssh-mcp-server --host your.server.com --username root --password YOUR_PWDまたはJSON設定を直接記述:
{
"mcpServers": {
"ssh-server": {
"command": "npx",
"args": ["-y", "@sieop/ssh-mcp-server", "--host", "your.server.com", "--username", "root", "--password", "YOUR_PWD"]
}
}
}設定ファイルとマルチ接続モードにも対応しています。詳細はdocs/migration.mdとCLIヘルプ(--help)を参照してください。
方法3:ソースからビルド
git clone https://github.com/SIE-Operations-and-Maintenance-Team/ssh-mcp-server.git
cd ssh-mcp-server && npm install
npm run build # 构建 Node 版
npm test # 运行测试
npm --prefix admin-web install && npm --prefix admin-web run build # 构建管理台前端
npm run tauri:build # 构建 Windows 桌面应用(需 Rust 工具链)🧰 MCPツール一覧
ツール | 説明 |
| リモートでコマンドを実行。ディレクトリ変更、タイムアウト、出力制限に対応。ホワイト/ブラックリストの制約を受ける |
| SFTPファイル転送。大容量ファイルは分割・並行転送。パスホワイトリストを検証 |
| 利用可能なすべての接続を一覧表示 |
🏗️ アーキテクチャ
┌─ Windows 桌面应用(Tauri 2 纯托盘单 exe)──────────────────┐
│ │
│ SSH 连接池 ── MCP StreamableHTTP (/mcp) │
│ │ │
│ Admin API (/admin/api/*) ── 内嵌静态站点 (/admin/) │
│ │
└────────────────── 系统默认浏览器打开管理页 ────────────────┘
Node 版(npm 包):stdio MCP Server + 可选 --admin 启动同一套 Web 管理台主要モジュール:src/services/ssh-connection-manager.ts(SSHコア)、src/server/(Fastify Adminサービス)、src-tauri/(Rustデスクトップシェル)、admin-web/(React管理コンソール)。
📋 その他のドキュメント
📄 ライセンス
ISC © SIE Operations and Maintenance Team
本プロジェクトはclassfang/ssh-mcp-serverをベースに、再構築と拡張を行ったものです。
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
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables remote SSH command execution and bidirectional file transfers through a standardized interface. It allows AI assistants to securely manage remote servers while keeping credentials isolated and applying command-level security controls.ISC
- AlicenseNot gradedqualityCmaintenanceA lightweight, zero-agent SSH operations tool that enables remote command execution, file transfer, and audit logging. It integrates as an MCP server for AI-driven infrastructure management.26MIT
- FlicenseAqualityDmaintenanceEnables AI assistants to perform comprehensive SSH operations including command execution, file transfers, port forwarding, and key management through a stateless, Docker-ready MCP server.15
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI agents SSH capabilities to execute commands, transfer files, and inspect remote systems through a preconfigured host list.43MIT
Related MCP Connectors
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Connect MCP clients to 2,000+ AI models without managing provider API keys.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
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/SIE-Operations-and-Maintenance-Team/ssh-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server