Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
MCP server for SSH remote server management with SSH agent authentication support.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
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标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 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/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"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .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_PORT envSSH_AUTH_SOCK envSSH_PRIVATE_KEY_PATH envSSH_TIMEOUT envSSH_COMMAND_TIMEOUT envENABLED_TOOLGROUPS envSKIP_HEALTH_CHECKS envHEALTH_CHECK_TIMEOUT env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 pulsemcp.com 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SSH_HOST, SSH_USERNAME, SSH_PASSPHRASE
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.5)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, LickityClick
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Create, edit and track LickityClick short links, campaigns and click stats from your AI assistant.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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.
The server supports multiple authentication methods and will use them in this order:
SSH_AUTH_SOCK is set or auto-detectedSSH_PRIVATE_KEY_PATH is setBoth 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.
| Tool | Group | Description |
|---|---|---|
ssh_connection_info | readonly, write, admin | Get configured SSH connection information |
ssh_list_directory | readonly, write, admin | List directory contents on remote server |
ssh_download | readonly, write, admin | Download file from remote server via SFTP |
ssh_upload | write, admin | Upload file to remote server via SFTP |
ssh_execute | admin | Execute shell command on remote server |
| Resource | Description |
|---|---|
ssh://config | SSH connection configuration and status (for debugging) |
Control which tools are available via the ENABLED_TOOLGROUPS environment variable:
| Group | Description |
|---|---|
readonly | Safe operations (connection info, list, download) |
write | File modifications (upload) |
admin | Full access including command execution |
Examples:
ENABLED_TOOLGROUPS="readonly" - Only allow browsing and downloadsENABLED_TOOLGROUPS="readonly,write" - Allow file transfers but no command executionThe 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:
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:
npx ssh-agent-mcp-server
Or install globally:
npm install -g ssh-agent-mcp-server
| Variable | Required | Description | Default |
|---|---|---|---|
SSH_HOST | Yes | Hostname or IP address of the SSH server | - |
SSH_USERNAME | Yes | Username for SSH authentication | - |
SSH_PORT | No | SSH port number | 22 |
SSH_AUTH_SOCK | No | Path to SSH agent socket | Auto-detected |
SSH_PRIVATE_KEY_PATH | No | Path to private key file | - |
SSH_PASSPHRASE | No | Passphrase for encrypted private key | - |
SSH_TIMEOUT | No | Connection timeout in milliseconds | 30000 |
SSH_COMMAND_TIMEOUT | No | Default command activity timeout in milliseconds | 60000 |
ENABLED_TOOLGROUPS | No | Comma-separated tool groups | All enabled |
SKIP_HEALTH_CHECKS | No | Skip SSH connection health check on startup | false |
HEALTH_CHECK_TIMEOUT | No | Health check timeout in milliseconds | 10000 |
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 is the recommended method for passphrase-protected keys:
# Check if agent is running
ssh-add -l
ssh-add ~/.ssh/id_ed25519
SSH_AUTH_SOCK environment variable to the MCP serverThe server will automatically use the agent for authentication, and your passphrase-protected key stays secure in the agent.
ssh-add$SSH_AUTH_SOCKssh2 libraryThis is more secure than:
Execute a command on the remote server.
Parameters:
command (required): Shell command to executecwd (optional): Working directorytimeout (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:
SSH_COMMAND_TIMEOUT environment variabletimeout parameter for specific commandsExample:
{
"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
Upload a file to the remote server via SFTP.
Parameters:
localPath (required): Absolute path to local fileremotePath (required): Destination path on serverDownload a file from the remote server via SFTP.
Parameters:
remotePath (required): Path on remote serverlocalPath (required): Local destination pathList directory contents on the remote server.
Parameters:
path (required): Directory path to listReturns: JSON array with filename, type, size, permissions, modified time
Get information about the configured SSH connection.
Returns: JSON with host, port, username, and authentication details
# Install dependencies
npm run install-all
npm run build
npm run dev
npm test npm run test:integration
MIT