HostsKeeper
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
HostsKeeper
Local credential vault + human-gated SSH tabs for MCP/AI — not a generic remote desktop.
HostsKeeper keeps host credentials and shell scripts on your Windows PC. You open SSH sessions in tabs. An AI client (e.g. Cursor) attaches only to tabs you enable for MCP — it never opens SSH itself and never receives passwords, keys, or host addresses.
For | Ops / SRE / admins who use Cursor (or another MCP client) against real servers, but want secrets and connect decisions to stay human-side |
Not for | Replacing Termius/mRemoteNG as a general-purpose remote manager, or unattended bot SSH into production |
How it works
Unlock a local encrypted vault (hosts, addresses, credentials, scripts).
Open an SSH Tab yourself (or launch installed PuTTY / WinSCP).
Turn MCP on for that tab; once: toolbar Copy MCP config → paste into Cursor
mcp.json.The model uses
session_list→session_attach(alias=…), then read / subscribe. Approve (off by default) is required for write / script run.
Secrets and IPs stay out of MCP payloads. Human and AI share one PTY per tab:
Approve off (default): the model may still read / subscribe to the terminal scrollback; it cannot
session_writeorscripts_run.Approve on: the model may write; every command it sends appears in the same tab you see — there is no hidden side channel.
Related MCP server: termmirror
MCP over HTTP (not just local stdio)
HostsKeeper exposes MCP primarily as an HTTP endpoint with a stable app key (toolbar Copy MCP config → http://<safe-host>:8765/mcp?key=…). That is wider than a typical stdio MCP server glued to one local IDE process:
The AI client can run on the same PC (
127.0.0.1) or on another machine that can reach the vault PC.Credentials and SSH stay on the safe host; the client only sees enabled tabs (and scripts) under your MCP rules.
Trusted network only. Intended for LAN or a VPN / tunnel you operate yourself (VPN setup is out of scope for this project). Do not expose the MCP port to the open internet without such a tunnel. stdio remains available as a same-machine alternative (no URL/key).
Download
Windows single-file build: Releases (HostsKeeper.exe).
SmartScreen may warn — the binary is unsigned. Optional: install PuTTY / WinSCP for external launchers.
Development
Windows, Python ≥ 3.11:
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -e ".[dev]"
python -m hostskeeper --version
pytest
python -m hostskeeperBuild exe: .\scripts\build_exe.ps1 → dist\HostsKeeper.exe (see doc/dev-setup.md).
Optional live SSH tests: set HOSTSKEEPER_TEST_SSH_KEY (and host/user if needed). Never commit vaults, keys, or .env.
Docs
Full index: doc/README.md
License
MIT. Third-party notices: NOTICE.
HostsKeeper is not affiliated with PuTTY, WinSCP, or other products named in the UI or docs. Those tools are optional externals you install yourself; they are not redistributed here.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote shell and detached long-running jobs on your own machines — no SSH, open ports or VPN.
Scoped, audited SSH exec, sessions, and SFTP on your saved servers without exposing credentials
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Give your AI hands on every computer you own. Remote control of your Windows, Mac and Linux machines from one ChatGPT, Claude or Cursor chat — even from your phone. Ask it to find out why the office server is crawling, update every PC in the house, sort out your mom's laptop from another city, or ship the site from your work machine while you're on a train. It runs commands, reads files and takes a screenshot when it needs to see the screen. You decide what each computer allows, and you can cut any of them off in a second.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to have persistent, fully interactive SSH sessions into remote hosts, behaving like a local terminal.15 npm2MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to drive real interactive terminal sessions—PTYs, TUIs, REPLs, SSH, even another agent's CLI—with a live web view where humans can watch and type in.11 npm2MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to remotely execute shell commands and transfer files on SSH hosts, including jump-host tunneling, background tasks, resumable transfers, and optional approval of destructive commands, while SSH credentials remain in the local process. It runs over stdio or a streamable HTTP daemon and supports auditing, allow/deny lists, and multiple authentication methods.ISC
- AlicenseNot gradedqualityBmaintenanceEnables external local AI agents to connect to VPS hosts, type into and read back from live SSH terminals, run commands, and trigger high-level plan-execute agent tasks over stdio or Streamable HTTP. Every write goes through a danger-command risk engine with configurable approval policies, capability toggles, and audited mcp provenance.10 npmMIT