Ssh MCP logo

Ssh MCP

未申請

作者: YawLabs

MCP server for SSH operations with built-in diagnostics

サーバーをセットアップ

01 / クライアントを選択

02 / 接続前の準備

認証方法は未指定です。接続前にプロジェクトの手順を確認してください。

プロジェクトが必要とする実行環境をインストールし、クライアントから利用できるようにしてください。

プロジェクトの手順

手順に記載された名前をカンマで区切って入力してください。秘密の値は入力しないでください。

03 / 設定を追加

出典:公開インストール手順から生成

claude mcp add --transport stdio 'yawlabs-ssh-mcp' -- 'npx' '-y' '@yawlabs/ssh-mcp@latest'

プレースホルダーを置き換えてからターミナルで実行してください。

04 / クライアントで確認

クライアントの MCP 設定で接続とツール一覧を確認してください。設定のコピーだけでは接続成功は確認できません。

Developer Toolsの他のサーバー

ディレクトリ全体を見る

未申請リスティング

このMCPサーバーはあなたのものですか?

このリスティングは公開情報から自動的にインデックスされました。申請することで、ページの編集、互換性の設定、成長ツールのアンロックができます。2分以内に完了します。

このサーバーを申請する

セキュリティプロファイル

申請済みおよび認証済みのサーバーは毎週の静的スキャンを受け、コードが到達できる範囲(外部サービス、環境変数、シェルコマンド、エージェント設定フォルダ)と既知のアドバイザリを持つ依存関係が表示されます。このリスティングを申請すると利用できます。 セキュリティプロファイルの仕組み

22 件中 22 件

ドキュメントに記載されたツール (22)

プロジェクトのドキュメントに基づきます。サーバーのハンドシェイクは、各ツールの説明や動作を検証するものではありません。

Auto-diagnostics

When any remote operation fails, ssh-mcp automatically runs diagnostics and includes the results in the error response. Your agent doesn't need to call sshdiagnose separately — it gets told what's wrong and how to fix it right in the error message.

ssh_agent_ensure

Ensure ssh-agent is running. Starts one if needed and sets env vars for the session.

ssh_config_lookup

Resolve the effective SSH config for a host (hostname, user, port, proxy, identity files).

ssh_delete

Delete a file or empty directory via SFTP. Auto-dispatches unlink vs rmdir based on the path's own type (lstat), so a symlink is always unlinked — never followed — including a dangling one or one pointing at a directory. Recursive directory delete is intentionally NOT supported -- use sshexec rm -rf

ssh_diagnose

Full SSH environment diagnostic. Checks agent, keys, config, knownhosts, and connectivity. Returns exact fix commands for every failure.

ssh_download

Download a file from a remote host to local filesystem.

ssh_exec

Execute a command on a remote host. Returns stdout, stderr, and exit code (or [signal: NAME] and code: -1 when the channel closed signal-only). Optional env param sets per-call environment variables (POSIX-safe prefix, works regardless of sshd's AcceptEnv). Subject to command policy if configured.

ssh_find

Search for files remotely with structured parameters (name, type, size, depth, newer — match files modified more recently than a reference path).

ssh_git_check

Test Git-over-SSH auth to GitHub, GitLab, Bitbucket, etc.

ssh_key_list

List all SSH keys in ~/.ssh/ with type, fingerprint, and agent status.

ssh_key_load

Load a key into the running agent. Ensures the agent is started first.

ssh_known_hosts_fix

Remove a stale host key and re-scan. Fixes "host key verification failed" errors.

ssh_ls

List files in a directory on a remote host.

ssh_mkdir

Create a directory via SFTP. Set recursive: true for mkdir -p behavior. Unlike the other SFTP tools, the path may be relative — it resolves against the SFTP working directory (normally the remote user's home). ~ is not expanded; SFTP has no shell.

ssh_multi_exec

Run a command on multiple hosts in parallel. Returns results per host. Optional env param sets per-call environment variables (same POSIX-safe prefix as sshexec, applied once and sent to every host). Subject to command policy if configured (policy is checked once, against the env-prefixed command, b

ssh_read_file

Read a file from a remote host via SFTP.

ssh_service_status

Check systemd service status (active, PID, uptime, description). Flags isError only when the unit could not be found / queried, not when an existing unit is intentionally stopped.

ssh_stat

Get metadata for a file or directory (size, mode in octal, uid/gid, mtime/atime, isFile/isDirectory/isSymbolicLink). Use instead of parsing ls -la.

ssh_tail

Read the last N lines of a file, optionally filtered by a grep pattern.

ssh_test

Quick connectivity test with timing and actionable error details.

ssh_upload

Upload a local file to a remote host via SFTP.

ssh_write_file

Write content to a file on a remote host via SFTP.

ツールの変更履歴

同じ設定での完全なチェック同士を比較します。ツールの列挙のみで実行はしていません。入力スキーマの変更は測定していません。

完全なツールチェックはまだありません。