inventory_host
SSH into a remote host and inventory installed packages. Supports custom hostname, port, user, and identity file overrides.
Instructions
SSH into host and inventory installed packages.
Auth uses ~/.ssh/config, an SSH agent, and default identity files - the
same as running `ssh host` yourself. No password argument is accepted:
credentials must never flow through MCP tool-call arguments. Unknown
host keys are rejected unless trust_unknown_host=True; prefer connecting
with `ssh host` once yourself to pin the key instead.
`hostname`/`identity_file` override the resolved address and key path
without editing ~/.ssh/config - handy for e.g. a local molecule/vagrant
instance. Only a path is passed, never key contents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | No | ||
| user | No | ||
| hostname | No | ||
| identity_file | No | ||
| trust_unknown_host | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||