Add python-ssh-mcp package #15

Merged
luis merged 2 commits from add-python-ssh-mcp into main 2026-09-30 09:07:54 +02:00
Collaborator

Adds a Nix derivation for Nightreaver/python-ssh-mcp v1.5.2 (GPL-3.0), an
SSH MCP server for multi-host systemd/journalctl administration.

Packaging notes:

  • Built against python313Packages: upstream declares
    requires-python = ">=3.11,<3.14", which excludes nixos-unstable's default
    python3 (3.14.7).
  • pydocket is a direct dependency because fastmcp[tasks] is an import-time
    hard dependency (from fastmcp.server.tasks import TaskConfig in
    ssh_mcp/tools/exec_tools.py). nixpkgs' fastmcp installs optional extras
    as passthru only, so without it the server crashes at startup.
  • unidiff 0.7.5 is vendored from PyPI: nixpkgs carries 1.0.0 while upstream
    pins >=0.7.5,<0.8.0, and the runtime-dependency check enforces the
    specifier.

Verified: builds clean; import ssh_mcp + fastmcp.server.tasks succeed; an
MCP initialize/tools/list handshake reports serverInfo ssh-mcp 1.5.2
and, with SSH_ENABLED_GROUPS=host,systemctl, 19 read-only tools.

Adds a Nix derivation for Nightreaver/python-ssh-mcp v1.5.2 (GPL-3.0), an SSH MCP server for multi-host systemd/journalctl administration. Packaging notes: - Built against `python313Packages`: upstream declares `requires-python = ">=3.11,<3.14"`, which excludes nixos-unstable's default `python3` (3.14.7). - `pydocket` is a direct dependency because `fastmcp[tasks]` is an import-time hard dependency (`from fastmcp.server.tasks import TaskConfig` in `ssh_mcp/tools/exec_tools.py`). nixpkgs' `fastmcp` installs optional extras as passthru only, so without it the server crashes at startup. - `unidiff` 0.7.5 is vendored from PyPI: nixpkgs carries 1.0.0 while upstream pins `>=0.7.5,<0.8.0`, and the runtime-dependency check enforces the specifier. Verified: builds clean; `import ssh_mcp` + `fastmcp.server.tasks` succeed; an MCP `initialize`/`tools/list` handshake reports serverInfo `ssh-mcp 1.5.2` and, with `SSH_ENABLED_GROUPS=host,systemctl`, 19 read-only tools.
hermes-agent added 2 commits 2026-09-30 09:04:25 +02:00
Register python-ssh-mcp in package aggregator
NixOS Configuration CI / Nix Flake Check (pull_request) Successful in 14s
a525c2a1d0
luis merged commit 42206f8328 into main 2026-09-30 09:07:54 +02:00
luis deleted branch add-python-ssh-mcp 2026-09-30 09:07:54 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: luis/mcp-servers#15