DH

danmartuszewski/hop

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

64 stars 5 forks 品質 80 トレンド 34MIT

TUIダッシュボードとMCPサーバーを備えた高速でエレガントなSSH接続マネージャ

概要

長い SSH コマンドの入力を停止します。 試してみませんか? クロードコード、コーデックス、カーソル、または別のコーディングエージェントを使用する? 下のブロックをエージェントに貼り付け、マシンの右インストールパスを選択し、ホップのMCPサーバーを登録し、インストールを確認します。 - - - ホップは、app-server-prod-03に接続するようにprod - - キーボードまたはマウスで接続をブラウズ、追加、編集、削除 - - すでに〜/.ssh/configにサーバーを持っていますか? 1つのコマンドでそれらをインポート - - 共有またはバックアップのためにYAMLにフィルタリングされた接続をエクスポート - - - 一度に複数のサーバー間でコマンドを実行 - プロジェクト、環境、またはカスタムタグで整理 - - bastionサーバー用のプロキシジャンプサポート - 接続上の事前定義の作業ディレクトリにまっすぐにドロップ - AIアシスタントがサーバーを管理してみましょう - 検索接続、コマンドを実行し、プロジェクト全体でステータスをチェック - SSHの代わりにmoshを使用してローミングと信頼性のない接続 - バイナリはどこでも動作します Raycastから直接接続を開始.

概要(AI 翻訳)

ホップ

長い SSH コマンドの入力を停止します。 試してみませんか?

なぜホップ?

インストール

Homebrew (macOS/Linux)

行く

ソースから

##AIエージェントでインストールする

クロードコード、コーデックス、カーソル、または別のコーディングエージェントを使用する? 下のブロックをエージェントに貼り付け、マシンの右インストールパスを選択し、ホップのMCPサーバーを登録し、インストールを確認します。

##特徴

-Fuzzy match - [[hop prod]]] を [app-server-prod-03 に接続するためのタイプ

  • TUIダッシュボード - キーボードまたはマウスで接続をブラウズ、追加、編集、削除
  • SSH config import - [[~/.ssh/config] にサーバーが既にあるか? 1つのコマンドでそれらをインポートする -Export - 共有またはバックアップ用のYAMLにフィルタリングされた接続をエクスポート -Multi-exec - 一度に複数のサーバー間でコマンドを実行 -グループとタグ - プロジェクト、環境、またはカスタムタグで整理
  • Jump hosts - bastionサーバーのProxyJumpサポート -Landingディレクトリ - 接続先の既定の作業ディレクトリにまっすぐドロップ -MCP サーバー - AI アシスタントがサーバーを管理できるように — 接続の検索、コマンドの実行、プロジェクト全体のステータスの確認

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

hop

Stop typing long SSH commands. Just hop prod and you’re in.

Why hop?

# Before: remembering and typing this every time
ssh -i ~/.ssh/work_key [email protected] -p 2222

# After
hop prod
hop prod                         # fuzzy match any server
hop exec production "uptime"     # run command on all prod servers
hop import                       # import your existing ~/.ssh/config
hop                              # launch the TUI, manage everything

Install

Homebrew (macOS/Linux)

brew install danmartuszewski/tap/hop

Go

go install github.com/danmartuszewski/hop/cmd/hop@latest

From source

git clone https://github.com/danmartuszewski/hop.git && cd hop && make build
./bin/hop

Install with an AI agent

Using Claude Code, Codex, Cursor, or another coding agent? Paste the block below into your agent and it will pick the right install path for your machine, register hop’s MCP server, and verify the install.

Install hop on this machine and register its MCP server. Do the steps in order;
stop and report on the first failure.

1. Pick ONE install method, in this priority:
   a. Homebrew (macOS or Linux):
        brew install danmartuszewski/tap/hop
   b. Go 1.26+ available:
        go install github.com/danmartuszewski/hop/cmd/hop@latest
   c. From source (no brew, no Go on PATH):
        git clone https://github.com/danmartuszewski/hop.git && cd hop && make install

2. Verify the binary is on PATH:
        hop version

3. Register the MCP server with whichever agent the user is running. Skip
   clients the user does not use:
   - Claude Code:  claude mcp add hop -- hop mcp
   - Codex CLI:    codex mcp add hop -- hop mcp
   - Claude Desktop / Cursor / Windsurf — add to the client's MCP config:
        { "hop": { "command": "hop", "args": ["mcp"] } }

4. (Optional) Seed the config from the user's existing SSH config. Preview
   first; --yes is required for a non-interactive run:
        hop import --dry-run
        hop import --yes

5. Confirm hop's MCP tools are reachable from the agent (e.g. list_connections).

Constraints:
- Do NOT run bare `hop` — it launches an interactive TUI and will hang a
  non-interactive session. Use subcommands (`hop version`, `hop list`, …).
- Do NOT modify ~/.ssh/config. hop reads it via `hop import` only.
- Do NOT commit secrets or identity files.

After step 3, restart the agent so it picks up the new MCP server.

Features

  • Fuzzy matching - Type hop prod to connect to app-server-prod-03
  • TUI dashboard - Browse, add, edit, delete connections with keyboard or mouse
  • SSH config import - Already have servers in ~/.ssh/config? Import them in one command
GitHub で README 全文を見る

インストール

docker run -it --rm hop
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "hop": { "command": "hop", "args": ["mcp"] } } }