List allowed SSH Host aliases
ssh_hostsDiscover allowed SSH host aliases from ssh_config with safe metadata (alias, hostname, user, port, proxy_jump). Optionally reload config to refresh list.
Instructions
List allowed OpenSSH Host aliases discovered from the local ssh_config (and explicit allowlist). Returns only safe connection metadata: alias, hostname, user, port, proxy_jump. Never returns private keys, IdentityFile paths, agent sockets, or ProxyCommand. Pass reload=true after editing ~/.ssh/config to re-parse without restarting the MCP server. Use an alias from this list with ssh_open.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ssh_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reload | No |