ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Ssh

โดย pulsemcpรุ่น 0.1.5i★ –iรันบนเครื่อง
ชื่อใน registrycom.pulsemcp/ssh

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): 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

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.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": "ใส่ค่าของคุณ",
        "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": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add ssh --env SSH_HOST='ใส่ค่าของคุณ' --env SSH_USERNAME='ใส่ค่าของคุณ' --env SSH_PORT='ใส่ค่าของคุณ' --env SSH_AUTH_SOCK='ใส่ค่าของคุณ' --env SSH_PRIVATE_KEY_PATH='ใส่ค่าของคุณ' --env SSH_PASSPHRASE='ใส่ค่าของคุณ' --env SSH_TIMEOUT='ใส่ค่าของคุณ' --env SSH_COMMAND_TIMEOUT='ใส่ค่าของคุณ' --env ENABLED_TOOLGROUPS='ใส่ค่าของคุณ' --env SKIP_HEALTH_CHECKS='ใส่ค่าของคุณ' --env HEALTH_CHECK_TIMEOUT='ใส่ค่าของคุณ' -- 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": "ใส่ค่าของคุณ",
        "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": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "ssh": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ssh-agent-mcp-server"
      ],
      "env": {
        "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": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • 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.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันโดเมน pulsemcp.com แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32623 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 13% ของอีก 32623 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32623 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Ssh ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: SSH_HOST, SSH_USERNAME, SSH_PASSPHRASE

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.5) เข้า registry 5 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Draugr

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

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

รันบนคลาวด์★ 211อัปเดต เมื่อวานซืน
ติดตั้ง

Draugr

โดย draugr-dev

Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.

รันบนเครื่องอัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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