Simple SSH MCP Server
MCPサーバーであり、AIアシスタントに完全なSSH/SFTPリモート操作(セッション管理、コマンド実行、インタラクティブシェル、ファイル転送、ポートフォワーディング、システム診断)を提供します。
Claude Desktop、VS Code + GitHub Copilot、およびMCP互換クライアントで動作します。
パッケージ
パッケージ | 説明 |
MCPサーバー (49ツール) — スタンドアロンCLIおよびnpmパッケージ | |
VS Code拡張機能 — GitHub Copilotにサーバーを自動登録 |
Related MCP server: ssh-mcp
機能
セッション管理 — パスワードまたは鍵認証による接続/切断/ping
コマンド実行 — stdout/stderrキャプチャ、タイムアウト、終了コード付きのコマンド実行
Sudo実行 — stdin経由でパスワードを注入する昇格コマンド(ログには残りません)
バックグラウンドジョブ — ポーリングとキャンセルが可能な長時間実行コマンド
インタラクティブシェル — 読み取り/書き込み/リサイズが可能なPTYシェル
SFTP操作 — アップロード、ダウンロード、読み取り、書き込み、削除、リスト表示、stat
ポートフォワーディング — ローカル (-L) およびリモート (-R) SSHトンネル
システム診断 — OS、CPU、メモリ、ディスク、ネットワーク、負荷、プロセス
ファイル検索と分析 — ファイル検索、grep、diff、tail、チェックサム
サーバー管理 — サービス、プロセス、cron、ネットワーク診断、ユーザー
マルチホストワークフロー — コマンドのブロードキャスト、ホスト間のファイル転送、ジャンプ/踏み台接続、スクリプト実行
セッションインテリジェンス — システムスナップショット、スナップショットの差分、接続ブックマーク
コンテナ対応 — Docker/Podmanコンテナのリスト表示、ログ、exec
監査ログ — フィルタリング可能なNDJSON構造化ログ
クイックスタート
スタンドアロン (npm)
npm install -g simple-ssh-mcp-serverClaude Desktop
claude_desktop_config.json に追加します:
{
"mcpServers": {
"ssh": {
"command": "npx",
"args": ["ssh-mcp-server"],
"env": {
"SSH_MCP_MAX_CONNECTIONS": "10",
"SSH_MCP_HOST_KEY_MODE": "accept"
}
}
}
}VS Code + GitHub Copilot
SSH MCP VS Code拡張機能をインストールします。VS Codeの起動時にサーバーが自動的に開始されます。VS Code 1.99以降とGitHub Copilotが必要です。
ツール (49)
カテゴリ | ツール |
セッション |
|
実行 |
|
バックグラウンド |
|
シェル |
|
SFTP |
|
ポートフォワーディング |
|
ファイル検索 |
|
サーバー管理 |
|
マルチホスト |
|
セッションインテリジェンス |
|
コンテナ |
|
診断 |
|
設定
すべての設定は環境変数で行います:
変数 | デフォルト | 説明 |
|
| 最大同時SSHセッション数 |
|
| 監査ログディレクトリ |
|
| PTYシェルのデフォルトTERM |
|
| ターミナル幅 |
|
| ターミナル高さ |
|
| コマンドタイムアウト (ms) |
|
| ホストキー: |
|
|
|
設定の詳細はサーバーのREADMEを参照してください。
セキュリティ
Sudoパスワードはstdin経由で注入され、ログには残りません
出力からANSIエスケープシーケンスを除去
出力の切り捨てによりメモリの無制限な消費を防止
SSHキープアライブにより切断された接続を検出
CIでESLintセキュリティプラグイン、Gitleaks、CodeQL、Trivyを使用
ライセンス
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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 Connectors
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Remote MCP server for AI.TV creators — delegate account operations to your AI agent over MCP.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server giving AI agents full SSH access with persistent sessions, structured command output, SFTP file transfer, and port forwarding.1810MIT
- AlicenseAqualityCmaintenanceAn MCP server that gives AI agents SSH access to remote machines through your local OpenSSH client, enabling remote command execution, file transfer, persistent shell sessions, and port forwarding.1716MIT
- AlicenseNot gradedqualityAmaintenanceMCP server enabling AI assistants to securely operate remote servers via persistent SSH sessions, with tools for command execution, file transfer, directory listing, and system monitoring.4MIT
- AlicenseAqualityAmaintenanceAn open MCP server that gives any AI agent SSH access to remote Linux/Unix machines — shell commands, file read/write, and SFTP transfers.11MIT
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/bhayanak/ssh-server-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server