SSH MCP Server vs Git

A side-by-side look at the SSH MCP Server and Git MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

SSH MCP Server logoSSH MCP ServerCommand Line · Local subprocess (stdio)Modern SSH for AI agents — cloud servers to BusyBox routers, with destructive commands blocked.64GoodAuth: not declaredGit logoGitVersion Control · Local subprocess (stdio)Tools to read, search, and manipulate Git repositories.81ExcellentAuth: no auth required

Verdict: choose SSH MCP Server for command line work as a local process; choose Git for version control as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

SSH MCP Server logoChoose SSH MCP Server when

  • You need dedicated capabilities in the Command Line domain.
  • You prefer a local stdio subprocess transport.
  • You have the keys it needs: SSH_PROFILES_FILE.
  • You want tools like ssh_exec, ssh_file_read, ssh_file_write.
Explore SSH MCP Server

Git logoChoose Git when

  • You need dedicated capabilities in the Version Control domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: No auth required.
  • You want tools like repo_path, context_lines, target.
Explore Git

Feature & specification comparison

Rows where the two servers differ are marked.

SpecSSH MCP Server logoSSH MCP ServerGit logoGit
CategoryCommand LineVersion Control
Quality signal64/100 · Good81/100 · Excellent
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNo auth required
PricingNot declaredFree
Required env varsSSH_PROFILES_FILENone listed
Verified ownerCommunity listing Verified
GitHub stars691,540
Directory activity 6 views 0 installs 0 upvotes 51 views 0 installs 0 upvotes
Tools1816

Tools & capabilities

SSH MCP Server tools 18

  • ssh_execRuns one command or a list of them on a server, each with its own exit code, stdout and stderr. Work measured in minutes belongs in detach, not in a longer timeout. Reach for it last — files, logs, transfers, health and jobs each have a tool that batches the round trips and parses the answer.
  • ssh_file_readReads text files from a server, several of them in one call. A file it could not read is named with the reason, never returned empty or cut short as if that were the content. To look for something inside logs rather than read them, ssh_log_search greps on the server.
  • ssh_file_writeWrites text files on a server, several in one call, each with its own path, permissions, owner and sudo. A file is replaced whole and never appears half-written; there is no append. For something that already exists on this machine, use ssh_upload.
  • ssh_file_listLists a directory on a server: every entry with its size, mode, owner and modification time, as fields. A directory it was not allowed to enter is named rather than left out, and a listing cut short by the output limit says so. To see what is inside a file, use ssh_file_read.
  • ssh_job_statusReports the state of a detached job, with the last lines it wrote so you can see where it got to. lost means no exit code was left behind, not that the work failed — ssh_job_output still has the output.
  • ssh_job_outputReturns what a detached job has written so far, stdout and stderr together, from a byte offset you choose. For whether the job is still running rather than what it printed, ssh_job_status answers in one line.
  • ssh_job_listLists the detached jobs on a machine with their state, jobs started with sudo included — for when an id was not kept. Ids and states only; for what a job printed, use ssh_job_output.
  • ssh_job_killStops a detached job and everything it started — the signal reaches the whole process group. A job that had already finished is reported as gone, not as a refusal.
  • ssh_log_tailReturns the last lines of one or more log files, whatever their size — nothing is shipped here to be trimmed locally. A container is read by name instead of by path, through the file its driver writes. To look for something rather than read the end, use ssh_log_search.
  • ssh_log_searchGreps log files on the server and returns the matching lines with their paths, or the paths alone when line bodies are not wanted. An empty answer means no match, never a failed search — files that could not be read are listed apart. For the tail of a file rather than a search through it, ssh_log_tail is cheaper. A container is searched by name instead of by path.
  • ssh_snapshotReports how a machine is doing right now: cpu, memory, disk, containers, listening ports, services and recent errors, in one round trip. Whatever could not be measured comes back null and marked unavailable, never as a zero that reads like an idle machine. For how the machine is set up rather than how it is running, use ssh_audit_baseline.
  • ssh_monitorLooks after the SSH connections themselves, not the machines behind them: lists the configured profiles, tests one, reports pool statistics, closes a connection or reloads the profile file. Start here on a machine you have not used yet — test names the state before anything else runs.
  • +6 more on the listing page

Git tools 16

  • repo_path
  • context_lines
  • target
  • message
  • MERGE_HEAD
  • HEAD
  • files
  • max_count
  • start_timestamp
  • end_timestamp
  • branch_name
  • base_branch
  • +4 more on the listing page

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

SSH MCP Server

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "ssh-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hypnosis/ssh-mcp-server"
      ],
      "env": {
        "SSH_PROFILES_FILE": "YOUR_SSH_PROFILES_FILE_HERE"
      }
    }
  }
}

Git

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": [
        "installations"
      ]
    }
  }
}

Frequently asked questions

SSH MCP Server is categorized under Command Line and uses a local stdio subprocess. Git belongs to Version Control and uses a local stdio subprocess. Pick SSH MCP Server for command line work and Git for version control.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

SSH MCP Server has no declared pricing — check the project's own site. Git is listed as free. Auth: no auth required. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add ssh-mcp-server and git as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, SSH MCP Server has a quality signal of 64/100 (Good) with 6 views, 0 installs and 6 GitHub stars. Git has 81/100 (Excellent) with 51 views, 0 installs and 91,540 GitHub stars.