原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Cygnus Ssh MCP

作者:cygnussystems版本 1.5.1i★ –i在你的电脑上运行
注册名称io.github.cygnussystems/cygnus-ssh-mcp

安装

概览

作者提供的说明(英文原文)

SSH-based MCP control of remote Linux, macOS, and Windows servers -- 46 purpose-built tools.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "cygnus-ssh": {
      "command": "uvx",
      "args": [
        "cygnus-ssh-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add cygnus-ssh -- uvx cygnus-ssh-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "cygnus-ssh": {
      "command": "uvx",
      "args": [
        "cygnus-ssh-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "cygnus-ssh": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cygnus-ssh-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 cygnussystems 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4920 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4920 个服务器的 27% 更新
  • 基础检查结果等于或优于此分类中其他 4920 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Cygnus Ssh MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.5.1)于4个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT17天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

cygnus-ssh-mcp

Cross-platform SSH MCP server with 46 purpose-built tools for real server management by AI agents

*Give Claude, OpenCode, or any MCP-compatible AI assistant full control of your Linux, macOS, and Windows servers with 46 specialized tools*

Prerequisites · Installation · Quick Start · Features · Documentation


[!TIP]

A note from the author: I've been running this daily since April 2025 — over a

year now — to manage a dozen+ machines and devices, plus a Proxmox host running

30+ containers, across a network tied together with Tailscale. It started as a

tool to solve my own problem, and it's saved me a huge amount of manual work ever

since. After a year of running it against Linux, I've since added support for

Windows, macOS, and other devices with reduced shells like BusyBox. I'm

open-sourcing it now because I think anyone running real infrastructure will find

it just as useful. This is a young *public* repo, but the tool behind it isn't new

or unproven — it's been battle-tested against my own servers for over a year.

If you find it useful, a ⭐ star or a mention to someone who manages their own

infrastructure goes a long way for a project this new — thank you!


Why cygnus-ssh-mcp?

cygnus-ssh-mcp is an MCP server - usable from Claude Desktop, Claude Code, OpenCode, or any other MCP-compatible client - that connects your AI assistant directly to your remote servers over SSH, exposing 46 purpose-built tools instead of one generic command-runner. It turns natural-language requests into real systems administration - connecting by alias, editing files, managing background processes, handling sudo - across Linux, macOS, and Windows targets alike.

Doing that properly means solving a pile of genuinely hard, per-platform problems that a naive ssh wrapper never has to face - and that this project hit and fixed the hard way, including:

  • Getting a *real* PID back from a Windows target, instead of a meaningless local channel number
  • Recovering the actual exit code when Win32-OpenSSH silently flattens it to 1
  • Reading file contents via SFTP instead of Get-Content, because PowerShell's console encodes stdout in its OEM code page and corrupts anything non-ASCII
  • Killing a sudo'd background process without leaving its privileged child orphaned or blindly firing SIGKILL at the wrong PID

None of this shows up until you actually run these tools against real Linux, macOS, and Windows targets under real conditions - which is exactly how every one of these was found and fixed here, not guessed at from documentation.

What you getBasic SSH MCPcygnus-ssh-mcp
Run commands✅✅
Pre-configured hosts with aliases❌✅
Sudo support (Linux/macOS)Limited✅
Windows Server support❌✅
Background task management❌✅
Line-level file editing❌✅
Command history with output❌✅
Recursive directory operations❌✅
Archive create/extract❌✅
Full Unicode supportVaries✅

Beyond Linux, macOS, and Windows, cygnus-ssh-mcp can also reach further - routers, NAS boxes, and other non-standard SSH targets connect too, via a flex platform type and a capability probe that detects what each device's shell can actually do. See Connecting to Alternate Platforms below.

[!WARNING]

Alternate-platform (`flex`) support is a work in progress. It's been

verified against several real devices, but the space of routers/NAS/embedded

systems is huge - expect rough edges on hardware that hasn't been tried yet.

Example agent tasks

Ask your MCP-capable agent to:

  • "Check disk space, memory, uptime, and recent logs on my web host."
  • "Patch this remote config file safely and show me the diff."
  • "Upload this build artifact, extract it, and restart the service."
  • "Start this command in the background and fetch the output later."
  • "Inspect running processes on my Windows SSH host."

Prerequisites: SSH on Your Target Servers

cygnus-ssh-mcp connects over standard SSH - it doesn't provide SSH itself, so each server you want to manage needs an SSH server already installed and running.

Linux - usually pre-installed on server distros; if not:

sudo apt install openssh-server   # Debian/Ubuntu

sudo systemctl enable --now ssh

macOS - enable Remote Login in System Preferences → Sharing, or from the terminal:

sudo systemsetup -setremotelogin on

Windows (Server 2019+, or Windows 10/11) - OpenSSH Server is an optional feature:

Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0

Start-Service sshd Set-Service -Name sshd -StartupType 'Automatic'

See [Windows Support](docs/25-windows-support.md) for Windows Server 2016 and other edge cases.

Installation

Pick one of the two options below - they're independent tools that don't share storage, so commands from one won't see or affect what the other did.

Option A: pip (a persistent install)
pip install cygnus-ssh-mcp

Uninstalling or upgrading:

pip uninstall cygnus-ssh-mcp

pip install --upgrade cygnus-ssh-mcp

Option B: uvx (no install at all)

[!NOTE]

What's `uvx`? It's part of uv (a fast Python

package manager) - uvx downloads a package into a disposable,

isolated cache and runs it immediately, without installing it into your system

Python, a project, or anywhere pip can see. Nothing lingers afterward for you

to manage. It's the easiest option if you just want your MCP client to launch

this server without thinking about Python environments at all.

uvx cygnus-ssh-mcp

There's nothing to "uninstall" - uvx re-resolves and re-fetches the latest version on every run anyway. To force a fresh fetch or clear its cache instead:

uvx --refresh cygnus-ssh-mcp   # force this run to ignore the cache

uv cache clean # clear uv's entire package cache

If you want a uvx-style setup that *does* persist (so it doesn't re-fetch every time) and can be upgraded deliberately, use uv tool install cygnus-ssh-mcp instead - manage that with uv tool uninstall cygnus-ssh-mcp / uv tool upgrade cygnus-ssh-mcp. This is still separate from pip (Option A) - don't mix pip commands with anything set up via uv/uvx, they can't see each other.


Quick Start

1. Add your hosts

You don't need to create anything by hand - the first time the server starts, it automatically creates an empty host config file at ~/.mcp_ssh_hosts.toml (secure 0o600 permissions) if nothing is there yet. Just open that file (or use ssh_conn_add_host from within your AI assistant) and add entries like:

# Minimal (password auth) - only required fields

["user@server.example.com"] password = "your_password" port = 22

With alias and sudo (most common setup)

["admin@production.example.com"] password = "your_password" port = 22 sudo_password = "sudo_pass" # optional: for use_sudo operations alias = "prod" # optional: connect by alias description = "Production server" # optional: for documentation

SSH key authentication

["deploy@staging.example.com"] keyfile = "~/.ssh/id_ed25519" port = 22 alias = "staging"

Windows Server (requires OpenSSH)

["administrator@winserver.example.com"] password = "your_password" port = 22 alias = "win-prod"

Required fields: port + (password OR keyfile) Optional fields: alias, description, sudo_password, key_passphrase

sudo_password is optional if your account uses password auth - when omitted, the regular password is reused for use_sudo operations too. It's only required if your sudo password differs from your login password, or if you're using SSH key auth (keyfile) with no password field at all - in that case, either set sudo_password explicitly or configure passwordless sudo on the server.

[!TIP]

Host file locations: Default is ~/.mcp_ssh_hosts.toml. Falls back to ./mcp_ssh_hosts.toml if not found.

Use --config /path/to/hosts.toml for a custom location. If a file already exists

at whichever path is used, it is never overwritten or reset - auto-creation

only ever happens when nothing is there yet.

[!WARNING]

Watch for hidden file extensions. If you create this file yourself in Notepad

or TextEdit, Windows and macOS both hide known extensions by default - a file you

named mcp_ssh_hosts.toml can silently actually be saved as

mcp_ssh_hosts.toml.txt, and the server will never find it. Turn on "show file

extensions" in Explorer/Finder, or verify from a terminal:

ls -la ~/.mcp_ssh_hosts.toml* (macOS/Linux) or

dir %USERPROFILE%\.mcp_ssh_hosts.toml* (Windows) - either should show exactly

one file, with no extra extension after .toml.

2. Add to your MCP client

Most MCP clients (Claude Desktop, Claude Code, OpenCode, Cursor, Cline, Windsurf, and others) use the same mcpServers JSON shape shown below - only the config file's name and location differ per client. Claude Desktop is used as the concrete example here; see the Claude Code note further down for one client that differs, or check your own client's docs for its config file's path.

[!WARNING]

**Python must be on PATH for "command": "cygnus-ssh-mcp" (below) to work at

all.** This is the most common reason an MCP client fails to start the server

(or the tool list never appears) - and with Python often installed in several

different places on one machine, it's easy to hit. Check first with:

`bash

python --version # Windows/macOS/Linux

python3 --version # macOS/Linux, if the above isn't found

`

If that fails with "not recognized"/"command not found", Python isn't on PATH -

fix that first (reinstall Python with "Add to PATH" checked on Windows, or add it

to your shell profile), or work around it entirely by finding the full path to

the installed executable instead: where cygnus-ssh-mcp (Windows) or

which cygnus-ssh-mcp (macOS/Linux), then use that directly as command:

`json

{

"mcpServers": {

"ssh": {

"command": "C:\\Users\\yourname\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\cygnus-ssh-mcp.exe",

"args": ["--config", "C:\\Users\\yourname\\.mcp_ssh_hosts.toml"]

}

}

}

`

For Claude Desktop, edit claude_desktop_config.json:

{

"mcpServers": { "ssh": { "command": "cygnus-ssh-mcp" } } }

Or with a custom hosts file location:

{

"mcpServers": { "ssh": { "command": "cygnus-ssh-mcp", "args": ["--config", "/path/to/my_hosts.toml"] } } }

On Windows, use an absolute path with escaped backslashes (JSON needs \\, not a single \):

{

"mcpServers": { "ssh": { "command": "cygnus-ssh-mcp", "args": ["--config", "C:\\Users\\yourname\\.mcp_ssh_hosts.toml"] } } }

Using [Claude Code](https://claude.com/claude-code) instead of Claude Desktop? It reads its ow

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx