htb-hosts

sresarehumantoo/htb-hosts
★ 0 stars Python Code/Dev Tools Updated 1d ago
Sudo-free, cleanable /etc/hosts management for Hack The Box — a CLI + zero-dependency MCP server with box-name tagging, fuzzy cleanup, and backup/restore.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "htb-hosts": {
      "command": "uvx",
      "args": [
        "htb-hosts"
      ]
    }
  }
}

Or install with pip: pip install htb-hosts

README Excerpt

**Sudo-free, cleanable `/etc/hosts` management for Hack The Box (and any lab work).** Doing HTB, pentests, or CTFs means constantly adding `IP → hostname` lines to `/etc/hosts` — then hunting them down to clean up later. `htb-hosts` keeps every entry it manages inside one delimited block, grants you passwordless write access

Tools (6)

HTB_HOSTS_BACKUP_DIRHTB_HOSTS_FILEHTB_HOSTS_KEEPdoctormigrateretag

Topics

claude-codeclictfetc-hostshacktheboxhosts-filehtbmcpmcp-servermodel-context-protocolpentestingpython