43
/ 100
1 day ago
glama

htb-hosts

Enables sudo-free management of /etc/hosts entries for Hack The Box and lab work, with a zero-dependency MCP server for AI coding agents.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configHTB_HOSTS_FILE/etc/hosts Target hosts file (handy for testing)
configHTB_HOSTS_BACKUP_DIR~/.local/state/htb-hosts Where snapshots are stored
configHTB_HOSTS_KEEP(empty) Comma-separated domain substrings to keep outside the block on migrate (e.g. a homelab domain: HTB_HOSTS_KEEP=corp.lan,homelab.internal)
configLOGNAME
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 1 concrete improvement we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/sresarehumantoo-htb-hosts-aqxmm8)](https://m8ven.ai/mcp/sresarehumantoo-htb-hosts-aqxmm8)
commit: c6fc16dc0b41216f2a24bb8c62f6b5632870c1f0
code hash: de82a71411b2dd4b8b852584e0be76cbbf68c40cf10b76236b92cd6a48a4d38f
verified: 7/12/2026, 8:37:13 AM
view raw JSON →