Hop logo

Hop

by danmartuszewski

Manage SSH connection records, groups, history, target resolution, and generated SSH commands through MCP.

Install Hop

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for danmartuszewski/hop, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

The danmartuszewski/hop MCP server exposes hop’s SSH connection inventory and command-building functions to compatible AI clients. It reads hop’s local configuration, allowing agents to list, search, inspect, and resolve saved connections, groups, and usage history. The server also previews target matching and generates complete SSH command strings. Reach for it when an agent needs structured access to an existing hop-managed SSH setup without manually searching configuration files.

Use cases

  • List production connections by environment and tag
  • Search saved hosts with fuzzy matching
  • Resolve a target pattern before connecting
  • Generate an SSH command from a saved connection
  • Review recent connection usage history

Key features

  • Filtered SSH connection listing
  • Fuzzy connection search
  • Target pattern resolution
  • Named group discovery
  • Connection history lookup
  • SSH command generation

Tools7

What Hop lets your agent do. Expand a tool for its parameters.

Self-reported~83 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

9/9 checks healthy over the last 79d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars64Stargazers on the source repository.
Last commit3d agoMost recent push to the default branch.
Tools exposed7Callable tools this server registers over MCP.
Directory activity1 upvotesConfig copies, upvotes, and views on AllMCPs.

How Hop works

What danmartuszewski/hop MCP server does

The danmartuszewski/hop MCP server connects an MCP client to hop, a local SSH connection manager with a terminal dashboard. Its MCP interface focuses on discovering and inspecting saved connection data and preparing SSH commands from that data. This is useful when an agent needs to identify a host by project, environment, tag, group, or fuzzy search rather than relying on a user to remember a full hostname.

The available tools include:

  • list_connections for listing saved connections with project, environment, or tag filters.
  • search_connections for fuzzy matching across the connection inventory.
  • get_connection for retrieving one connection’s details.
  • resolve_target for previewing how a target pattern maps to connections.
  • list_groups for showing named groups.
  • get_history for reviewing connection usage history.
  • build_ssh_command for producing the full SSH command string for a connection.

How it works

The MCP process is started through hop’s mcp subcommand and is intended to run locally. Hop stores its configuration at ~/.config/hop/config.yaml. That file can contain connection IDs, hosts, users, ports, identity files, projects, environments, tags, groups, proxy jump settings, agent forwarding, Mosh preferences, and remote landing directories. The MCP tools use this hop-managed connection data for lookup and command construction.

The danmartuszewski/hop MCP server does not require a hosted account or a separate API service in the provided setup instructions. SSH access still depends on the local SSH configuration, keys, agents, network access, and remote host permissions configured for the selected connection.

Setup and configuration

Install hop through Homebrew, Go, or from source. The README gives these supported installation paths:

  • brew install danmartuszewski/tap/hop
  • go install github.com/danmartuszewski/hop/cmd/hop@latest
  • Clone the repository and build it with make build.

Register the local MCP process with a client using the command hop mcp. Claude Desktop, Cursor, and Windsurf use an MCP configuration entry with hop as the command and mcp as its argument. Claude Code and Codex CLI have their own mcp add commands described in the README.

Existing servers can be seeded from ~/.ssh/config with hop import. The README recommends previewing imports with hop import --dry-run before applying them with hop import --yes. Hop reads the SSH configuration through this import workflow and does not modify ~/.ssh/config.

Limitations and notes

The listed MCP tools cover connection discovery, metadata lookup, target resolution, history, group listing, and SSH command generation.

SSH identity files and connection settings may grant access to sensitive systems. The README specifically warns that enabling agent forwarding exposes SSH keys to users with root access on the remote server. Use proxy jumps instead when a bastion is sufficient. Mosh support requires both a local mosh-client and a remote mosh-server; multi-host hop exec uses SSH rather than Mosh.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Hop

Install hop with Homebrew, Go, or from source, then register the local `hop mcp` command with the MCP client.

Yes. The README provides a Claude Desktop MCP configuration using `hop` as the command and `mcp` as its argument.

Hop uses `~/.config/hop/config.yaml` for its connection and group configuration.

Yes. Run `hop import --dry-run` to preview an import from `~/.ssh/config`, then use `hop import --yes` to apply it.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHop AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/danmartuszewski-hop?style=directory)](https://allmcps.com/mcp/danmartuszewski-hop)
HTML Embed
<a href="https://allmcps.com/mcp/danmartuszewski-hop"><img src="https://allmcps.com/api/badge/danmartuszewski-hop?style=directory" alt="Hop on AllMCPs" /></a>