プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Ssh

作者:pulsemcpバージョン 0.1.5i★ –iパソコンで動く
レジストリ名com.pulsemcp/ssh

インストール

概要

作者による説明(英語の原文)

MCP server for SSH remote server management with SSH agent authentication support.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他
  • 入力が必要なもの:SSH_HOST, SSH_USERNAME, SSH_PASSPHRASE

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: SSH_HOST, SSH_USERNAME, SSH_PORT, SSH_AUTH_SOCK, SSH_PRIVATE_KEY_PATH, SSH_PASSPHRASE, SSH_TIMEOUT, SSH_COMMAND_TIMEOUT, ENABLED_TOOLGROUPS, SKIP_HEALTH_CHECKS, HEALTH_CHECK_TIMEOUT

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "ssh": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-agent-mcp-server"
      ],
      "env": {
        "SSH_HOST": "your-value",
        "SSH_USERNAME": "your-value",
        "SSH_PORT": "your-value",
        "SSH_AUTH_SOCK": "your-value",
        "SSH_PRIVATE_KEY_PATH": "your-value",
        "SSH_PASSPHRASE": "your-value",
        "SSH_TIMEOUT": "your-value",
        "SSH_COMMAND_TIMEOUT": "your-value",
        "ENABLED_TOOLGROUPS": "your-value",
        "SKIP_HEALTH_CHECKS": "your-value",
        "HEALTH_CHECK_TIMEOUT": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add ssh --env SSH_HOST=your-value --env SSH_USERNAME=your-value --env SSH_PORT=your-value --env SSH_AUTH_SOCK=your-value --env SSH_PRIVATE_KEY_PATH=your-value --env SSH_PASSPHRASE=your-value --env SSH_TIMEOUT=your-value --env SSH_COMMAND_TIMEOUT=your-value --env ENABLED_TOOLGROUPS=your-value --env SKIP_HEALTH_CHECKS=your-value --env HEALTH_CHECK_TIMEOUT=your-value -- npx -y ssh-agent-mcp-server

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "ssh": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-agent-mcp-server"
      ],
      "env": {
        "SSH_HOST": "your-value",
        "SSH_USERNAME": "your-value",
        "SSH_PORT": "your-value",
        "SSH_AUTH_SOCK": "your-value",
        "SSH_PRIVATE_KEY_PATH": "your-value",
        "SSH_PASSPHRASE": "your-value",
        "SSH_TIMEOUT": "your-value",
        "SSH_COMMAND_TIMEOUT": "your-value",
        "ENABLED_TOOLGROUPS": "your-value",
        "SKIP_HEALTH_CHECKS": "your-value",
        "HEALTH_CHECK_TIMEOUT": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "ssh": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ssh-agent-mcp-server"
      ],
      "env": {
        "SSH_HOST": "your-value",
        "SSH_USERNAME": "your-value",
        "SSH_PORT": "your-value",
        "SSH_AUTH_SOCK": "your-value",
        "SSH_PRIVATE_KEY_PATH": "your-value",
        "SSH_PASSPHRASE": "your-value",
        "SSH_TIMEOUT": "your-value",
        "SSH_COMMAND_TIMEOUT": "your-value",
        "ENABLED_TOOLGROUPS": "your-value",
        "SKIP_HEALTH_CHECKS": "your-value",
        "HEALTH_CHECK_TIMEOUT": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • SSH_HOST 必須 env
    Hostname or IP address of the SSH server.
  • SSH_USERNAME 必須 env
    Username for SSH authentication.
  • SSH_PORT env
    SSH port number.
  • SSH_AUTH_SOCK env
    Path to SSH agent socket for agent-based authentication.
  • SSH_PRIVATE_KEY_PATH env
    Path to private key file for direct key authentication.
  • SSH_PASSPHRASE 秘密 env
    Passphrase for encrypted private key.
  • SSH_TIMEOUT env
    Connection timeout in milliseconds.
  • SSH_COMMAND_TIMEOUT env
    Default command activity timeout in milliseconds.
  • ENABLED_TOOLGROUPS env
    Comma-separated list of tool groups to enable (readonly, write, admin).
  • SKIP_HEALTH_CHECKS env
    Skip SSH connection health check on startup.
  • HEALTH_CHECK_TIMEOUT env
    Health check timeout in milliseconds.

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名はドメイン pulsemcp.com で確認済みです(レジストリがドメインの所有を確認しています)

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32424件のうち0%よりスターが多い
  • このカテゴリのほかの32424件のうち13%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32424件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Sshは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:SSH_HOST, SSH_USERNAME, SSH_PASSPHRASE

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.5)がレジストリに届いたのは5 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, BankBridge

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211昨日更新
インストール

BankBridge

作者:bankbridge-money

Works in any MCP agent, including local models. Read-only bank accounts, spending, investments.

クラウドで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

SSH MCP Server

An MCP (Model Context Protocol) server for SSH remote server management with SSH agent authentication support.

This server solves a common problem with SSH MCP servers: support for passphrase-protected SSH keys. By using SSH agent authentication, you can securely connect to remote servers without exposing your key passphrase.

Highlights

  • SSH Agent Authentication - Seamlessly works with passphrase-protected SSH keys via SSH agent
  • Private Key File Support - Alternative authentication via direct private key file
  • Startup Health Check - Verifies SSH connectivity on startup with clear error messages
  • Command Execution - Run shell commands on remote servers
  • File Transfer - Upload and download files via SFTP
  • Directory Listing - Browse remote file systems
  • Tool Groups - Control which tools are available (readonly, write, admin)

Authentication Priority

The server supports multiple authentication methods and will use them in this order:

  1. SSH Agent (recommended) - If SSH_AUTH_SOCK is set or auto-detected
  2. Private Key File - If SSH_PRIVATE_KEY_PATH is set

Both methods can be configured simultaneously. If SSH agent authentication is available, it takes priority. The private key file method is used as a fallback or when the agent is not available.

Capabilities

Tools
ToolGroupDescription
ssh_connection_inforeadonly, write, adminGet configured SSH connection information
ssh_list_directoryreadonly, write, adminList directory contents on remote server
ssh_downloadreadonly, write, adminDownload file from remote server via SFTP
ssh_uploadwrite, adminUpload file to remote server via SFTP
ssh_executeadminExecute shell command on remote server
Resources
ResourceDescription
ssh://configSSH connection configuration and status (for debugging)
Tool Groups

Control which tools are available via the ENABLED_TOOLGROUPS environment variable:

GroupDescription
readonlySafe operations (connection info, list, download)
writeFile modifications (upload)
adminFull access including command execution

Examples:

  • ENABLED_TOOLGROUPS="readonly" - Only allow browsing and downloads
  • ENABLED_TOOLGROUPS="readonly,write" - Allow file transfers but no command execution
  • Not set - All tools enabled (default)
Startup Health Check

The server performs an SSH connection health check on startup to verify that the configured credentials and host are valid. This provides immediate feedback if there are configuration issues, rather than discovering them during workflow.

Benefits:

  • Faster feedback: Configuration errors surface at startup rather than mid-workflow
  • Clearer error messages: Startup failures include hints for common issues
  • Improved user experience: Eliminates ambiguity about server operational status

Configuration:

  • SKIP_HEALTH_CHECKS=true - Skip the health check (useful for lazy connection scenarios)
  • HEALTH_CHECK_TIMEOUT=10000 - Customize the health check timeout (default: 10 seconds)

Error hints provided for:

  • Authentication failures (SSH key not loaded, wrong key)
  • Connection timeouts (host unreachable)
  • Connection refused (SSH server not running)
  • DNS resolution errors (invalid hostname)

Quick Start

Installation
npx ssh-agent-mcp-server

Or install globally:

npm install -g ssh-agent-mcp-server
Configuration
Environment Variables
VariableRequiredDescriptionDefault
SSH_HOSTYesHostname or IP address of the SSH server-
SSH_USERNAMEYesUsername for SSH authentication-
SSH_PORTNoSSH port number22
SSH_AUTH_SOCKNoPath to SSH agent socketAuto-detected
SSH_PRIVATE_KEY_PATHNoPath to private key file-
SSH_PASSPHRASENoPassphrase for encrypted private key-
SSH_TIMEOUTNoConnection timeout in milliseconds30000
SSH_COMMAND_TIMEOUTNoDefault command activity timeout in milliseconds60000
ENABLED_TOOLGROUPSNoComma-separated tool groupsAll enabled
SKIP_HEALTH_CHECKSNoSkip SSH connection health check on startupfalse
HEALTH_CHECK_TIMEOUTNoHealth check timeout in milliseconds10000
Claude Desktop Configuration

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

{

"mcpServers": { "ssh": { "command": "npx", "args": ["-y", "ssh-agent-mcp-server"], "env": { "SSH_HOST": "192.168.1.100", "SSH_USERNAME": "deploy", "SSH_AUTH_SOCK": "${SSH_AUTH_SOCK}" } } } }

Restart Claude Desktop and you should be ready to go!

SSH Agent Authentication (Recommended)

SSH agent authentication is the recommended method for passphrase-protected keys:

  1. Ensure your SSH agent is running with your key loaded:
   # Check if agent is running

ssh-add -l

If not, add your key

ssh-add ~/.ssh/id_ed25519

  1. Pass the SSH_AUTH_SOCK environment variable to the MCP server

The server will automatically use the agent for authentication, and your passphrase-protected key stays secure in the agent.

How It Works
  1. Your passphrase-protected key is loaded into the SSH agent via ssh-add
  2. The agent exposes a Unix socket at $SSH_AUTH_SOCK
  3. This MCP server connects to that socket via the ssh2 library
  4. The agent signs authentication challenges using your decrypted key
  5. Your private key never leaves the agent - the MCP server never sees it

This is more secure than:

  • Storing your passphrase in environment variables
  • Using unprotected private keys
  • Manually entering passphrases

Tool Details

ssh_execute

Execute a command on the remote server.

Parameters:

  • command (required): Shell command to execute
  • cwd (optional): Working directory
  • timeout (optional): Activity timeout in milliseconds (default: 60000 or SSH_COMMAND_TIMEOUT)

Activity-based Timeout:

The timeout is activity-based rather than absolute. It resets whenever stdout or stderr output is received from the command. This allows long-running commands that produce periodic output (like builds, deployments, or claude -p commands) to complete successfully, while still timing out commands that hang with no activity.

For commands with delayed initial output (10-30+ seconds before any output), you can:

  1. Increase the default timeout via SSH_COMMAND_TIMEOUT environment variable
  2. Pass a higher timeout parameter for specific commands

Example:

{

"command": "ls -la /var/log", "cwd": "/home/user" }

Example with extended timeout for long-running commands:

{

"command": "npm run build", "timeout": 300000 }

Returns: JSON with stdout, stderr, and exit code

ssh_upload

Upload a file to the remote server via SFTP.

Parameters:

  • localPath (required): Absolute path to local file
  • remotePath (required): Destination path on server
ssh_download

Download a file from the remote server via SFTP.

Parameters:

  • remotePath (required): Path on remote server
  • localPath (required): Local destination path
ssh_list_directory

List directory contents on the remote server.

Parameters:

  • path (required): Directory path to list

Returns: JSON array with filename, type, size, permissions, modified time

ssh_connection_info

Get information about the configured SSH connection.

Returns: JSON with host, port, username, and authentication details

Development

# Install dependencies

npm run install-all

Build

npm run build

Run in development mode

npm run dev

Run tests

npm test npm run test:integration

License

MIT

PopNxに聞く