list_hosts
Lists every SSH host registered in the current workspace that MCP agents can see, including access status. Use it first to find a hostId before requesting access and opening a session.
Instructions
Start here to run anything on a remote server over SSH. Lists every host registered in this client's workspace that is visible to MCP agents (a host owner can hide any host from agents entirely; hidden hosts never appear here). Returns {"workspace": {"id", "name"}, "hosts": [...]}. IMPORTANT: this token is bound to ONE workspace for its whole life, named in "workspace" — switching workspaces in the ShellVibe window does not change what this tool returns, and hosts saved in another workspace are never listed here. If the user asks for a host that is missing, tell them which workspace you can see and that the host may live in a different one, which this connection cannot see. For each host this reports its maxMode (the most any grant there can allow), whether the caller currently has access ("granted"/"none") and, if granted, the access mode. The hostId returned here is the ONLY handle any MCP tool ever gives you on a host: hostname, port, username, and credentials are never returned by this or any other tool. To act on a host, request access with request_host_access, then open_session with its hostId.
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": "list_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||